984 Commits

Author SHA1 Message Date
1ilit
24d56cc7bf Use unsigned keyword only if type is signed (#528) 2025-07-08 22:12:14 +04:00
Karen Mkrtumyan
a5718f8359 Refactor dragging logic (#523)
* refactor dragging logic

* Remove unnecessary undefined in TableInfo.jsx
2025-07-05 22:37:58 +04:00
Kishan_Singh
47caa29f78 Add support for PostgreSQL "CREATE TABLE INHERITS" (#524)
* feat: add support for PostgreSQL table inheritance in schema export

* fixed the suggested changes in the inheritance feature

* Update src/components/EditorSidePanel/TablesTab/TableField.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* fixed all the comments

* feat: finalize Postgres table inheritance support with fixes and formatting

---------

Co-authored-by: kishansinghifs1 <kishansingh956196@gmai.com>
Co-authored-by: 1ilit <1ilit@proton.me>
2025-07-04 14:57:20 +04:00
Davide Presti
2f23c09854 Add missing translations for Spanish locale (es-ES) - Improve minor mistakes in Italian locale (it-IT) (#522)
* Add a fix for a minor mistake and translate a couple of missing values. (it-IT)

Fixed a minor mistake in the Italian translation:

- `zoom_in: "Ingrandire"`
- `zoom_out: "Rimpicciolire"`

Translated a couple of missing values:

- `snap_to_grid: "Aggancia alla griglia"`
- `show_datatype: "Mostra tipo di dato"`

* Add missing translations and improve existing ones (es-ES)

- Updated translations in `es.js` file to match new additions.
- Fixed some existing Spanish translations.

* Fix parsing error in es.js

Fixed a parsing error that was causing the build to fail.

`245:11  error  Parsing error: Unexpected token :`
2025-07-01 21:16:34 +04:00
Karen Mkrtumyan
e609003b25 Change move to batch move only (#508)
* add notDragging constant

* change move to only bulk move
2025-07-01 17:49:35 +04:00
Davide Presti
550cc78000 Add missing translations and improve existing ones (it-IT) (#520)
- Updated translations in `it.js` file to match new additions.
- Fixed some existing Italian translations.
2025-06-30 21:46:48 +04:00
Tamás Balog
1105d7995b Add new translation entries for Hungarian (#519) 2025-06-29 16:38:57 +04:00
zimiovid
f1d632587b Always use gistId from URL for sharing, prevent duplicate gist creation (#511)
* fix: prevent duplicate gist creation

* feat: change from useEffect to loadFromGist

* Update Workspace.jsx
2025-06-26 13:28:09 +04:00
1ilit
0ba313210a Fix double precision type and color for postgres (#510) 2025-06-24 15:06:35 +04:00
Karen Mkrtumyan
5a5304073e Add onDoubleClick for notes and areas as edit (#503) 2025-06-23 00:26:44 +04:00
1ilit
395ba457bd Fix toDBML for not found fields (#502) 2025-06-23 00:08:55 +04:00
1ilit
aa4d1f4724 Fix defaults when importing from dbml (#501) 2025-06-22 23:27:29 +04:00
1ilit
9fc9d573e9 Fix mysql decimal and dbml enum export (#499)
* Fix decimal and dbml enum export

* Remove map
2025-06-21 21:51:50 +04:00
Karen Mkrtumyan
3cdf908ffd Panning with middle click, persistent bulk selection (#498)
* panning with middle click, persistant bulk selection

* remove unused variables
2025-06-21 19:48:15 +04:00
Karen Mkrtumyan
e56f6409ff Fix ColorPicker undo stack additions (#494)
* Fix ColorPicker undo stack additions

* make custom component ColorPicker
2025-06-20 18:18:06 +04:00
1ilit
3ea88314eb Refactor theming (#497) 2025-06-18 16:08:12 +04:00
1ilit
a62721bc55 Fix mssql export to have types with correct sizes (#496) 2025-06-15 20:24:11 +04:00
1ilit
7ca34d87b0 Fix postgres import when alter expr isnt iterable (#495)
* Fix postgres import when alter expr isnt interable

* Remove hardcoded constants

* Fix type export and import
2025-06-14 18:48:57 +04:00
Karen Mkrtumyan
b974a7d854 Change to square grid which moves when panning, add snap to grid functionality (#492)
* change to square grid which moves when panning, add snap to grid functionality

* change grid back to circles, minor improvments

* add new constants
2025-06-14 00:55:29 +04:00
Kishan_Singh
6ef3d76228 Upgrade node-sql-parser to v5.3.10 (#490) 2025-06-12 20:03:47 +04:00
1ilit
ed01241bd8 Allow panning diagram over locked elements (#489) 2025-06-12 02:08:54 +04:00
1ilit
ba79c05b84 Include field size in mssql export (#488) 2025-06-11 23:47:53 +04:00
Karen Mkrtumyan
34a9b5f297 Fix are fields compatible (#484) 2025-06-08 14:25:01 +04:00
Karen Mkrtumyan
14ee753d47 Remove panning from undo stack (#483) 2025-06-08 00:54:06 +04:00
Karen Mkrtumyan
f85adf0577 Fix fit window, move hardcoded constants to constants.js (#482)
* fix fit window, move hardcoded constants to constants.js

* comment fixes

* change import from utils.js to utils
2025-06-08 00:22:31 +04:00
1ilit
938ad7c01d Lock notes and subject areas (#480) 2025-06-07 22:24:01 +04:00
1ilit
8bbe4da899 Use nanoids when pasting or duplicating a table (#481) 2025-06-07 22:23:12 +04:00
1ilit
ae388291db Fix importing foreign keys from sqlite (#478) 2025-06-05 18:20:19 +04:00
XC
9570df983d Update zh locales & dbmlView switch (#476) 2025-06-04 17:09:34 +04:00
1ilit
5e1c4978bf Support locking tables on canvas (#475)
* Lock tables

* Add lock flag in addTable
2025-06-03 23:10:20 +04:00
Ricardo Diaz
cb06922598 Add Czech Locale (#474) 2025-06-02 12:42:48 +04:00
Karen Mkrtumyan
306a7396d1 Change reset view shortcut to Enter/Return (#470) 2025-05-31 20:54:32 +04:00
1ilit
35de1d408d Remove shortcuts.js (#469) 2025-05-31 20:24:37 +04:00
1ilit
388c7b4fee Fix dropdown menu overflow (#468) 2025-05-29 22:35:47 +04:00
1ilit
f2d60a70e0 Fix invalid field indexes after import (#466)
* Fix invalid field indexes after import

* fix postgres types
2025-05-28 04:18:11 +04:00
moonheart
89d4c29076 Add extended properties for MSSQL table and column comments (#464) 2025-05-27 19:28:41 +04:00
1ilit
0e45b0ede6 Add dbml editor (#465) 2025-05-27 18:09:55 +04:00
1ilit
2b8310910a Fix dbml note quotes (#461) 2025-05-23 14:18:55 +04:00
1ilit
24712230a7 Fix postgres index import (#459) 2025-05-20 23:49:47 +04:00
1ilit
8f9aae14ca Escape quotes in comments and default strings (#452) 2025-05-18 18:23:04 +04:00
Dufeutrel Thibaut
80fb9e5080 Add colors to data types in Popover (details of column) (#450) 2025-05-14 21:26:02 +04:00
1ilit
14da9c0a10 Fix table options import (#449)
* Fix json schemas to allow string ids

* Fix table options import
2025-05-14 13:15:46 +04:00
Dufeutrel Thibaut
b7445e22d1 Add colors to data types (#448)
* Color added to main datatypes

* Add tailwind colors to all data types and display them
2025-05-13 23:34:44 +04:00
1ilit
3e54f2add5 Fix json schemas to allow string ids (#447) 2025-05-12 19:34:25 +04:00
1ilit
f2613139bb Fix ids and relationship names on import (#445) 2025-05-11 22:11:16 +04:00
1ilit
94226de561 Table and field drag and drop ordering (#444)
* Add dnd for tables and fields

* Fix inputs

* Decouple ids and indecies in the editor

* Decouple ids and indecies in utils

* Fix field indexes

* Use nanoid instead of numberic ids for fields and tables

* Fix review comments
2025-05-11 21:44:04 +04:00
Fantong
e35fbde3e7 Add translation for "export saved data" in Traditional Chinese locale (#443) 2025-05-10 21:59:46 +04:00
Vinodh Zamboulingame
f13b80a3ff Update node-sql-parser to version 5.3.9 (#440) 2025-05-06 17:42:08 +04:00
dependabot[bot]
221831a080 Bump vite from 6.2.6 to 6.3.4 (#434)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-02 18:49:52 +04:00
Tamás Balog
bf303224f0 Add Hungarian translation for recently added properties (#433) 2025-05-02 18:49:06 +04:00