Commit Graph

999 Commits

Author SHA1 Message Date
1ilit
4c792d3eed Change html-to-image to version 1.11.11 (#562) 2025-08-25 21:43:01 +04:00
1ilit
da7ccee51c Diagram versioning (#560)
* clean up sidesheet

* clean up sharing

* add revisions sidesheet

* update getCommits and clean up

* update date localization

* load diagram in read only mode from previous version

* disable input from control panel and popovers

* add restore warning modal

* separate share and versions

* update versions

* finalize versioning implementation, add pagination

* fix package-lock.json

* clear versions cache on flush storgae

* disable menubar items when in read only mode

* disable remaining fields in readonlt

* suppress eslint only-export-components rule

* show loading version progress
2025-08-24 22:06:58 +04:00
1ilit
1eb4e298e9 Allow editing cardinality 'many' label (#559) 2025-08-23 21:47:05 +04:00
1ilit
3eac4c342a Deduce cardinality from fields (#557) 2025-08-23 13:44:08 +04:00
1ilit
d99f77d0de Increase pixel ratio for png export (#556) 2025-08-19 21:03:27 +04:00
1ilit
21a68e9b13 Add more keywords for defaults (#553)
* Add more keywords for defaults

* Add date functions to check default
2025-08-16 16:18:01 +04:00
1ilit
2d7c2c6d30 Fix enum import from postgres (#551) 2025-08-10 13:30:13 +04:00
1ilit
6ade511bbd Fix multiline dbml comment export (#550) 2025-08-09 15:01:31 +04:00
Karen Mkrtumyan
b62471c03f Add ctrl select support (#527)
* Add ctrl select support

* fix the issue with clicking on overlapping objects

* simplify the code, add meta to ctrl for macos

* fix lock unlock with command on macos
2025-08-09 13:22:04 +04:00
Karen Mkrtumyan
0a60bd9bb0 Import diagram fixes (#549) 2025-08-09 00:21:48 +04:00
1ilit
d464fedee4 Upgrade node-sql-parser to v5.3.11 (#548) 2025-08-09 00:00:09 +04:00
Karen Mkrtumyan
2a2c92b913 Fix some cases of dbml export (#544)
* Fix some cases of dbml export

* revert table id logic

* change function quotes to dbml case only
2025-08-07 00:02:21 +04:00
Karen Mkrtumyan
92d4adb142 Update dbml parser (#542) 2025-07-29 22:10:24 +04:00
dependabot[bot]
5fdaa189dc Bump form-data from 4.0.0 to 4.0.4 (#541)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-29 11:52:07 +04:00
1ilit
0e196de261 Fix handleColorChange when no redo action is recorded (#538) 2025-07-23 22:23:51 +04:00
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