Skip to content

feat(hub): add home landing page with platform content#51

Closed
KerwinTsaiii wants to merge 3 commits intodevelopfrom
feat/home-page
Closed

feat(hub): add home landing page with platform content#51
KerwinTsaiii wants to merge 3 commits intodevelopfrom
feat/home-page

Conversation

@KerwinTsaiii
Copy link
Copy Markdown
Collaborator

Summary

  • Add a new home landing page for the Hub with platform content, announcements, and launch bar
  • Fix launch bar not updating after stop and incorrect start URL
  • Update announcement configuration value and Dockerfile for home app build

Changes

  • New home frontend app with React + Vite (runtime/hub/frontend/apps/home/)
  • Updated home.html template to load the new SPA
  • Dockerfile updated to build and include the home app
  • Auto-login authenticator fix
  • Values.yaml announcement config update

Made with Cursor

Replace the stock JupyterHub home page with a branded landing page
that shows platform info, quick-start guide, available courses,
documentation links, and news. The spawner is accessible via a
prominent "Start My Server" button in a floating launch bar.

Also redirect auto-login users to /hub/home instead of /hub/spawn.

Made-with: Cursor
- Convert server_active from a static module variable to React state
  so the launch bar (icon, badge, description, buttons) re-renders
  after stopping the server via DELETE API call
- Point "Start My Server" href to /hub/spawn instead of /hub/user/
  so users go directly to the spawner rather than the "server not
  running" interstitial page
- Remove legacy require(["home"]) from template to prevent the
  JupyterHub home.js from conflicting with React's stop handler
- Remove debug logging panel

Made-with: Cursor
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