Skip to content

fix: Wake the digest drawer Apply up only on a real change - EXO-89484 - eXIP7.3.0.22 - #6046

Merged
azayati merged 2 commits into
feature/experiencefrom
exip-7.3.0.22-us03-fix-drawer-apply
Sep 1, 2026
Merged

fix: Wake the digest drawer Apply up only on a real change - EXO-89484 - eXIP7.3.0.22#6046
azayati merged 2 commits into
feature/experiencefrom
exip-7.3.0.22-us03-fix-drawer-apply

Conversation

@azayati

@azayati azayati commented Sep 1, 2026

Copy link
Copy Markdown
Member

Follow-up fix of #6027, found by functional testing of the merged US03 (together with Meeds-io/commons#773, which fixes the empty category list).

Reported: Apply was enabled on a freshly opened drawer, and went disabled as soon as a frequency was checked — the reverse of the expected behavior.

Why both symptoms had one root: the category list arrived empty (the commons#773 bug), so checking a frequency selected zero categories, which the validity rule rightly refuses. And Apply had no dirty check, so a pristine drawer was 'valid' and enabled.

Fix: the drawer snapshots what the server holds at open time; Apply wakes up only when the choices differ from it, then still follows the server rule (an enabled frequency with no category stays refused). Unchecking everything remains a change to apply — it is how the user switches his digest off, per §1 'Unchecking all switches off the option'.

With commons#773 deployed, checking a frequency proposes all categories checked (per the design) and Apply enables; reverting to the loaded state disables it again.

AI contribution

Classified N1 — human-driven, no auto-merge, author ≠ approver.

…- eXIP7.3.0.22

Apply was enabled on a freshly opened drawer and went disabled as soon as a
frequency was checked. It now sleeps until the choices differ from what the
server holds, then follows the server rule: an enabled frequency with no
category stays refused. Unchecking everything stays a change to apply, it is
how the user switches his digest off.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the partialCIBuild Perform Partial CI Build label Sep 1, 2026
…-89484 - eXIP7.3.0.22

The categories of a frequency that is off don't count: checking a frequency,
playing with its categories and unchecking it again is going back to the
initial state, and Apply must sleep. Apply now wakes up only when the
effective choices differ from what the server holds.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@azayati
azayati merged commit c798a9c into feature/experience Sep 1, 2026
3 checks passed
@azayati
azayati deleted the exip-7.3.0.22-us03-fix-drawer-apply branch September 1, 2026 14:33
@sonarqubecloud

sonarqubecloud Bot commented Sep 1, 2026

Copy link
Copy Markdown

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

Labels

partialCIBuild Perform Partial CI Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant