feat(privacy): mark cleanup preview as stale when whitelist changes
The preview block caches the deletion estimate from the last refresh. When the user toggles whitelist channels afterwards the cached number no longer reflects the current selection. Snapshot the whitelist on refresh and detect drift on every frame; on drift, grey out the counts and surface a stale hint plus an emphasised refresh button. Sits alongside the existing Cleanup_Help_SavedNote, which warns about a different mismatch (mutable vs saved) and stays as-is.
This commit is contained in:
@@ -81,6 +81,9 @@
|
||||
<data name="Retention_Help_SavedNote" xml:space="preserve">
|
||||
<value>The manual sweep uses your SAVED retention policy, not the slider values above. Click Save first if you want the run to apply your current edits.</value>
|
||||
</data>
|
||||
<data name="Cleanup_Preview_Stale" xml:space="preserve">
|
||||
<value>Preview is out of date — your whitelist has changed since the last refresh. Click Refresh to recalculate.</value>
|
||||
</data>
|
||||
<data name="Cleanup_RefreshPreview" xml:space="preserve">
|
||||
<value>Refresh preview</value>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user