Skip to content

fix: refresh dcc-bus after SSO and surface connect failures - #4

Merged
keskad merged 1 commit into
mainfrom
fix/presence-after-sso
Aug 23, 2026
Merged

fix: refresh dcc-bus after SSO and surface connect failures#4
keskad merged 1 commit into
mainfrom
fix/presence-after-sso

Conversation

@keskad

@keskad keskad commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • After organizer SSO the kiosk now calls GET /api/v1/layouts/{id}/presence (already proxied to BigFred) before warming the programming WebSocket, so dcc-bus programs are rebuilt without opening the BigFred dashboard.
  • A failed connectProgramming() is no longer swallowed: the shell shows the error plus a retry button.

Test plan

  • SSO into the wizard on a hub where the layout is not open in the BigFred SPA; programming should connect (together with bigfred PR #64) instead of a silent 503
  • Force a dcc-bus failure and confirm the home/about chrome shows the error and Retry re-runs presence + connect
  • Successful login still lands on the home tiles with no banner

Made with Cursor

The kiosk never called GET /layouts/{id}/presence, so dcc-bus programs
were not rebuilt after organizer login and a failed programming warm-up
was swallowed. Poll presence first, then connect, and show a retryable
banner when the socket is down.

Co-authored-by: Cursor <cursoragent@cursor.com>
@keskad
keskad merged commit b18337e into main Aug 23, 2026
3 checks passed
@keskad
keskad deleted the fix/presence-after-sso branch August 23, 2026 11:03
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