perf(window): use focus class consts + add focus-pause smoke test #114

Merged
zaelgohary merged 2 commits from development_feat_hide_services_island into development 2026-04-29 19:26:27 +00:00
Member

Summary

Switches the host's focused/unfocused class literals to the shared consts, adds the focus-pause CI smoke test, and preserves the id="window-{state.id}" wiring islands rely on.

Closes #115

Changes

  • Used WINDOW_FOCUSED_CLASS + WINDOW_UNFOCUSED_CLASS consts
  • Added focus_pause.spec.ts (47s, asserts 0 hero_db reqs in 30s)

Test Results

focus_pause.spec.ts passes against release build.

Depends on

hero_archipelagos PR #194.

## Summary Switches the host's focused/unfocused class literals to the shared consts, adds the focus-pause CI smoke test, and preserves the id="window-{state.id}" wiring islands rely on. ## Related Issue Closes #115 ## Changes - Used WINDOW_FOCUSED_CLASS + WINDOW_UNFOCUSED_CLASS consts - Added focus_pause.spec.ts (47s, asserts 0 hero_db reqs in 30s) ## Test Results focus_pause.spec.ts passes against release build. ## Depends on hero_archipelagos PR #194.
test(perf): smoke test for focus-pause polling regression
Some checks failed
Build and Test / build (pull_request) Failing after 1m54s
e373259078
Uses redis as canary: opens island, focuses messaging, asserts 0
hero_db requests in 30s after defocus. Runs in 47s — CI-eligible
(no underscore prefix). Also swaps two CSS class string literals
for the WINDOW_FOCUSED_CLASS / WINDOW_UNFOCUSED_CLASS consts now
exported from hero_archipelagos_core (depends on archipelagos PR
194 merging first).
zaelgohary force-pushed development_feat_hide_services_island from e373259078
Some checks failed
Build and Test / build (pull_request) Failing after 1m54s
to caa388cc27
Some checks failed
Build and Test / build (pull_request) Failing after 3m7s
2026-04-29 19:09:29 +00:00
Compare
chore(deps): bump hero_archipelagos for use_focus_poll
All checks were successful
Build and Test / build (pull_request) Successful in 4m17s
603e38dfd8
zaelgohary merged commit 62a4225b36 into development 2026-04-29 19:26:27 +00:00
zaelgohary deleted branch development_feat_hide_services_island 2026-04-29 19:26:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os!114
No description provided.