fix(dashboard): Hide Update Available while Restore Tables shows - #7453
Open
balamurali27 wants to merge 1 commit into
Open
fix(dashboard): Hide Update Available while Restore Tables shows#7453balamurali27 wants to merge 1 commit into
balamurali27 wants to merge 1 commit into
Conversation
A broken site with a failed migrate update shows both buttons. Update Available invites the user to run another update on a site whose tables are not restored yet. Restore Tables is the only safe next step, so it is now the only button. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F5GozKmiFFYrqCByPjCPbf
Contributor
|
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7453 +/- ##
============================================
+ Coverage 61.94% 86.06% +24.11%
============================================
Files 1067 144 -923
Lines 102449 27676 -74773
Branches 1777 1636 -141
============================================
- Hits 63460 23818 -39642
+ Misses 38944 3813 -35131
Partials 45 45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
A broken site with a failed logical-backup migrate update showed both Update Available and Restore Tables in the header. Update Available invites the user to run another update on a site whose tables are not restored yet. The Update Available button is now hidden while Restore Tables shows.
A Playwright test mocks such a site and checks that Restore Tables is visible and Update Available is not. It fails without the fix.
🤖 Generated with Claude Code
https://claude.ai/code/session_01F5GozKmiFFYrqCByPjCPbf