Skip to content

Decide beside an app's access rules whether it shows on Home - #366

Merged
jonathanlaib merged 4 commits into
mainfrom
access-home
Nov 24, 2026
Merged

jonathanlaib merged 4 commits into
mainfrom
access-home

Conversation

@jonathanlaib

@jonathanlaib jonathanlaib commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #365.

Problem

Three decisions shape who meets an app: who manages it, who can use it, and whether it appears on Home. The first two are on the app's Access section. The third is a "catalog" section among the app's settings, next to deleting the app, and it speaks of a catalog that the interface otherwise calls Home.

Change

Show on Home. The Access section's App usage page ends with a switch, Show on Home, under the rules for who can use the app. Choosing it saves at once; a save that fails returns the switch to the saved state and says why. It is available once the app is deployed, to the app's owner and administrators; a preview has none.

No catalog in the interface. The settings lose their catalog section. The switch, the two refusals of the server and Home's empty state name Home. The list of app APIs calls its first view All APIs instead of Catalog.

The API and the CLI keep their names (/catalog, widefleet catalog publish), so nothing that calls them changes.

Not included

  • Home still shows a listed app to everyone, also to people the app's rules keep out. Showing only the apps a person can open follows in the next pull request.
  • The paths of an app's page (/catalog/apps/…) and of templates (/catalog/templates) keep their names.

Screenshots

Synthetic fixture: an owner and a deployed app.

App usage with the switch
At 390 pixels, dark

Verification

  • pnpm typecheck, pnpm format:check, pnpm lint
  • pnpm exec vitest run apps/control-plane/tests against local Postgres and object storage
  • tests/e2e/auth.spec.ts and tests/e2e/organization-writes.spec.ts, all 64 tests. Changed case: the owner turns the switch on and off on the Access section and a member sees the app appear on Home and leave it; a member who forges the switch's request is refused and the app stays unlisted.
  • Rendered result checked at 1280 and 390 pixels wide, in light and dark: no clipping or horizontal overflow. Not checked: the switch for a collaborator who may not change it, and the state before the first deployment.

Documentation: #351 (draft, blocked until a release contains this change).

RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

Moves “Show on Home” from Settings to Access and replaces catalog wording without changing API or CLI names.

  • App owners now switch Home visibility beside an app’s access rules.
  • The first app API view is called All APIs.

Reviews (2) · Last reviewed commit: "Wait for the save before checking that a..." · Reviewed by Greptile

Home lists the published apps that are not connectors; connectors have
their place on My connections, where a published connector's name now
leads to its page. A card puts the icon beside the name and ends with a
bar that holds the connectors its app works with and the way into the
app.

Catalog entries tell whether an app is a connector and which apps its
active deployment may call.
Whether an app appears on Home is a switch on the app's Access section,
under the rules for who can use it, instead of a catalog section among
the app's settings. The interface no longer speaks of a catalog: the
switch, its messages and Home's empty state name Home.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
widefleet-docs 3789f30 Nov 23 2026, 10:49 PM

Base automatically changed from home-apps to main November 24, 2026 09:18
@jonathanlaib
jonathanlaib merged commit 55e9848 into main Nov 24, 2026
18 checks passed
@jonathanlaib
jonathanlaib deleted the access-home branch November 24, 2026 09:20
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