Skip to content

feat(dashboard): Link the restore doc in the archived site banner (backport #7423) - #7439

Open
mergify[bot] wants to merge 1 commit into
masterfrom
mergify/bp/master/pr-7423
Open

feat(dashboard): Link the restore doc in the archived site banner (backport #7423)#7439
mergify[bot] wants to merge 1 commit into
masterfrom
mergify/bp/master/pr-7423

Conversation

@mergify

@mergify mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Problem

The Backups tab of an archived site shows a banner. The banner says only
"Need help with restoring your archived site." and gives a Contact Support
button. The user cannot see that they can do the restore themselves.

Change

The banner now points to the documentation that gives the steps:

To restore an archived site backup, follow the documentation. If you need more assistance, contact support.

The Contact Support button is removed. The text contains a link to
support.frappe.io in its place. The dismiss button does not change, and the
banner still shows only when the site is archived and it has backups.

AlertBanner puts the title into the page with v-html, so the links show
correctly. The link markup is the same as the markup in the shared bench
upsell banner in the same file.

Test

  • The documentation URL gives HTTP 200 and the page contains the
    restore-archived-site anchor. support.frappe.io gives HTTP 200.
  • Checked in a local dashboard on an archived site that has backups. The
    banner shows the new text, both links work, and the button is gone.
  • Biome reports no problem in the changed file.
    This is an automatic backport of pull request feat(dashboard): Link the restore doc in the archived site banner #7423 done by Mergify.

The banner on the Backups tab of an archived site said only "Need help
with restoring your archived site." and gave a Contact Support button.
The user can do the restore without support, but the banner did not tell
them how.

The banner now links to the documentation that gives the steps. The
Contact Support button is replaced with a link to support.frappe.io in
the text, for the users who need more assistance.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
(cherry picked from commit 489f2e8)
@mergify

mergify Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.89%. Comparing base (d17d9d0) to head (a2c9f33).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #7439       +/-   ##
===========================================
+ Coverage   61.27%   86.89%   +25.62%     
===========================================
  Files        1042      137      -905     
  Lines       99787    26322    -73465     
  Branches     1707     1707               
===========================================
- Hits        61144    22873    -38271     
+ Misses      38602     3408    -35194     
  Partials       41       41               
Flag Coverage Δ
dashboard 86.89% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants