Repository navigation
Document renaming an app - #349
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 | 43c8e32 | Nov 23 2026, 04:39 PM |
jonathanlaib
added a commit
that referenced
this pull request
Nov 23, 2026
Follows #346, which added the description and its editor. ## Problem An app keeps the name it was created with. A typo or a name that no longer fits can only be fixed by creating the app again. ## Change **Rename.** Everyone who manages an app can change the name people see. The app's slug, address and ID stay, so links, commands and deployments keep working. **App pages.** The heading is edited like the description below it: pointing at it or focusing it shows a pencil, choosing it turns the name into a field in the same place, and Save and Discard appear once the text differs. Enter saves, Escape discards. The name cannot be empty. Previews can be renamed too. **One editor.** The description's editor becomes a shared component for both texts. The text and its edit button are separate elements, so the heading reads as the name alone. **Header layout.** The name moves below the row with the status and the actions. Editing it then does not move the actions, and a long name has the full width at narrow sizes. **API and CLI.** `PUT /apps/{appId}/name` with `{ "displayName": "…" }`, and `widefleet rename <APP> <NAME>`. ## Screenshots Synthetic fixture: an owner renames a published app. | | | |---|---| | Before: name beside the actions | <img src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/6f3b8c2760410b3b20d3babdf6274a1dd3a73939/shown-1280-light.png" width="420"> | | After: name below them, with the pencil while focused | <img src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/22573c19af463e735480ad1d6bbe6af1db404dff/name-shown-1280-light.png" width="420"> | | Editing, with Save and Discard | <img src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/22573c19af463e735480ad1d6bbe6af1db404dff/name-edit-1280-light.png" width="420"> | | Editing at 390 pixels, dark | <img src="https://gist.githubusercontent.com/jonathanlaib/ab68279d4ff46a6ecda9ed0efcb99869/raw/22573c19af463e735480ad1d6bbe6af1db404dff/name-edit-390-dark.png" width="200"> | ## 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 rename, an empty name, the trimmed result, the renamed catalog entry, and the CLI command. Four release publication tests timed out in the full run and pass on their own; they do not touch this change. - `tests/e2e/auth.spec.ts`, all 49 tests: the owner opens the name, discards a draft with Escape, reopens it with the keyboard and saves with Enter; the heading, the page title and the member's Home show the new name. - Rendered result checked on an app page at 1280 and 390 pixels wide, in light and dark: the field takes the place of the name, and the actions and the content below do not move. Not checked: a name of the full 120 characters, and the pencil on a touch device, where it is always shown. Documentation: #349 (draft, blocked until a release contains this change). <!-- greptile_comment --> <!-- greptile_summary --> <h2><a href="https://app.greptile.com/api/retrigger?id=116785892&sig=07adba9c1cbe94f44cca113f04af07b7e7f13938acc5bda0d0d0ea5645b5e995"><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%2F348&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. <details open><summary><h3>Summary</h3></summary> Adds in-place app renaming through the heading, API, and CLI. - App managers can change an app’s displayed name without changing its address. </details> <!-- greptile_confidence_score:5 --> <sub>Reviews (1) · Last reviewed commit: ["Rename an app in place in its heading"](8526979) · [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-name
branch
from
November 23, 2026 16:38
da0b9d5 to
43c8e32
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 renaming an app from #348: on the app's page and with
widefleet rename.Publication
Blocked until a published release contains #348. The guide names 0.7.21 as the first version; update it if the change ships in a later release.
#348 is merged; this branch is rebased onto
mainand contains only documentation.