Commit Graph

71 Commits

Author SHA1 Message Date
1ilit
94226de561
Table and field drag and drop ordering (#444)
* Add dnd for tables and fields

* Fix inputs

* Decouple ids and indecies in the editor

* Decouple ids and indecies in utils

* Fix field indexes

* Use nanoid instead of numberic ids for fields and tables

* Fix review comments
2025-05-11 21:44:04 +04:00
Vinodh Zamboulingame
f13b80a3ff
Update node-sql-parser to version 5.3.9 (#440) 2025-05-06 17:42:08 +04:00
dependabot[bot]
221831a080
Bump vite from 6.2.6 to 6.3.4 (#434)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-02 18:49:52 +04:00
1ilit
66f41d591a
Remove octokit (#417)
* remove octokit

* clean up .env.sample and gist apis

* better error management
2025-04-21 22:42:48 +04:00
dependabot[bot]
16d7a01085
Bump vite from 6.2.5 to 6.2.6 (#405)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-12 20:51:12 +04:00
1ilit
adf647483c
Switch to monaco-editor from codemirror (#403)
* switch to monaco-editor

* fix styles
2025-04-12 20:50:47 +04:00
1ilit
436ab3ec33
Export saved data (#400) 2025-04-10 22:08:31 +04:00
dependabot[bot]
cc7bd69eb7
Bump vite from 6.2.4 to 6.2.5 (#393)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 21:40:07 +04:00
1ilit
46e91069d5
Replace colorpalette with colorpicker (#392) 2025-04-06 03:36:46 +04:00
Aditya
16ea2ee23c
feat:Added support for exporting SQL as OracleDB SQL (#192)
* feat:Added support for exporting SQL as OracleDB SQL

* Add parser

* Import from sql

* Add beta tag

* Export from generic

* Fix export

* Add import affinity

---------

Co-authored-by: 1ilit <1ilit@proton.me>
2025-04-02 03:11:08 +04:00
dependabot[bot]
fcc16bbe85
Bump vite from 6.2.3 to 6.2.4 (#385)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01 23:23:24 +04:00
1ilit
00114f4ade
Upgrade node-sql-parser to v5.3.8 (#381) 2025-03-30 23:40:09 +04:00
dependabot[bot]
35ee475e0d
Bump esbuild, @vitejs/plugin-react and vite (#376)
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.1 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 to 0.25.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.1)

Updates `@vitejs/plugin-react` from 4.2.1 to 4.3.4
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.4/packages/plugin-react)

Updates `vite` from 5.4.1 to 6.2.3
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.3/packages/vite)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 20:07:24 +04:00
dependabot[bot]
f71310c749
Bump jspdf from 2.5.1 to 3.0.1 (#371)
Bumps [jspdf](https://github.com/MrRio/jsPDF) from 2.5.1 to 3.0.1.
- [Release notes](https://github.com/MrRio/jsPDF/releases)
- [Changelog](https://github.com/parallax/jsPDF/blob/master/RELEASE.md)
- [Commits](https://github.com/MrRio/jsPDF/compare/v2.5.1...v3.0.1)

---
updated-dependencies:
- dependency-name: jspdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 02:44:13 +04:00
1ilit
f95841f0e7
Migrate to tailwind v4 (#370) 2025-03-21 01:25:36 +04:00
dependabot[bot]
6cae92ce10
Bump axios from 1.7.4 to 1.8.2 (#369)
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 02:46:41 +04:00
1ilit
2a03298d29
Upgrade node-sql-parser to v5.3.7 (#367) 2025-03-16 20:37:36 +04:00
1ilit
fa1e736436
Add speed insights (#359) 2025-03-12 01:40: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
f0adcf1a25 Fix import from sql for mssql 2025-01-18 16:16:13 +04:00
1ilit
98c046e018 Update node-sql-parser version 2024-11-10 11:50:58 +04:00
1ilit
77c060bb98 Update node-sql-parser version 2024-09-16 19:17:49 +04:00
1ilit
75f930ba76 Set up upload workflow 2024-08-27 17:30:32 +04:00
1ilit
1ec8e1df74 Move to node-sql-parser v5.3.1 2024-08-23 19:05:38 +04:00
dependabot[bot]
93a0130d82
Bump axios from 1.6.2 to 1.7.4
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 10:07:16 +00:00
dependabot[bot]
2ad65962d3
Bump vite from 5.1.1 to 5.4.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.1 to 5.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 09:14:27 +00:00
1ilit
7ad1059990 Update landing page 2024-08-07 19:46:55 +03:00
1ilit
07d7766fa8 Recognize many to one relationships on sql import 2024-08-06 14:33:35 +03:00
Felix Zedén Yverås
e4e22dee20 fix: rewrite coordinate management
After some initial smaller fixes, it turned out that I had broken
the red line used when linking fields. Fixing this was not trivial
as I found myself battling a lot of small bugs relating to scale
and translation in the existing code. This was made extra difficult
as a lot of coordinates were calculated when necessary in
Canvas.jsx.

This commit attempts to simplify the coordinate management in a few
different ways:
* There are now two distinct coordinate systems in use, typically
  referred to as "spaces". Screen space and diagram space.
* Diagram space is no longer measured in pixels (though the
  dimension-less measure used instead still maps to pixels at 100%
  zoom).
* The canvas now exposes helper methods for transforming between
  spaces.
* Zoom and translation is now managed via the svg viewBox property.
  * This makes moving items in diagram space much easier as the
    coordinates remain constant regardless of zoom level.
* The canvas now wraps the current mouse position in a context
  object, making mouse movement much easier to work with.
* The transform.pan property now refers to the center of the screen.

A new feature in this commit is that scroll wheel zoom is now based
on the current cursor location, making the diagram more convenient
to move around in.

I have tried to focus on Canvas.jsx and avoid changes that might be
desctructive on existing save files. I also believe more refactors
and abstractions could be introduced based on these changes to make
the diagram even easier to work with. However, I deem that out of
scope for now.
2024-07-17 22:22:52 +02:00
1ilit
5020509626 Expose host directly in compose 2024-06-01 20:53:07 +03:00
Jean Franz
4c64bc3e9c add compose.yml 2024-05-18 01:25:22 -03:00
1ilit
2b4b01c358 Configure i18n and add simplified chinese (#99) 2024-05-16 06:45:47 +03:00
1ilit
1beed53cb6 Handle default function parsing 2024-04-20 11:40:28 +03:00
1ilit
3656d60099 Switch to codemirror 2024-04-19 17:28:32 +03:00
1ilit
2c525a2ffd Add prettier 2024-04-06 11:11:12 +03:00
1ilit
c9ad695abb Clean up dependencies 2024-03-07 13:28:43 +02:00
1ilit
420006ca57 Add vercel anaytics 2024-02-29 16:14:41 +02:00
1ilit
7cea7c9f5f Fix dependencies 2024-02-12 21:05:21 +02:00
1ilit
78d0a26807 Add instructions for custom templates tab 2024-01-29 11:39:06 +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
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
ece4a9e95a Fix import 2023-12-20 02:57:29 +02:00
1ilit
46685a98fe Migrate to Vite from CRA 2023-12-16 05:39:13 +02:00
1ilit
69dd120c0d Add favicon 2023-10-21 14:37:04 +03:00
1ilit
bb0229ac5c Add signup page 2023-09-24 19:38:39 +03:00
1ilit
03c981f65f Submit bug reports by email 2023-09-22 20:09: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