-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add GOM demo #200
Add GOM demo #200
Conversation
-Initial implementation, has bugs
Add text based filtering to showcase vs ID filtering Design is still a WIP
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.
This looks really great.
I think all this needs is some minor UX improvements, and few spots where the code could clearer (since demos are for educational purposes).
It's okay to put a few code comments highlighting key elements as well, such as the primary key for a table and the auto-migrate functionality.
Use SearchEntry for text search and SpinButton for ID search and subsequent logic changes Cleaned up logic when no results found Re-organized the UI, cleaner implementation
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.
I think this is great!
I feel the UI is still a bit odd, but we can revisit it after you get GOM into use for the search and see how it works in a real-world application.
Just needs the category/description update and I think we're good to move forward.
Add Gom as dependency for Gom demo ref #workbenchdev/demos#200
Can you rebase this when you get a moment, so we can be sure the GOM dependency is working? |
44f0c19
to
ff6af5b
Compare
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.
Workbench devel (from gnome nightly, makes sure to update if you already have it installed) now has GOM enabled so you can use it to iterate on this demo.
Nice demo!
rename folder to Database change description, title replace var with let add newline
remove Toasts and subsequent use temporarily disable closeDatabase function for checker use sqlite databse
can't leave the adapter open
I pushed some tweaks 69f6079
|
Thanks! |
Let me know if there are improvements!
Screengrabs of the current state [after commit ]:
2024-08-12.18-27-16.mp4