Commit Graph

74 Commits

Author SHA1 Message Date
1ilit
6cc9942062
Fix hotkeys (#357)
* Fix hotkeys(#356)

* Check for meta key(#356)
2025-03-07 21:11:50 +04:00
1ilit
885eb8298f
Deprecate ddb export(#353) 2025-03-04 22:58:39 +04:00
1ilit
0d813fc0dd
Import from and export to DBML (#351)
* Add export and import functions

* Add import from dbml to control panel

* Add the import key back into locales and show import error

* Parse relationships
2025-03-01 22:24:53 +04:00
1ilit
1e6aeca05e
Add documentation links (#343) 2025-02-15 01:54:45 +04:00
1ilit
aaf83b6f28 Show relationship names on the diagrams(#314) 2025-01-20 21:52:26 +04:00
1ilit
0d0c6341c0 Add editing relationship names(#314) 2025-01-20 21:52:26 +04:00
1ilit
cd2627332f Fix header for rtl languages 2024-10-31 20:44:10 +04:00
1ilit
fcf2251e9b Handle incorrect links and corrupted files 2024-09-01 21:37:00 +04:00
1ilit
47ef0dfa82 Merge branch 'main' into share 2024-09-01 20:54:35 +04:00
1ilit
877ec72e03 Disable sharing for templates 2024-09-01 20:40:48 +04:00
1ilit
6eddfd983f Remove github token modal 2024-09-01 20:36:20 +04:00
1ilit
ed7fd87f7a Fix gists being controlled on button load 2024-08-31 19:49:43 +04:00
1ilit
65a86ee4f5 Remodel the copy link modal 2024-08-30 11:09:50 +04:00
1ilit
3f24ceaf93 Copy share url 2024-08-29 19:53:10 +04:00
1ilit
7dcecf3c1f Create and update gist on click 2024-08-29 17:05:47 +04:00
Luis Carlos
3dbc60636d Add enums, types and Index 2024-08-28 00:18:43 -04:00
1ilit
488641ddcc Add modal for github token 2024-08-27 23:39:14 +04:00
1ilit
75f930ba76 Set up upload workflow 2024-08-27 17:30:32 +04:00
1ilit
ee3dea74cf Add share to header 2024-08-27 11:08:30 +04:00
Luis Carlos
11df4fabdf add translation text 2024-08-26 11:52:10 -04:00
Luis Carlos
ee3a50912a fix the PR comments 2024-08-26 11:48:58 -04:00
Luis Carlos
4aef6c6e25 Add languages 2024-08-26 00:42:47 -04:00
Luis Carlos
f71f41d11c Add documentation menu and generate documentation markdown 2024-08-23 16:50:53 -04:00
1ilit
7b079b67a5 Fix zoom shortcuts 2024-08-16 13:12:10 +04:00
tasnim
94a076c9bc rtl-fix address issues 2024-08-05 11:31:11 +03:00
tasnim
5ec54e2445 Display UI in RTL languages correctly 2024-08-04 15:27:31 +03:00
1ilit
726a93108c Clean up export as 2024-08-03 13:22:19 +03:00
1ilit
ed12e3b9f5
Merge pull request #200 from tasnim0tantawi/mermaid-feature
Add export mermaid feature
2024-08-02 14:34:43 +04:00
1ilit
844b24100e Fix field type not updating when enum name is changed (#193 part2) 2024-07-31 19:12:28 +03:00
1ilit
52248f1016 Fix field type not updating when Type name is changed (#193 part1) 2024-07-31 14:50:06 +03:00
tasnim
7dec05c064 Add export mermaid feature 2024-07-31 12:14:33 +03:00
1ilit
85504f317c
Merge pull request #157 from huyjs9/fix/update-title
Fix update title on first page load
2024-07-23 16:47:24 +04:00
Huy Bui
1bff574d56 fix: update title on mounted 2024-07-21 16:58:47 +07:00
Vasilii A
9f66df90b1 fullscreen indicator 2024-07-19 23:22:48 +00:00
Felix Zedén Yverås
3659ba9143 fix: release pointer capture when using onPointerLeave events
Certain input sources (such as touch) are "captured" when they
press an element. This means the pointer is always considered
"inside" the element by the browser, even when they visually are
not. This caused some issues on mobile browsers where touch and
stylus events could not connect table columns with each other.

Just to be safe, I've added the required `releasePointerCapture`
call everywhere `onPointerEnter` or `onPointerLeave` is used.
2024-07-17 22:22:52 +02:00
Felix Zedén Yverås
32c82168fe feat: add debug coordinate overlay
Makes debugging issues in conversion from screen space
to diagram space easier.

Only adding english translations as I do not speak the
other languages.
2024-07-14 15:36:54 +02:00
Felix Zedén Yverås
cdecf7c633 feat: add basic touchscreen support
This is basically a migration from mouse events to
[pointer events](
  https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events
).

The `PointerEvent` interface inherits all of the `MouseEvent`
properties, meaning that existing code can essentially be left
as-is. The only major change is making sure we only respond to the
"primary" pointer.

Known issues include:
* stylus hover is not detected
* touchscreens do not have a concept of hover, making it difficult
  to e.g. resize areas
* no touch gesture support, e.g. "pinch-to-zoom"
2024-07-14 15:36:54 +02:00
1ilit
84abae7d06 Save database type and enums for templates 2024-07-08 11:54:04 +03:00
1ilit
159dcca4dc Fix import diagram 2024-07-08 04:03:41 +03:00
1ilit
c907cfea47 Add database icon to diagrams 2024-07-08 02:09:51 +03:00
1ilit
1580641e97 Delete types and enums on clear 2024-07-05 22:29:42 +03:00
1ilit
9b606114df Rename TablesContext to DiagramContext 2024-07-04 23:18:20 +03:00
1ilit
d00c21b2e3 Add MSSQL types 2024-07-04 19:42:11 +03:00
1ilit
7c1eecd7a0 Undo and redo enum editing 2024-07-03 21:21:44 +03:00
1ilit
1430db881c Export and import enums in diagrams 2024-07-03 13:25:24 +03:00
1ilit
3c1e72fbdd Export enums to sql 2024-07-02 23:26:45 +03:00
1ilit
810afe4bc0 Add enums tab 2024-06-30 13:19:21 +03:00
1ilit
259835892a Fix add field for types to work with dbToTypes 2024-06-27 11:34:21 +03:00
1ilit
d8128f5010 Import from postgres 2024-06-22 04:13:44 +03:00
1ilit
a4fe117c80 Move export sql above export as in menubar 2024-06-16 05:08:28 +03:00