-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Query View redesign #4536
Query View redesign #4536
Conversation
Regarding the fullscreen toggle:
I inverted the "Add tag" with "Add description" (considering Figma style) just because it was easier, LMK if it actually should be exactly as in Firgma (it seemed an ok change to me). |
I'm currently using a In my 14'' laptop (1366x768) https://deploy-preview-4536--redash-preview.netlify.com/queries/307 doesn't look that good (only one row appearing at a time), but the Toogle Fullscreen with a shortcut makes it work once you get used to it. |
a018536
to
6576476
Compare
- background color slightly different - use link for New Visualization
I rebased this with master and force pushed. |
Also, need to update the header on mobile to be more like the Figma design. I would skip adding "add tag"/"add description" buttons on mobile. |
I think I'll just handle those comments along with #4584. It doesn't make that much sense to be in there, but it will spare the rebasing. |
* QueryResult: added support for getting status updates using a callback instead of polling on the query result status. This is a step towards bigger refacotr. We should completly rewrite this class and split it into two: 1. QueryExecution -- executes a query and tracks status. 2. QueryResult -- represents the actual QueryResult and has the different utilities to use the results (although those might be moved into helpers). * Refactor useQueryExecution. * useQueryExecution: only consider last triggered execution * Fix execution triggered on every query update * Add loadedInitialResults and fix loading results issues * Only show Add Vis button when results are done * Don't show notification on first results load * Remove unnecessary useEffect * Add margin between text and cancel button * Add Refresh button to QuerySource * Update ExecutionStatus positioning * Mobile updates * Add more spacing for execution status in mobile * Add spacing between results wrapper and resizer * Align Query description * Hide Add Description/tag on mobile * Allow different messages for no results/empty set * Don't show empty state when opening new query page * Add min-width to ExecutionStatus * Improve ExecutionStatus spacing * Use same execution information for view/edit * Use autoFocus in EditInPlace for focus - remove inputRef and use autoFocus attr * Control visualization row emptyState from Renderer * Fix broken Filters on Visualization Renderer * Don't handle empty state based on context * Add Data Source label to data source. * Reuse useFullscreenHandler in QueryView page. * (style fix) Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>
What type of PR is this? (check all applicable)
Description
To-do:
Related Tickets & Documents
Figma
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Not yet :)