Skip to content

workplace: the room is read once at boot whether or not the tab is visible - #40

Merged
richard-epsilla merged 1 commit into
mainfrom
workplace-boot-hidden
Oct 2, 2026
Merged

richard-epsilla merged 1 commit into
mainfrom
workplace-boot-hidden

Conversation

@richard-epsilla

Copy link
Copy Markdown
Contributor

The periodic refreshes run only while the tab is visible, so a tab that booted in the background (opened behind another, or switched away from in its first seconds) sat on "Opening the workplace" with an empty room list until it was looked at. The first read of teammates and cards is now a plain effect on ready; the visible-only interval keeps the refreshes. Proven on hr-test with document.hidden forced true from the first script: nine rooms listed within two seconds.

🤖 Generated with Claude Code

…sible

The periodic refreshes run only while the tab is visible, so a tab that booted in the background
sat on "Opening the workplace" with an empty room list until it was looked at.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@richard-epsilla
richard-epsilla merged commit 4fe5570 into main Oct 2, 2026
@richard-epsilla
richard-epsilla deleted the workplace-boot-hidden branch October 2, 2026 03:17
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