Skip to content

feat(ui): unlock the launch form's landing-page switch - #159

Merged
jbouder merged 1 commit into
mainfrom
feat/ui-landing-page-switch
Oct 21, 2026
Merged

jbouder merged 1 commit into
mainfrom
feat/ui-landing-page-switch

Conversation

@jbouder

@jbouder jbouder commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Unlocks Show on the landing page in the launch form's Access section.

It was locked because the landing page can hide a tile only by group (requiredGroups), so a tile for an App restricted by username would have shown up for everyone. Apps now restrict by group only (#158), so that reason is gone.

  • Launch: sends landingPage.enabled with whatever the switch shows (off by default). It's sent even when off, so a cluster default of "on" doesn't list an App whose switch showed off.
  • Edit: sends landingPage only when the switch changes. An App that relies on the cluster default keeps doing so.
  • Help text: says a private App's tile is shown only to members of its allowed groups.
  • Code removed: the LANDING_PAGE_LOCKED flag and the read-only note.
  • Docs: launching-apps.md describes the switch. The "locked" limitation is removed from README.md and getting-started.md.

Testing

All of these pass:

  • npm run check:ci
  • npm run build
  • npm test: 252, including new tests that the switch sends enabled: true on a launch and that flipping it on an edit sends the change.
  • npm run test:e2e: 143. The launch spec turns the switch on and asserts the request.
  • docs build and check_doc_paths.py.

🤖 Generated with Claude Code

https://claude.ai/code/session_016pvMUQJoLkBDk6B94TTm45

The switch was read-only because the landing page could hide a tile only
by group, not by username. Apps now restrict by group only (#158), so the
form offers it again. A launch sends exactly what the switch shows, even
when the cluster default is on; an edit sends landingPage only when the
switch is flipped, so an App on the cluster default keeps it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016pvMUQJoLkBDk6B94TTm45
@github-actions

Copy link
Copy Markdown

📄 Docs preview for feat/ui-landing-page-switch:
https://feat-ui-landing-page-switch.apps-pack.pages.dev

@jbouder
jbouder merged commit 3f8dd67 into main Oct 21, 2026
15 checks passed
@jbouder
jbouder deleted the feat/ui-landing-page-switch branch October 21, 2026 15:05
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