johnnyfish
4fdc2ccd91
feat: implement reusable click-outside hook for edit fields
...
- Create custom useClickOutside and useEditClickOutside hooks
- Replace useClickAway with custom hook for better event handling
- Add click-outside behavior to all edit fields:
- Diagram name in navbar
- Area names on canvas (with context menu)
- Table names in side panel
- Relationship names in side panel
- Table edit mode panel
- Improve edit mode UX with auto-focus and text selection
- Add pencil icons for visual edit affordance
2025-09-15 19:22:23 +03:00
Guy Ben-Aharon
8954d893bb
feat: add quick table mode on canvas ( #915 )
...
* fix: add quick table mode on canvas
* fix
* fix
* fix
2025-09-14 20:42:01 +03:00
Guy Ben-Aharon
1a6688e85e
alignment ( #912 )
2025-09-11 12:32:58 +03:00
Guy Ben-Aharon
5e81c1848a
fix(dbml): export array fields without quotes ( #911 )
2025-09-10 22:24:05 +03:00
Guy Ben-Aharon
2bd9ca25b2
fix: update deps vulns ( #909 )
2025-09-10 16:37:33 +03:00
Guy Ben-Aharon
b016a70691
fix: move auto arrange to toolbar ( #904 )
2025-09-07 12:02:33 +03:00
Jonathan Fishner
a0fb1ed08b
feat: add zoom navigation buttons to canvas filter for tables and areas ( #903 )
...
* feat: add zoom navigation buttons to canvas filter for tables and areas
* fix
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-09-04 16:18:50 +03:00
Guy Ben-Aharon
ffddcdcc98
fix: export sql + import metadata lib ( #902 )
2025-09-04 12:10:56 +03:00
Jonathan Fishner
fe9ef275b8
fix: improve SQL default value parsing for PostgreSQL, MySQL, and SQL Server with proper type handling and casting support ( #900 )
2025-09-04 11:18:02 +03:00
Guy Ben-Aharon
df89f0b6b9
fix: remove general db creation ( #901 )
2025-09-03 20:57:12 +03:00
Guy Ben-Aharon
534d2858af
readonly editor ( #899 )
2025-09-03 15:59:21 +03:00
Jonathan Fishner
2a64deebb8
fix(sql-import): handle SQL Server DDL with multiple tables, inline foreign keys, and case-insensitive field matching ( #897 )
2025-09-02 15:15:15 +03:00
Guy Ben-Aharon
e5e1d59327
fix: reset increment and default when change field ( #896 )
2025-09-01 18:48:00 +03:00
Guy Ben-Aharon
aa290615ca
fix(sql-import): support ALTER TABLE ALTER COLUMN TYPE in PostgreSQL importer ( #895 )
2025-09-01 17:13:42 +03:00
Guy Ben-Aharon
ec6e46fe81
fix: add support for ALTER TABLE ADD COLUMN in PostgreSQL importer ( #892 )
2025-09-01 11:45:14 +03:00
Guy Ben-Aharon
ac128d67de
align filter ( #890 )
2025-08-31 19:18:43 +03:00
Guy Ben-Aharon
07937a2f51
fix: export dbml issues after upgrade version ( #883 )
...
* fix: dbml export
* fix
* fix
* fix
* fix
* fix
2025-08-27 20:44:18 +03:00
Guy Ben-Aharon
d8e0bc7db8
fix: upgrade dbml lib ( #880 )
2025-08-27 14:42:02 +03:00
Guy Ben-Aharon
1ce265781b
chore(main): release 1.15.1 ( #878 )
v1.15.1
2025-08-27 12:53:00 +03:00
Aaron Dewes
60c5675cbf
fix(custom-types): Make schema optional ( #866 )
...
* fix(custom-types): Make schema optional
The schema is optional in practice for custom types (as seen in the TS types above), and not always included in exports.
* add nullable
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-27 12:48:14 +03:00
Jonathan Fishner
66b086378c
fix: handle quoted identifiers with special characters in SQL import/export and DBML generation ( #877 )
...
* fix: handle quoted identifiers with special characters in SQL import/export and DBML generation
* add tests and fix build
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-27 12:21:41 +03:00
Guy Ben-Aharon
abd2a6ccbe
fix: add actions menu to diagram list + add duplicate diagram ( #876 )
2025-08-26 17:10:25 +03:00
Guy Ben-Aharon
459c5f1ce3
chore(main): release 1.15.0 ( #835 )
v1.15.0
2025-08-26 15:15:41 +03:00
Guy Ben-Aharon
44be48ff3a
fix: improve creating view to table dependency ( #874 )
2025-08-26 15:10:11 +03:00
Aaron Dewes
ad8e34483f
fix(cla): Harden action ( #867 )
...
The CLA action does not need contents: write permission. Limit it to read for security.
2025-08-26 13:41:29 +03:00
Jonathan Fishner
215d57979d
fix: preserve composite primary key constraint names across import/export workflows ( #869 )
...
* fix: composite primary key constraint names across import/export workflows
* fix: enhance PK index management with automatic lifecycle and improved UI
* fix build
* fix
* fix
* fix
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-26 12:48:24 +03:00
Guy Ben-Aharon
ec3719ebce
fix: merge relationship & dependency sections to ref section ( #870 )
...
* fix: merge relationship & dependency sections to ref section
* fix
* fix
* fix
2025-08-25 20:14:32 +03:00
Guy Ben-Aharon
0a5874a69b
feat: support create views ( #868 )
...
* feat: support create views
* fix
* fix
* fix
* fix
* fix
2025-08-25 16:14:28 +03:00
Guy Ben-Aharon
7e0fdd1595
fix: open filter by default ( #863 )
2025-08-21 17:55:45 +03:00
Guy Ben-Aharon
2531a7023f
fix: move dbml into sections menu ( #862 )
2025-08-21 14:48:47 +03:00
Guy Ben-Aharon
73daf0df21
fix: area filter logic ( #861 )
2025-08-20 15:21:48 +03:00
Jonathan Fishner
c77c983989
feat: add auto increment support for fields with database-specific export ( #851 )
...
* feat: add auto increment support for fields with database-specific export
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-19 11:39:26 +03:00
Jonathan Fishner
0aaa451479
fix: prevent false change detection in DBML editor by stripping public schema on import ( #858 )
...
* fix: prevent false change detection in DBML editor by stripping public schema on import
* fix(dbml): preserve self-referencing relationships and character varying lengths in DBML import/export
2025-08-18 21:39:24 +03:00
Guy Ben-Aharon
b697e26170
fix(canvas): delete table + area together bug ( #859 )
2025-08-18 20:56:32 +03:00
Jonathan Fishner
04d91c67b1
fix(sql-import): fix SQL Server foreign key parsing for tables without schema prefix ( #857 )
2025-08-18 19:13:46 +03:00
Guy Ben-Aharon
d0dee84970
fix(filter): filter toggle issues with no schemas dbs ( #856 )
2025-08-17 12:54:56 +03:00
Guy Ben-Aharon
b4ccfcdcde
fix: set default filter only if has more than 1 schemas ( #855 )
2025-08-14 11:37:24 +03:00
Guy Ben-Aharon
1759b0b9f2
fix: show default schema first ( #854 )
2025-08-13 21:08:53 +03:00
Guy Ben-Aharon
ab4845c772
fix: initially show filter when filter active ( #853 )
2025-08-13 20:20:59 +03:00
Jonathan Fishner
0545b41140
fix: DBML export error with multi-line table comments for SQL Server ( #852 )
...
* fix: DBML export error with multi-line table comments for SQL Server
* fix
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-13 18:15:38 +03:00
Guy Ben-Aharon
4520f8b1f7
update index.html ( #850 )
2025-08-13 11:34:08 +03:00
Guy Ben-Aharon
712bdf5b95
fix: filter to default schema on load new diagram ( #849 )
2025-08-12 18:07:19 +03:00
Jonathan Fishner
d7c9536272
fix: reorder with areas ( #846 )
2025-08-12 16:25:56 +03:00
Guy Ben-Aharon
815a52f192
update index.html ( #848 )
2025-08-12 14:31:41 +03:00
Guy Ben-Aharon
f1a4298362
fix: remove unnecessary space ( #845 )
2025-08-12 11:08:37 +03:00
Guy Ben-Aharon
b8f2141bd2
fix(sidebar): add titles to sidebar ( #844 )
...
* update shadcn
* menu v1
* menu v2
* resize menu items
* fix
* fix
2025-08-11 17:38:40 +03:00
Guy Ben-Aharon
eaebe34768
fix(menu): clear file menu ( #843 )
2025-08-11 11:46:33 +03:00
Jonathan Fishner
0d623a86b1
feat(postgres): add support hash index types ( #812 )
...
* feat(postgres): add support for hash index type with single column constraint
* some fixes
* some fixes
---------
Co-authored-by: Guy Ben-Aharon <baguy3@gmail.com >
2025-08-10 20:24:34 +03:00
Guy Ben-Aharon
19fd94c6bd
fix(area filter): fix dragging tables over filtered areas ( #842 )
2025-08-10 15:26:47 +03:00
Guy Ben-Aharon
0da3caeeac
fix(table colors): switch to default table color ( #841 )
2025-08-10 14:42:22 +03:00