Skip to content

fix(boost): Clear components on close and test it - #3382

Merged
mkmccarty merged 1 commit into
mainfrom
stones-close-fix
Dec 1, 2026
Merged

mkmccarty merged 1 commit into
mainfrom
stones-close-fix

Conversation

@mkmccarty

Copy link
Copy Markdown
Owner

Update stones and teamwork page handlers to properly handle the "close"
component action by:

  • Deleting the relevant page cache entry immediately
  • Sending an immediate message update with components cleared
    (stones sets ComponentsV1 and ClearComponents)
  • Returning early to prevent further rendering

Remove the old stones "close" early-return behavior and the teamwork
drawButtons/DeferUpdate flow that left stale components.

Add unit tests to verify that:

  • Close clears the corresponding cache entry
  • Stones close response sets ClearComponents=true and
    ComponentsV1=true
  • Teamwork close responds with a message update response

Update stones and teamwork page handlers to properly handle the "close"
component action by:
- Deleting the relevant page cache entry immediately
- Sending an immediate message update with components cleared
(stones sets ComponentsV1 and ClearComponents)
- Returning early to prevent further rendering

Remove the old stones "close" early-return behavior and the teamwork
drawButtons/DeferUpdate flow that left stale components.

Add unit tests to verify that:
- Close clears the corresponding cache entry
- Stones close response sets ClearComponents=true and
ComponentsV1=true
- Teamwork close responds with a message update response
@mkmccarty
mkmccarty merged commit 4713418 into main Dec 1, 2026
13 checks passed
@mkmccarty
mkmccarty deleted the stones-close-fix branch December 1, 2026 22:37
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.

1 participant