Commit Graph

94 Commits

Author SHA1 Message Date
1ilit
cd2627332f Fix header for rtl languages 2024-10-31 20:44:10 +04:00
Ritik Ranjan
d65276badc if no error location is avaliable
if no error location is avaliable gui does not show any error. It falls
sliently
2024-10-24 20:27:02 +05:30
1ilit
f635d0774c Clean up locales 2024-09-16 19:25:31 +04:00
1ilit
77c060bb98 Update node-sql-parser version 2024-09-16 19:17:49 +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
59a388f44c Fix wrong url being generated for shared diagrams 2024-09-01 19:53:03 +04:00
1ilit
9aec2f02d0 Prevent creating duplicates when loading from gist 2024-09-01 19:15:58 +04:00
1ilit
ed7fd87f7a Fix gists being controlled on button load 2024-08-31 19:49:43 +04:00
1ilit
c03202fef0
Merge pull request #229 from LuigimonSoft/feature/LC-add-new-export-to-create-the-documentation
Add export for database documentation
2024-08-31 12:09:46 +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
1ilit
f9e7810702 Fix types and enums not being imported (#224) 2024-08-24 14:46:45 +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