Commit Graph

75 Commits

Author SHA1 Message Date
Luis Carlos
3dbc60636d Add enums, types and Index 2024-08-28 00:18:43 -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
1ilit
2f26d12f6a Make language modal wider 2024-08-07 23:00:19 +03: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
52b4477065 Check for invalid references on import 2024-08-02 14:59:21 +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
32cf7c6814 Fix import from sql when overwrite is off 2024-08-02 10:06:55 +03: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
4485bf73a7 fix: change approach to use key for reconciliation 2024-07-21 17:22:23 +07: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
c84990ca6d Fix loading the diagram on open to load in types and enums 2024-07-08 02:18:12 +03:00
1ilit
c907cfea47 Add database icon to diagrams 2024-07-08 02:09:51 +03:00
1ilit
322bb6e988 Merge branch 'main' into select-db
# Conflicts:
#	src/i18n/locales/en.js
#	src/utils/exportSQL/generic.js
2024-07-07 17:57:33 +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
dd2aafe80b Import enums from source 2024-06-30 15:38:25 +03:00
1ilit
5b18b02946 Fix db names on open modal 2024-06-30 13:36:57 +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
d79b0c205d Return types after import 2024-06-27 11:12:09 +03:00
1ilit
d8128f5010 Import from postgres 2024-06-22 04:13:44 +03:00
Huy Bui
43e4744afa fix: todo details value 2024-06-16 22:42:44 +07:00
1ilit
a4fe117c80 Move export sql above export as in menubar 2024-06-16 05:08:28 +03:00
1ilit
3f6dfe6437 Import and export to mariadb in mariadb diagrams 2024-06-16 04:54:03 +03:00
1ilit
bff10e6fe9 Remove unnecessary fields in datatype 2024-06-15 04:41:06 +03:00
1ilit
e61757f93d Import SQLite source 2024-06-14 01:00:47 +03:00
1ilit
c0584f11c6 Show database type on open 2024-06-11 07:30:30 +03:00
1ilit
6c1ff1518f Set up multiple imports for generic diagrams 2024-06-10 22:57:21 +03:00
1ilit
73dff50f14 Export sqlite 2024-06-10 15:23:57 +03:00
1ilit
9c31e2be52 Move all type data to datatypes.js 2024-06-10 02:17:43 +03:00
1ilit
0908d040e0 Load database type on open 2024-06-09 20:18:12 +03:00