Skip to content

Document app descriptions - #347

Draft
jonathanlaib wants to merge 1 commit into
mainfrom
docs/app-description
Draft

jonathanlaib wants to merge 1 commit into
mainfrom
docs/app-description

Conversation

@jonathanlaib

@jonathanlaib jonathanlaib commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Documents app descriptions from #346: how to set one, where it appears and who may change it.

Publication

Blocked until a published release contains #346. The guide names 0.7.21 as the first version; update it if the change ships in a later release.

#346 is merged; this branch is rebased onto main and contains only documentation.

@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 d9d0f2b Nov 23 2026, 04:23 PM

jonathanlaib added a commit that referenced this pull request Nov 23, 2026
## Problem

An app has a name and an address, but nothing says what it is for. On
Home, a tile shows the app's hostname under its name, which does not
help someone decide whether the app is the one they need.

## Change

**Description.** An app can carry one sentence of up to 200 characters.
Everyone who manages the app can set it; an empty text removes it.

**App pages.** The description stands under the app's name. Pointing at
it or focusing it shows a pencil, and choosing it turns the text into a
field in the same place. Save and Discard appear beside the field once
the text differs from the saved one; Enter saves and Escape discards.
Leaving the field keeps unsaved text. An app without a description
offers **Add a description** there. Previews do not have one, as they
are not listed.

**Home.** A tile shows the description in place of the hostname when the
app has one. The search on Home also matches it.

**API and CLI.** `PUT /apps/{appId}/description` sets it, `widefleet
catalog describe <APP> <DESCRIPTION>` calls it. The app record and
catalog entries return `description`, which is `null` without one.

**Templates.** An app installed from a template takes the template's
description once the install's deployment is accepted, unless someone
already described the app. An install reads the description before it
builds or creates anything.

## Not included

- The description appears on the app's pages and on Home. My connections
does not show it yet.
- Editing the app's name in place follows in a separate pull request.
- Editing needs JavaScript. Without it, the description shows as text.

## Screenshots

Synthetic fixture: an owner who publishes one app, and a member who sees
it on Home.

| | |
|---|---|
| Shown under the name, with the pencil on hover | <img
src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/6f3b8c2760410b3b20d3babdf6274a1dd3a73939/shown-1280-light.png"
width="420"> |
| Editing, with Save and Discard | <img
src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/6f3b8c2760410b3b20d3babdf6274a1dd3a73939/edit-1280-light.png"
width="420"> |
| Editing at 390 pixels, dark | <img
src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/6f3b8c2760410b3b20d3babdf6274a1dd3a73939/edit-390-dark.png"
width="200"> |
| Home | <img
src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/6f3b8c2760410b3b20d3babdf6274a1dd3a73939/home-1280-light.png"
width="420"> |

## 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. Cases: who may set a description,
the length limit, clearing it, the catalog entry, the CLI command, and
template installs: a new app, an app an earlier install left, a
description someone saved, a rejected install and an unreadable template
document.
- `tests/e2e/auth.spec.ts`: the owner opens the editor, discards a draft
with the pointer, reopens it with the keyboard, saves, and the member
sees the text on Home. Focus returns to the description after saving and
discarding.
- Rendered result checked on an app page and Home at 1280 and 390 pixels
wide, in light and dark: the field takes the place of the text, so the
text, the actions beside the name and the content below do not move. Not
checked: a description of the full 200 characters, and the pencil on a
touch device, where it is always shown.

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




<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=116688584&amp;sig=15f62b5d08b759d07dfc380521e618277233c5aa5aeb0b865c205d3271cfb84a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=mendra&amp;next=%2Fwidefleet%2Fwidefleet%2Fpull%2F346&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; the
previous lost-edit issue is fixed.

<details open><summary><h3>Summary</h3></summary>

This PR adds short app descriptions to app pages, Home, the API, the
CLI, and template installs.
- App managers can save a short description from the page or CLI.
- Home shows app descriptions instead of hostnames when available.
- Template installs give new apps the template description when
available.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (6) · Last reviewed commit: ["Keep the description fixed
while it is
b..."](dee372f)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=widefleet/widefleet)</sub>

<!-- /greptile_comment -->
Base automatically changed from app-description to main November 23, 2026 16:11
@jonathanlaib jonathanlaib added the documentation Improvements or additions to documentation label Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant