New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(toolbar): Refactor toolbar and enhance functionality #1219
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msfstef
force-pushed
the
msfstef/improve-debug-toolbar-ui
branch
from
May 8, 2024 13:01
b06bdb3
to
58eabec
Compare
msfstef
force-pushed
the
msfstef/improve-debug-toolbar-ui
branch
from
May 14, 2024 07:53
8febb3b
to
76ac2c2
Compare
samwillis
approved these changes
May 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
alco
pushed a commit
that referenced
this pull request
May 19, 2024
Significant overhaul of debug toolbar, using [themed RadixUI components](https://www.radix-ui.com/themes/docs/overview/getting-started) and [Glide Data Grid](https://grid.glideapps.com/) to minimize project complexity on our side. Toolbar now offers 5 tabs: - **Connection** - inspect connection status and toggle it on and off - **Local DB** - view stored tables and their schemas and allow resetting local DB - **Shapes** - this needs work and is currently a bit hacky but gives an overview of active shape subscriptions - **Inspect Tables** - inspect contents of local tables (including internal ones), gets updated live - **Shell** - execute queries and view them in either table or JSON format, ultimate debug tool Attaching some screenshots: <img width="797" alt="Screenshot 2024-05-08 at 16 17 01" src="https://github.com/electric-sql/electric/assets/12274098/f75759d7-0b11-4e58-b188-b1743bd133b7"> <img width="792" alt="Screenshot 2024-05-08 at 16 17 08" src="https://github.com/electric-sql/electric/assets/12274098/4955ec19-ecda-4e0b-bb2e-084288cfec44"> <img width="799" alt="Screenshot 2024-05-08 at 16 17 14" src="https://github.com/electric-sql/electric/assets/12274098/a3b0fd7a-f15d-47aa-9371-c9debbcb8e98"> <img width="797" alt="Screenshot 2024-05-08 at 16 17 20" src="https://github.com/electric-sql/electric/assets/12274098/99955bc3-c9c6-42ba-b01e-5b43a6444b57"> <img width="799" alt="Screenshot 2024-05-08 at 16 17 31" src="https://github.com/electric-sql/electric/assets/12274098/a0f28dec-a9af-4ad0-8fbd-1e965c6f642b"> P.S. with the recent release of PG on the client and PGlite support I'll have to also introduce multi-dialect support to this but I'll do it in a separate PR, for now it's SQLite focused.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Significant overhaul of debug toolbar, using themed RadixUI components and Glide Data Grid to minimize project complexity on our side.
Toolbar now offers 5 tabs:
Attaching some screenshots:
P.S. with the recent release of PG on the client and PGlite support I'll have to also introduce multi-dialect support to this but I'll do it in a separate PR, for now it's SQLite focused.