Repository navigation
Document app descriptions - #347
Draft
jonathanlaib wants to merge 1 commit into
Draft
jonathanlaib wants to merge 1 commit into
jonathanlaib wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | d9d0f2b | Nov 23 2026, 04:23 PM |
jonathanlaib
force-pushed
the
docs/app-description
branch
from
November 23, 2026 15:52
82d6e5c to
ff8f046
Compare
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&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&next=%2Fwidefleet%2Fwidefleet%2Fpull%2F346&utm_source=greptile_review&utm_medium=github&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 -->
jonathanlaib
force-pushed
the
docs/app-description
branch
from
November 23, 2026 16:22
ff8f046 to
d9d0f2b
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mainand contains only documentation.