Skip to content

Conversation

@invisal
Copy link
Collaborator

@invisal invisal commented Mar 31, 2025

No description provided.

invisal and others added 15 commits March 26, 2025 19:31
Originally, we relied on CodeMirror's Lezer to build the AST and parsed from it. Now, we use our own tokenization approach. It produces a flat structure, and we build the parser on top of that. This gives us more flexibility for future extensions and reduces our dependency on external libraries.
Rewrite the sqlite create script parser.
* fix: offset should not be negative

* feat: Add table export menu

* chore: add type annotatoin to pass quality check
* fixing the lint complain for schema sidebar

* expose the render cell

we want to make our table component as very optimized headless table. expose render cell method allows user to customize how the cell render rather bake in renderer

* add storybook for table component

* fixing typo discard all change

* refactor: simplify renderHeader prop by removing index parameter

* separate the table style from global style

* refactor: table header state should not hard-baked with database specified type

* database table header metadata should from table result as optimize table now should has zero dependency

* move table state out as it is not relevent to optimize table

* decouple create table state from result out

* decouple the code to get the aggregate result from state

* move some styles to tailwind instead of css file

* make table completely tailwind
@invisal invisal merged commit cca3c15 into master Mar 31, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants