feat: Add saved query support to dashboards#1584
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Review: Add saved query support to dashboards✅ Overall Implementation: The feature is well-implemented with comprehensive E2E tests. Issues Found:
Recommendations:
Status: Approve with minor suggestions for follow-up. |
PR Review
Generated by Claude Code |
|
Hey @teeohhem, I’d like to suggest moving the Save query and filters action into the global Dashboard Right now we have a mixed interaction model: the dashboard layout (tiles) autosaves, but query and filter inputs require a manual save via the floppy disk icon. This can be confusing. Two main UX issues with the current placement:
Moving this into the Dashboard
The menu could be state-based. State 1: No defaults saved:[ Menu]
----------------------------------
⬇️ Export Dashboard
⬆️ Import New Dashboard
----------------------------------
💾 Save Query & Filters as Default
----------------------------------
🗑️ Delete Dashboard (danger text)State 2: Defaults are active[ Menu ]
----------------------------------
⬇️ Export Dashboard
⬆️ Import New Dashboard
----------------------------------
💾 Update Default Query & Filters
✖️ Remove Default Query & Filters (danger text)
----------------------------------
🗑️ Delete Dashboard (danger text)This is only a suggestion. Let me know what you think. |
ba26bc6 to
15aa31f
Compare
PR Review: feat: Add saved query support to dashboards
Overall design is solid — the URL-params-override-saved-query logic and the |
854c906 to
7ff15d3
Compare
|
@elizabetdev Thanks for your suggestions. I've updated the PR based on that. Attached videos demonstrating how create/update/delete states work in the kebab dropdown. |
PR Review: feat: Add saved query support to dashboardsOverall: Clean implementation. The API change is safe — Zod validates against Issues
No critical bugs or security issues found. |
7ff15d3 to
e4f9521
Compare
e4f9521 to
43f6e50
Compare
E2E Test Results✅ All tests passed • 72 passed • 4 skipped • 852s
Tests ran across 4 shards in parallel. |
|
@elizabetdev Good idea. Just implemented that. |
091a5ad to
0a14cff
Compare
0a14cff to
655d69f
Compare
655d69f to
4d6949d
Compare
PR Review
Generated by Claude Code |
4d6949d to
abd167f
Compare
In #1584 we added saved default query/filter values support to dashboards. This PR extends that support to the external API. Fixes HDX-3519
Fixes: HDX-1717 On the dashboard page, this PR adds: * An option in the ... dropdown to Save/update/delete default query/filters that will save the WHERE input filter, along with any filters applied to the dashboard via the custom filter functionality + ties it to the dashboard object itself. Future reloads of this dashboard will restore saved values. https://github.com/user-attachments/assets/5f7c18f7-a695-4d19-b338-6de852a4af6b https://github.com/user-attachments/assets/ea7653c8-f862-450f-916c-46edfcbfbf35 Co-authored-by: Himanshu Kapoor <2203925+fleon@users.noreply.github.com>
In #1584 we added saved default query/filter values support to dashboards. This PR extends that support to the external API. Fixes HDX-3519
Fixes: HDX-1717
On the dashboard page, this PR adds:
CleanShot.2026-02-23.at.17.05.46.mp4
CleanShot.2026-02-23.at.17.09.41.mp4