Skip to content

Tile: Show an applying hint while a policy write settles - #59

Merged
d4rken merged 1 commit into
mainfrom
feat/tile-applying
Aug 14, 2026
Merged

Tile: Show an applying hint while a policy write settles#59
d4rken merged 1 commit into
mainfrom
feat/tile-applying

Conversation

@d4rken

@d4rken d4rken commented Aug 13, 2026

Copy link
Copy Markdown
Member

What changed

While a charging-policy change is still settling, the Quick Settings tile now shows "Applying…" as its subtitle instead of the static access/adapter label — matching the dashboard's cue, and the "Replug to apply" hint that plug-latched devices already had.

Technical Context

  • The two pending kinds (settling window, awaiting-replug) are mutually exclusive by construction — the when-chain order is documentation, not logic — so no new decision unit or test is warranted; both predicates are already pinned by their existing tests.
  • The subtitle can go stale while QS stays open (~15s worst case); that matches the accepted staleness of the existing replug hint, since QS-open is the tile's only refresh cadence. Active sessions and API < 29 behave exactly as before.

The QS tile's subtitle covered the plug-latched replug hint but not the
ordinary settling window - a policy tapped elsewhere read as already
final when QS was opened mid-transition. The subtitle now prefers the
two pending states (mutually exclusive by construction) over the static
access/adapter label, with the same QS-open staleness the replug hint
already accepts.
@github-actions github-actions Bot added the enhancement New feature or request label Aug 13, 2026
@d4rken
d4rken merged commit e0875fb into main Aug 14, 2026
12 checks passed
@d4rken
d4rken deleted the feat/tile-applying branch August 14, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant