Skip to content

Give every published app a page for the people who use it - #350

Merged
jonathanlaib merged 7 commits into
mainfrom
app-detail-page
Nov 23, 2026
Merged

jonathanlaib merged 7 commits into
mainfrom
app-detail-page

Conversation

@jonathanlaib

@jonathanlaib jonathanlaib commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Only the people who manage an app have a page for it. Everyone else has the tile on Home, which opens the app at once, and gets "not found" under the app's address although the app is published. There is no place to look at an app before opening it, and a link to an app that a colleague shares leads nowhere.

App APIs are a place of their own, reached from a button on My apps, although each entry describes what one app exposes.

Change

A page for everyone. Every published app has a page at /catalog/apps/{id}. It shows the icon, name, description and Open app, then screenshots, a longer text, the reader's connections and the owner's name. It belongs to Home in the sidebar and leads back there.

Screenshots. An app shows itself with up to three pictures among its static assets: /screenshots/1 to /screenshots/3 as .png, .jpg or .webp, up to 2 MiB each. Like the icon, they come with a deployment, so they need no upload and a template carries its own. The page shows the ones that exist in a row; each opens in a new tab. They are served under the icon's rules for access, caching and response headers. People who manage an app without screenshots read how to add them.

Longer text. An app can carry Markdown of up to 2,000 characters: a few sentences and a list. Raw HTML and images are not rendered, so the text loads nothing from other sites.

Connections. The page lists the reader's own accounts with the app itself and with the apps its active deployment may call, each with its status and the actions My connections offers. An app without such accounts shows no section.

The same page for the people who manage the app. An app's Overview is now this page, under the name and description they already edit. They write the longer text in place: the pencil beside it opens a field, Save and Discard appear once the text changes, Escape discards. The first-deployment steps stay on Overview until the app is deployed. The latest deployment, the app's address and Create preview move to a new Status section.

Home. A tile leads to the app's page: to this page, or to the pages for managing the app for the people who manage it. A button on the tile opens the app in a new tab. The note about signing in below the tiles is gone.

Shared links. The pages for managing an app lead people who do not manage it to its page for everyone. An app that is not published still answers "not found".

API section. An app's pages for managing it have an API section with the reference of the active deployment: entrypoints, methods, types, availability. An app that is not deployed says so; an app without entrypoints says that it exposes no API. Refreshing the app also reloads the reference.

My apps. The App APIs button is gone. The list of all APIs, connection requests and the connect flow keep their pages under /services and are reached from an app's Connections section. The page of one API there renders the same reference.

API and CLI. GET /catalog/apps/{appId} returns the page: the catalog entry with about, owner, screenshots, the numbers that exist, and uses, the IDs of the apps the active deployment may call. GET /apps/{appId}/screenshots/{number} returns one picture. People who manage an app read it before the app is published. PUT /apps/{appId}/about sets the text; an empty text removes it. The CLI has widefleet catalog show <APP> and widefleet catalog about <APP> <TEXT>. The app record returns about. A migration adds the about column to app.

Not included

  • Connections lists personal connections. Apps that reach a system with one shared credential are not recognizable yet, so the page does not show them.
  • Connecting an account from an app's page ends on My connections, where the flow always returns.
  • Screenshots change with a deployment. Uploading them on the page would need storage of its own.
  • The templates do not carry screenshots yet.
  • An app installed from a template starts without the longer text.
  • Where connection requests should live is open.

Screenshots

Synthetic fixture: an owner who publishes one app, a member who does not manage it, and an app with a documented entrypoint.

Before After
Home, member
The app's address, member
The app's page with screenshots, text, connections and owner
The same at 390 pixels, dark
Overview for the people who manage the app
Editing the text
Editing at 390 pixels, dark
Status section
API section for the people who manage the app

