You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "mikebridge (via GitHub)" <gi...@apache.org> on 2026/10/26 18:57:22 UTC
[PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
mikebridge opened a new pull request, #45745:
URL: https://github.com/apache/superset/pull/45745
A dashboard version preview now shows a clear placeholder for an archived or unavailable chart while the other charts continue to render.
### SUMMARY
Explore can return a successful response without chart metadata for a chart in an older dashboard version. Preview previously treated it as a chart, showing “Untitled chart” and a validation error. The preview now keeps that chart out of hydration and replaces its saved tile with a localized markdown placeholder. The version-history guide and translation template include the new copy.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: the affected tile shows “Untitled chart” and a raw validation error. After: the tile explains that the chart is archived or unavailable and directs editors to Recently Archived. Screenshot capture is pending a deployment with a dashboard version containing an archived chart.
### TESTING INSTRUCTIONS
1. Enable `VERSION_HISTORY` and `SOFT_DELETE`, save a dashboard version containing at least two charts, then archive one chart.
2. Preview the older dashboard version. Confirm that the archived tile shows the placeholder and the other chart renders normally.
3. Close preview and confirm the live dashboard is restored.
4. Run the focused version-history Jest suites and `scripts/translations/check_pot_drift.py`.
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [x] Required feature flags: `VERSION_HISTORY` and `SOFT_DELETE` for the manual archive scenario
- [x] Changes UI
- [ ] Includes DB Migration (follow approval process in SIP-59)
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #45745:
URL: https://github.com/apache/superset/pull/45745#issuecomment-6425614238
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/45745?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 65.40%. Comparing base ([`48254b6`](https://app.codecov.io/gh/apache/superset/commit/48254b641bc1861b191138d58ecf0fc2c9de6df5?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`87356ec`](https://app.codecov.io/gh/apache/superset/commit/87356ec0e218768f8bcfeb6563a60671887e8402?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 4 commits behind head on master.
> :exclamation: There is a different number of reports uploaded between BASE (48254b6) and HEAD (87356ec). Click for more details.
>
> <details><summary>HEAD has 3 uploads less than BASE</summary>
>
>| Flag | BASE (48254b6) | HEAD (87356ec) |
>|------|------|------|
>|python|6|3|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #45745 +/- ##
===========================================
- Coverage 84.35% 65.40% -18.95%
===========================================
Files 3059 3059
Lines 202264 202260 -4
Branches 47383 47379 -4
===========================================
- Hits 170624 132298 -38326
- Misses 28381 66967 +38586
+ Partials 3259 2995 -264
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [hive](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `34.77% <ø> (ø)` | |
| [mysql](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [postgres](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
| [presto](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `36.50% <ø> (?)` | |
| [python](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `52.68% <ø> (-34.77%)` | :arrow_down: |
| [sqlite](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `52.57% <ø> (ø)` | |
| [unit](https://app.codecov.io/gh/apache/superset/pull/45745/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/45745?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
Posted by "mikebridge (via GitHub) via notifications" <no...@superset.apache.org>.
mikebridge commented on PR #45745:
URL: https://github.com/apache/superset/pull/45745#issuecomment-6617859477
Thanks for the catch. I gated the Recently Archived guidance on `SOFT_DELETE` in [d0e0c569bf](https://github.com/apache/superset/commit/d0e0c569bfc79261aaa9224b6876226be431759d). With the flag off, the tile gives neutral archived-or-unavailable text; with it on, the recovery guidance remains. The flag-off test failed before the fix. Both cases, the focused suite (21 tests), POT drift, and changed-file hooks pass.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #45745:
URL: https://github.com/apache/superset/pull/45745#issuecomment-6424765108
### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 87356ec0e218768f8bcfeb6563a60671887e8402 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6adfa29264e340e1bb53ea87 |
|<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-45745--superset-docs-preview.netlify.app](https://deploy-preview-45745--superset-docs-preview.netlify.app) |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br /><br /><br />_Use your smartphone camera to open QR code link._</details> |
|<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#DcpLCoAgEADQu8y6gUz73qBjjDph0EcmMSK6e-7e4r0Q5dxjggmgAit0uFB8OVTN2CiDJC6smT26QJIwCueV73I9x-18Zl92R36h0jvD2tSsrG0109DD9wM) |
---
<!-- [superset-docs-preview Preview](https://deploy-preview-45745--superset-docs-preview.netlify.app) -->
_To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
Posted by "codeant-ai-for-open-source[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
codeant-ai-for-open-source[bot] commented on PR #45745:
URL: https://github.com/apache/superset/pull/45745#issuecomment-6610216862
## <a href="https://codeant.ai/" title="CodeAnt AI"><img src="https://new-codeant-butcket.s3.us-west-1.amazonaws.com/badges/codeant-block-purple-v2.svg" width="28" height="28" align="absmiddle" style="vertical-align:middle" alt="CodeAnt" /></a> CodeAnt PR Risk
**🟢 Low Risk**
- The PR appears safe to merge; no actionable issues were identified in the review.
**Assessed commit:** `87356ec0e218`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(dashboard): show placeholder for archived charts in version preview [superset]
Posted by "aminghadersohi (via GitHub) via notifications" <no...@superset.apache.org>.
aminghadersohi merged PR #45745:
URL: https://github.com/apache/superset/pull/45745
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org