AI Implementation feature(905): Challenges Page and Challenge Solve Modal 1.01 (#47)
This commit was merged in pull request #47.
This commit is contained in:
@@ -66,8 +66,13 @@ renders `[data-testid="challenges-gate"]`:
|
||||
|
||||
When `secondsToStart` or `secondsToEnd` reach zero, the
|
||||
`ChallengesPage` triggers a full `window.location.reload()` via
|
||||
`EventStatusStore.reloadAtCountdownZero(...)` so the SPA re-evaluates
|
||||
the board visibility from the server snapshot.
|
||||
`EventStatusStore.subscribeReloadAtCountdownZero(...)` so the SPA
|
||||
re-evaluates the board visibility from the server snapshot. The
|
||||
subscription is page-owned: `ChallengesPage` registers the handler in
|
||||
its constructor and wires the returned disposer into its `DestroyRef`
|
||||
so the reload listener is cleared as soon as the page is destroyed,
|
||||
independent of the store's `start()`/`stop()` transport lifecycle (see
|
||||
[Event Window — Auto-reload at the transition boundary](/guides/event-window.md#auto-reload-at-the-transition-boundary)).
|
||||
|
||||
## Challenge modal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user