Verification

  • pnpm typecheck, pnpm format:check, pnpm lint, cargo fmt --check, cargo clippy and cargo test for platform-core and platform-cli
  • pnpm exec vitest run against local Postgres and object storage, and the CLI suite against the built CLI. New cases: who may set the longer text, its length limit, clearing it, the page for a member before and after publication, its owner and the apps it calls, the two CLI commands, including a text that opens with a list, which files count as screenshots, and who is served one.
  • tests/e2e/auth.spec.ts and tests/e2e/organization-writes.spec.ts, all 64 tests. New and changed cases: an app that is not published answers 404 to a member; once published, the member follows the tile to the app's page and sees name, description, the longer text as a list, the owner and Open app, and nothing to edit or manage; an image in the text is not rendered; an address for managing the app leads the member to that page; the owner writes the text on Overview; a connector's page shows the member's account with it, and an app that calls a connector shows that account too; the page shows the screenshot its deployment carries; the API section says when the app is not deployed and shows the reference once it is.
  • Rendered result checked for the app's page, Overview while reading and editing, and Status at 1280 and 390 pixels wide, in light and dark: no clipping or horizontal overflow, and the text keeps its place when the field opens. The pictures in the screenshots stand in for an app's own. Not checked: a text of the full 2,000 characters, an app with many connections, and screenshots in portrait format.
  • Not run locally: tests/runtime/deployment.test.ts, which needs the runtime. Two of its steps now choose Status to reach the app's address.

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

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; the latest change fixes the remaining screenshot issue.

Summary

Adds published app pages with screenshots, Markdown text, personal connections, and an API section.

  • Published apps now have pages that show people what they do.
  • App managers can save a longer description for their app page.
  • Each managed app now has an API section for its deployment reference.
  • Home tiles lead to app pages, and managers find deployment details under Status.

Reviews (6) · Last reviewed commit: "Name only the screenshots that are serve..." · Reviewed by Greptile

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 23, 2026 •

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 07e2b5f Nov 23 2026, 09:06 PM

…and owner

An app's page now carries a longer text as Markdown, the reader's own
accounts with the app and the apps it calls, and the owner's name.
People who manage the app see the same on Overview and edit the text in
place. What Overview showed before moves to a Status section.

The API returns the page at GET /catalog/apps/{appId} and sets the text
with PUT /apps/{appId}/about; the CLI adds catalog show and catalog
about.
An app shows itself with up to three pictures among its static assets,
at /screenshots/1 to /screenshots/3 as PNG, JPEG or WebP of up to 2 MiB.
Like the icon, they come with a deployment and are served under the
icon's rules. The app's page lists the ones that exist and shows them
in a row above the text.
@jonathanlaib
jonathanlaib merged commit 4eda271 into main Nov 23, 2026
16 checks passed
@jonathanlaib
jonathanlaib deleted the app-detail-page branch November 23, 2026 21:17
jonathanlaib added a commit that referenced this pull request Nov 30, 2026
## Problem

Every app has a page with an icon, a description and a longer text
(#350). Agents that build and deploy an app leave it empty: the
`widefleet` skill, the starter `AGENTS.md` files and the docs never
mention `widefleet catalog describe` or `catalog about`. Colleagues then
see an app with no explanation of what it is for.

## Changes

- **Applications guide:** a section *Show what the app is for*: where
each part of the page comes from, `widefleet catalog describe` and
`catalog about`, and how to check the result with `widefleet catalog
show`.
- **Skill and starter `AGENTS.md`:** a new web app is finished only when
its page says what it is for. The agent sets the description with
`deployment.appId` from `deploy --json` and checks that `catalog show`
lists a `description`.

No CLI or server change: the commands are released.

Screenshots follow in #512, stacked on this PR.

## Verification

- Commands, limits (200 / 2,000 characters) and the `deploy --json` and
`catalog show` fields checked against `catalog.rs`, `deploy.rs` and
`packages/contracts`.
- `catalog show` answers for unpublished apps their managers can see
(`listing` in `apps.ts`).
- `oxfmt --check` passes on the changed files; `blume validate` finds no
broken links.
- Not yet checked: an agent run with the new skill against a real
deployment.
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