Commit Graph

578 Commits

Author SHA1 Message Date
haecheonlee
b788fd86dc Fix to close remainig popover after deleting table 2024-04-10 19:56:19 -04:00
Gautam krishna R
7023b2e611
added double click to open editor 2024-04-10 09:15:48 +00:00
dot
d35461dbd3
Merge pull request #24 from drawdb-io/change-tablewidth
Add a setting to resize table width (#21)
2024-04-10 06:53:18 +03:00
1ilit
895c1da2b0 Add a setting to resize table width (#21) 2024-04-10 06:47:06 +03:00
1ilit
13897e7217 Replace useEffect with useLayoutEffect (#23) 2024-04-10 05:48:16 +03:00
1ilit
6ab13a70d2 Fix form label color in sidesheet for editing a table 2024-04-10 05:22:10 +03:00
1ilit
21ed333f7d Fix panning when the sidesheet for editing a table is open 2024-04-10 05:12:39 +03:00
1ilit
895059c76a Support empty strings and strings with quotes for default (#10) 2024-04-10 04:57:07 +03:00
1ilit
9b5c548e15 Update discord link 2024-04-07 00:20:24 +03:00
1ilit
d8fd3292b7 Add NotFound page 2024-04-06 13:59:39 +03:00
1ilit
c2319afcd3 Update github links 2024-04-06 13:18:34 +03:00
1ilit
28d2655212 Update Readme 2024-04-06 12:39:13 +03:00
1ilit
378c6846a9 Clean up index.css 2024-04-06 10:36:22 +03:00
1ilit
155810d7e6 Fix typo 2024-04-06 10:27:18 +03:00
1ilit
1efd72dfe3 Use ColorPallete in area popover 2024-04-06 09:56:20 +03:00
1ilit
234d4fc04b Remove duplicate logic to edit table 2024-04-06 09:51:38 +03:00
1ilit
0ec280b821 Fix import source 2024-04-06 08:22:23 +03:00
1ilit
173b02daa2 Move controlpanel modal and sidesheet into folders 2024-04-06 08:19:12 +03:00
1ilit
1576b3fb96 Add robots.txt 2024-04-06 05:19:13 +03:00
1ilit
c5cdcba459 Merge branch 'main' of https://github.com/drawdb-io/drawdb-client 2024-04-06 04:59:18 +03:00
1ilit
40800f8f28 Clean up tabs 2024-04-06 04:58:42 +03:00
1ilit
639518e3bf Clean up pages 2024-04-05 22:34:25 +03:00
1ilit
83985ba188 Clean up workspace 2024-04-05 22:09:43 +03:00
1ilit
c67f7f512e Add reference links to lexical editor files 2024-04-05 06:51:07 +03:00
1ilit
afa8fca00c Fix import 2024-04-05 06:32:35 +03:00
1ilit
8cf95a9a06 Fix imports for hooks 2024-04-05 05:12:50 +03:00
1ilit
9036a96a22 Move custom icons to a separate folder 2024-04-05 04:19:36 +03:00
1ilit
eff3f57071 Bump up db version 2024-04-05 03:08:00 +03:00
1ilit
10e0e279cc Remove coords from relationship objects 2024-04-05 03:05:09 +03:00
1ilit
fa8fdae863 Fix wording in info for types 2024-04-02 16:44:29 +03:00
1ilit
ee44cd2b7c Fix table names taking half of the table width when not hovered 2024-04-02 16:05:07 +03:00
1ilit
4d7f18c26e Removed isHovered from Table 2024-04-02 03:38:58 +03:00
1ilit
cf71859f5c Fix broken discord link 2024-04-02 00:48:24 +03:00
1ilit
5347f75529 Remove select dbms from import source modal 2024-04-02 00:38:53 +03:00
1ilit
6fda5356b0 Add primary key icon to fields 2024-04-02 00:22:07 +03:00
1ilit
1283dcd946 Fix collapse panel overflow in the sidebar 2024-04-01 23:02:13 +03:00
1ilit
d9fa03ae01 Fix table name overflow 2024-04-01 20:57:13 +03:00
1ilit
19ca8a55c2 Fix field name overflow 2024-04-01 20:31:24 +03:00
1ilit
9df9527950 Reorganize files 2024-04-01 19:44:50 +03:00
1ilit
d4bc5a9669 Rename NoElements to Empty 2024-03-16 22:24:16 +02:00
1ilit
5895d4c96e Clean up 2024-03-16 02:23:10 +02:00
1ilit
7a406eb6d3 Fix env variables 2024-03-15 21:09:50 +02:00
1ilit
725f01d8da Make exports consistent 2024-03-15 20:55:43 +02:00
1ilit
3ec93f42c6 Make variable naming consistent 2024-03-15 16:37:22 +02:00
1ilit
1132edbbb3 Abstract save state from editor 2024-03-15 16:00:23 +02:00
1ilit
d347e856a8 Implement exit 2024-03-14 20:30:22 +02:00
1ilit
697291fe66 Fix setSelectedElement in contexts 2024-03-14 00:27:09 +02:00
1ilit
34f8d9491b Abstract tasks to a context 2024-03-13 21:09:29 +02:00
1ilit
40ef1b057e Remove tab context 2024-03-13 20:39:16 +02:00
1ilit
24eecdc39b Abstract types from editor 2024-03-13 01:27:42 +02:00
1ilit
1280219ac9 Stop resize onMouseLeave 2024-03-13 00:58:03 +02:00
1ilit
8a265831ed Clean up public folder 2024-03-13 00:24:12 +02:00
1ilit
54c043204a Abstract notes out of editor 2024-03-12 23:38:13 +02:00
1ilit
d06074451e Move vaidateDiagram to issues.js 2024-03-12 13:52:01 +02:00
1ilit
9e32c49306 Abstract areas 2024-03-11 23:59:04 +02:00
1ilit
787b7b9817 Declutter utils 2024-03-11 02:45:44 +02:00
1ilit
680d349380 Abstract controls on fullscreen 2024-03-11 01:50:34 +02:00
1ilit
dc8bbc0f9c Abstract tables, undo/redo, selected element 2024-03-10 23:55:23 +02:00
1ilit
91549d3089 Clean up relationship component 2024-03-10 21:25:23 +02:00
1ilit
23bc6278a2 Abstract TransformContext 2024-03-10 19:25:22 +02:00
1ilit
dd4ec59e56 Fix table and relationhsip render order in simple canvas 2024-03-10 01:24:26 +02:00
1ilit
6c0ebcf7bc Abstract SettingsContext out 2024-03-09 22:39:46 +02:00
1ilit
f3eb6d7c04 Separate zoom and pan from settings 2024-03-09 20:35:04 +02:00
1ilit
610e2fa5c5 Abstract LayoutContext 2024-03-09 19:42:09 +02:00
1ilit
aac1eb4584 Remove files from older version 2024-03-07 13:10:33 +02:00
1ilit
9bfbdceda2 Fix pan spamming 2024-03-07 11:21:09 +02:00
1ilit
113e0f3593 Update relationships that come after deleted tableId 2024-02-29 20:48:49 +02:00
1ilit
96e2daad6d Fix save button in toolbar 2024-02-29 19:06:08 +02:00
1ilit
9e68b88213 Fix popovers for editing when sidebar is off 2024-02-29 18:51:43 +02:00
1ilit
420006ca57 Add vercel anaytics 2024-02-29 16:14:41 +02:00
1ilit
5e120bee1c Fix save as 2024-02-29 02:48:24 +02:00
1ilit
3ab820d7ee Add title to json and ddb export 2024-02-28 23:03:40 +02:00
1ilit
141b303e50 Seed templates 2024-02-28 22:47:07 +02:00
1ilit
d3625dd980 Fix long field names 2024-02-28 17:56:32 +02:00
1ilit
f1dfd63fb3 Edit logo images 2024-02-28 17:39:45 +02:00
1ilit
c507d5106d Change export file name to include title 2024-02-28 17:07:39 +02:00
1ilit
079229b268 Make the logo higher quality 2024-02-28 16:53:59 +02:00
1ilit
934de53f33 Fix features link on mobile 2024-02-28 14:09:23 +02:00
1ilit
4f69e687f6 Remove fullscreen tick 2024-02-26 13:22:55 +02:00
1ilit
d798a1fca9 Fix scroll restoration 2024-02-26 13:17:20 +02:00
1ilit
03cdd8eef0 Clean save dependencies 2024-02-26 02:48:03 +02:00
1ilit
6a5f18f1de Save pan and zoom 2024-02-26 02:42:46 +02:00
1ilit
a7f4fca580 Add animations 2024-02-26 02:16:09 +02:00
1ilit
f0f90e3d85 Make landing page responsive 2024-02-20 13:25:44 +02:00
1ilit
f38acf24ee Fix fit window 2024-02-20 11:32:19 +02:00
1ilit
47707146b8 Save todos 2024-02-20 09:03:08 +02:00
1ilit
c9a8d76e8e Fix relationship overlap 2024-02-20 03:02:17 +02:00
1ilit
d792791394 Fix popover theme and change color button 2024-02-19 23:21:38 +02:00
1ilit
2355673dde Add discord link to menu 2024-02-19 22:40:24 +02:00
1ilit
781b5b8143 Move timeline to settings 2024-02-19 14:14:32 +02:00
1ilit
38943d80f2 Add thumbnails to create new modal 2024-02-16 16:27:09 +02:00
1ilit
c578374857 Add connect us section 2024-02-15 19:58:11 +02:00
1ilit
198232426b Add features and supported dbs sections on landing page 2024-02-15 03:22:07 +02:00
1ilit
62e3faa6fb Add mssql 2024-02-14 19:52:58 +02:00
1ilit
2cc703b9b5 Make logo a link everywhere 2024-02-14 15:08:51 +02:00
1ilit
7cea7c9f5f Fix dependencies 2024-02-12 21:05:21 +02:00
1ilit
604bed67dd Allow self references 2024-02-06 00:42:11 +02:00
1ilit
1f84e36f8c Fix schema 2024-02-05 14:38:38 +02:00
1ilit
215bd55b99 Fix overflow 2024-02-05 14:02:39 +02:00
1ilit
7e1c8fc1ca Add MariaDB 2024-02-05 13:40:59 +02:00
1ilit
f9dd80f39c Add presentation mode 2024-02-03 13:48:07 +02:00
1ilit
6985eb2fdc Support SQLite 2024-01-31 17:00:15 +02:00
1ilit
a31e60cf0d Remove mandetory relationships 2024-01-31 00:12:09 +02:00
1ilit
4f2386563c Add some stuff to the landing page 2024-01-29 16:19:12 +02:00
1ilit
78d0a26807 Add instructions for custom templates tab 2024-01-29 11:39:06 +02:00
1ilit
ba1dd5ab54 Fix favicon 2024-01-29 10:01:54 +02:00
1ilit
e35ee8270c Fix settings 2024-01-29 09:53:05 +02:00
1ilit
6f262185d0 Handle inline foreign keys 2024-01-23 10:15:28 +02:00
1ilit
d67fa7cb08 Fix typo of dbms 2024-01-23 09:07:33 +02:00
1ilit
08ec175800 Fix inverted relationship labels on a straight line 2024-01-23 09:06:02 +02:00
1ilit
646571ef76 Fix relationship position update bug in undo 2024-01-23 08:57:21 +02:00
1ilit
f29716814d Fix banner text color 2024-01-23 08:38:59 +02:00
1ilit
b8f7ac2812 Remove popconfirm from canvas field delete 2024-01-22 18:16:21 +02:00
1ilit
3efbb0de2a Fix undo for unchanged note content 2024-01-22 17:56:57 +02:00
1ilit
1c89805ca7 Parse relationships from alter statements 2024-01-22 16:35:01 +02:00
1ilit
d32ee38d05 Handle index parsing 2024-01-21 11:22:45 +02:00
1ilit
b0d262e2a0 Handle simple sql table parsing 2024-01-21 09:05:43 +02:00
1ilit
6c65134c93 Fix precison for float bug 2024-01-18 12:45:58 +02:00
1ilit
df9a3f8089 Add framer motion 2024-01-18 09:21:30 +02:00
1ilit
58bafcfcaf Add hero 2024-01-18 04:24:38 +02:00
1ilit
9f981b62ec Remove login and signup 2024-01-14 05:35:03 +02:00
1ilit
5daf3fb7ba Rename 2024-01-14 02:58:56 +02:00
1ilit
c4f73ba178 Add settings to header 2024-01-14 02:43:22 +02:00
1ilit
ce267fb049 Remove everything sockets 2024-01-14 02:21:44 +02:00
1ilit
6f2b7a42b4 Remove sidebar 2024-01-14 02:05:07 +02:00
1ilit
005c3fd2a6 Remove share 2024-01-14 01:28:21 +02:00
1ilit
7436f79c2b Test main 2024-01-14 01:18:51 +02:00
1ilit
6ae3406644 Add share modal 2024-01-13 20:36:13 +02:00
1ilit
9256c75621 Handle undo for collab 2024-01-12 04:10:49 +02:00
1ilit
f870c213ae Real time editing 2024-01-10 05:16:06 +02:00
1ilit
d080790aed Add dashboard 2024-01-08 19:39:27 +02:00
1ilit
fa1ea7a9d4 Connect to login endpoint 2024-01-07 05:10:34 +02:00
1ilit
679a58a9a3 Redo login page 2024-01-05 21:38:59 +02:00
1ilit
144600c5bb Redo signup page 2024-01-03 21:37:44 +02:00
1ilit
3ec1f91903 Add showCardinality setting 2023-12-29 22:40:37 +02:00
1ilit
187b70cbdf Add cardinality labels on relationships 2023-12-28 07:11:49 +02:00
1ilit
f11419f60b Fix relationship coming over table 2023-12-28 06:17:48 +02:00
1ilit
f44b5fd388 Fix field delete 2023-12-27 04:45:23 +02:00
1ilit
2395a334bb Fix save 2023-12-26 16:40:47 +02:00
1ilit
0e041ed913 Edit templates 2023-12-24 23:26:14 +02:00
1ilit
b9fbcfb9b6 Handle template loading better 2023-12-24 03:06:49 +02:00
1ilit
78ce0839d8 Add delete for custom templates 2023-12-23 03:16:54 +02:00
1ilit
ece4a9e95a Fix import 2023-12-20 02:57:29 +02:00
1ilit
dec6362fa9 Add Save as template 2023-12-19 04:36:10 +02:00
1ilit
c5f929ac55 Fix buttons 2023-12-18 01:21:33 +02:00
1ilit
46685a98fe Migrate to Vite from CRA 2023-12-16 05:39:13 +02:00
1ilit
503d55b528 Seed templates 2023-12-12 01:14:29 +02:00
1ilit
705251a275 Handle thumbnails for templates 2023-12-11 23:11:30 +02:00
1ilit
c3f2809313 Add structure of templates page 2023-12-11 03:00:25 +02:00
1ilit
407e060b77 Seed templates 2023-12-02 23:27:25 +02:00
1ilit
aae695a61e Fix spacing 2023-11-30 15:02:13 +02:00
1ilit
50c776077a Add templates page 2023-11-30 09:18:41 +02:00
1ilit
f6199cfd97 Make New window a duplicate of the parent window 2023-11-28 23:08:45 +02:00
1ilit
0cbc4bb6f8 Flush storage 2023-11-24 19:13:49 +02:00
1ilit
76ef62d13f Autosave 2023-11-24 18:28:39 +02:00
1ilit
045715cff9 Add setting for disabling panning 2023-11-24 01:32:26 +02:00
1ilit
f312b943e6 Fix typos 2023-11-23 19:34:38 +02:00
1ilit
e5b2a2be2f Save diagram id in window name to avoid loading latest diagram when not empty 2023-11-22 21:32:17 +02:00
1ilit
1ec9b5fd1f Smol fixes 2023-11-02 16:45:11 +02:00
1ilit
9588d7c918 Create a new diagram 2023-11-02 13:31:26 +02:00
1ilit
50d82fb435 Fixed save for diagrams 2023-11-01 13:35:57 +02:00
1ilit
092a08e624 Delete diagram and save as 2023-10-28 02:11:31 +03:00
1ilit
08aa18e467 Load latest diagram 2023-10-27 21:10:17 +03:00
1ilit
7f5534dfea Load diagram from db 2023-10-27 20:18:28 +03:00
1ilit
63be981131 Add open modal 2023-10-26 20:26:13 +03:00
1ilit
4596864e2f Save diagram to IndexedDb 2023-10-26 16:35:50 +03:00
1ilit
0b1a6d2eae Make navbar responsive 2023-10-24 13:04:33 +03:00
1ilit
dfe48ef560 Fix linking bug 2023-10-23 17:39:05 +03:00
1ilit
f4bee4de5b Fix table schema validation 2023-10-22 09:01:43 +03:00
1ilit
b41942c794 Rename diagram 2023-10-21 19:45:13 +03:00
1ilit
23b3257762 Add sidesheet for the bot 2023-10-20 20:37:06 +03:00
1ilit
4623e391b9 Rename files and reorganize directories 2023-10-19 11:36:46 +03:00
1ilit
74a06fccf3 Change route names 2023-10-14 17:02:45 +03:00
1ilit
651c8f9de7 Fix rich editor styling 2023-10-14 16:43:22 +03:00
1ilit
e2a37b68e4 Add survey page 2023-10-12 23:17:23 +03:00
1ilit
eaf4812dbe Add login page 2023-09-30 11:17:04 +03:00
1ilit
a006c0cda4 Connect to signup route 2023-09-30 10:12:09 +03:00
1ilit
432efe91fd I dont remember 2023-09-28 20:29:22 +03:00
1ilit
bb0229ac5c Add signup page 2023-09-24 19:38:39 +03:00
1ilit
72ad69bc66 Make report bug page responsive 2023-09-22 22:18:34 +03:00
1ilit
0e7bebd971 Add loading spin and reset form on successful bug report 2023-09-22 22:00:20 +03:00
1ilit
03c981f65f Submit bug reports by email 2023-09-22 20:09:02 +03:00
1ilit
af08bae76f Extract editor classes to richeditor.css 2023-09-19 15:52:03 +03:00
1ilit
392e7218de Parse content to html 2023-09-19 15:52:02 +03:00
1ilit
45c95c7f11 Add rich text editot 2023-09-19 15:51:59 +03:00
1ilit
f2b02e5d42 Add bug report page 2023-09-19 15:51:49 +03:00
1ilit
884bd32515 Change media queries 2023-09-19 15:51:46 +03:00
1ilit
6509d42478 Add shortcuts page 2023-09-19 15:51:44 +03:00
1ilit
a51d5cf03d Save theme in local storage 2023-09-19 15:51:43 +03:00
1ilit
f774699bfb Add navbar 2023-09-19 15:51:40 +03:00
1ilit
fad46955fb Make json schemas for custom types 2023-09-19 15:51:37 +03:00
1ilit
6172d48bf5 Parse types for postgres 2023-09-19 15:51:36 +03:00
1ilit
9a1c086870 Add custom types to the selection 2023-09-19 15:51:34 +03:00
1ilit
796e302eeb Use better foreign key names 2023-09-19 15:51:32 +03:00
1ilit
f6ab590623 Handle issues for custom types 2023-09-19 15:51:30 +03:00
1ilit
6515b87988 Add size and value to type fields 2023-09-19 15:51:29 +03:00
1ilit
273d398dd2 Support custom types 2023-09-19 15:51:28 +03:00
1ilit
36ad44f0db Suppost postgres 2023-09-19 15:51:26 +03:00
1ilit
69aabaefa9 Handle check expressions 2023-09-19 15:51:25 +03:00
1ilit
028e80a487 Handle invalid references 2023-09-19 15:51:23 +03:00
1ilit
10fae6d518 Handle defaults and sizes for all datatypes 2023-09-19 15:51:22 +03:00
1ilit
9311c1fbaf Validate field default values 2023-09-19 15:51:21 +03:00
1ilit
81792a5243 Fix error when field.values is undefined and add it to issues 2023-09-19 15:51:20 +03:00
1ilit
aa7b8905b8 Replace titles with tooltips 2023-09-19 15:51:18 +03:00
1ilit
953af7e0d7 Add input validators 2023-09-19 15:51:17 +03:00
1ilit
1016c3536e Catch empty or duplacate fields, indices, names, relationships 2023-09-19 15:51:16 +03:00
1ilit
794ecdba08 Handle issues in the diagram 2023-09-19 15:51:14 +03:00
1ilit
d8f709299d brr 2023-09-19 15:51:13 +03:00
1ilit
13a2eab410 fix borders when element is selected 2023-09-19 15:51:11 +03:00
1ilit
1dd645f1a7 add dark theme 2023-09-19 15:51:08 +03:00
1ilit
8a17540d31 add badge for new messages 2023-09-19 15:51:02 +03:00
1ilit
4181ef4c74 refactor chat 2023-09-19 15:51:00 +03:00
1ilit
274c434206 added chat 2023-09-19 15:50:57 +03:00
1ilit
be0ec46e4b switch to lists for timeline 2023-09-19 15:50:55 +03:00
1ilit
aec4d826b5 todo list 2023-09-19 15:50:53 +03:00
1ilit
7426012154 added timeline 2023-09-19 15:50:52 +03:00
1ilit
d61a90530f hi 2023-09-19 15:50:49 +03:00
1ilit
155690e0f7 Swap primary and foreign tables 2023-09-19 15:50:47 +03:00
1ilit
2b2e4840c9 Undo redo parsing for references 2023-09-19 15:50:46 +03:00
1ilit
ab0dc2c44e uuuugh 2023-09-19 15:50:45 +03:00
1ilit
2760f458af add sets 2023-09-19 15:50:44 +03:00
1ilit
662e2294e8 add enum type 2023-09-19 15:50:43 +03:00
1ilit
fc287d12f0 add restrictions on default, autoincrement, length 2023-09-19 15:50:42 +03:00
1ilit
348363acbb parse tables 2023-09-19 15:50:39 +03:00
1ilit
38da28ac99 migrate to monaco editor 2023-09-19 15:50:37 +03:00
1ilit
ac09ad7112 fix delete functions 2023-09-19 15:50:35 +03:00
1ilit
8e5753c8d3 copy paste cut 2023-09-19 15:50:32 +03:00
1ilit
8500fdf0fb delete and duplicate 2023-09-19 15:50:30 +03:00
1ilit
5b5e55e345 edit elements 2023-09-19 15:50:28 +03:00
1ilit
d571a09b39 janky fit window 2023-09-19 15:50:24 +03:00
1ilit
2d36c04a49 keyboard shortcuts baby 2023-09-19 15:50:22 +03:00
1ilit
850a4b68cf yey 2023-09-19 15:50:20 +03:00
1ilit
157634a0eb brrr 2023-09-19 15:50:18 +03:00
1ilit
d1a372d40b im hungered 2023-09-19 15:50:16 +03:00
1ilit
614e2ed24b bit clean up 2023-09-19 15:50:15 +03:00
1ilit
60193c33b8 im thirsty 2023-09-19 15:50:12 +03:00
1ilit
bccee804cf yum 2023-09-19 15:50:09 +03:00
1ilit
f04ed5df9a boo 2023-09-19 15:50:06 +03:00
1ilit
21d01b1fe2 hi 2023-09-19 15:50:04 +03:00
1ilit
44e179f15a yum 2023-09-19 15:50:02 +03:00
1ilit
16bc0edd36 more undo redo for resize and panning 2023-09-19 15:50:00 +03:00
1ilit
be66cf6e84 Clean up 2023-09-19 15:49:57 +03:00
1ilit
39a8dbb315 more undo redo 2023-09-19 15:49:52 +03:00
1ilit
a030656bcf Delete shapes and header 2023-09-19 15:49:50 +03:00
1ilit
364866a70a Fix import and export too early bug 2023-09-19 15:49:50 +03:00
1ilit
982d2daa11 Fix panning 2023-09-19 15:49:48 +03:00
1ilit
4ec9f3f55b Complete menu bar somewhat 2023-09-19 15:49:46 +03:00
1ilit
c79999d773 Undo and redo for moving and adding objects 2023-09-19 15:49:44 +03:00
1ilit
59609b1cd8 brrrr 2023-09-19 15:49:43 +03:00
1ilit
2cfcc94a5d shtuff 2023-09-19 15:49:41 +03:00