Skip to content

Rename an app in place in its heading - #348

Merged
jonathanlaib merged 1 commit into
mainfrom
app-name
Nov 23, 2026
Merged

jonathanlaib merged 1 commit into
mainfrom
app-name

Conversation

@jonathanlaib

@jonathanlaib jonathanlaib commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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
After: name below them, with the pencil while focused
Editing, with Save and Discard
Editing at 390 pixels, dark

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).

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

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.

Reviews (1) · Last reviewed commit: "Rename an app in place in its heading" · Reviewed by Greptile

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

@jonathanlaib
jonathanlaib merged commit ccfcf5b into main Nov 23, 2026
15 of 16 checks passed
@jonathanlaib
jonathanlaib deleted the app-name branch November 23, 2026 16:36
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