{{ message }}
feat(dashboard): add revision history and restore commands#936
Merged
Conversation
Add `sentry dashboard revisions` to list revision history for a dashboard and `sentry dashboard restore` to revert to a previous revision. - New API functions: listDashboardRevisionsPaginated, restoreDashboardRevision - DashboardRevision type with Zod schema - Full cursor-based pagination support for revisions list - `history` alias for `revisions` subcommand Fixes #935
Contributor
Member
Author
|
fix-ci: attempt 1 — |
Member
Author
|
fix-ci: added |
Contributor
Codecov Results 📊✅ 6856 passed | Total: 6856 | Pass Rate: 100% | Execution Time: 0ms 📊 Comparison with Base Branch
All tests are passing successfully. ❌ Patch coverage is 75.68%. Project has 14046 uncovered lines. Files with missing lines (3)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 77.06% 76.97% -0.09%
==========================================
Files 317 319 +2
Lines 60587 60988 +401
Branches 0 0 —
==========================================
+ Hits 46688 46942 +254
- Misses 13899 14046 +147
- Partials 0 0 —Generated by Codecov Action |
Member
Author
…estore - Fix placeholder from 'org/project/dashboard' to 'org/dashboard' since dashboards are org-scoped, not project-scoped - Add test coverage for revisions and restore commands
This file contains hidden or 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
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.

Add
sentry dashboard revisionsandsentry dashboard restorecommands to support dashboard revision history.revisionslists saved revisions for a dashboard with cursor-based paginationrestorereverts a dashboard to a specific revision by IDhistoryalias available forrevisionsCloses #935