Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(site/src/pages/WorkspaceSettingsPage): correct workspace rename warning - #27622

#27622
Draft
david-fraley wants to merge 1 commit into
maincoder/coder:mainfrom
dfraley/devex-674-workspace-rename-warning-copycoder/coder:dfraley/devex-674-workspace-rename-warning-copyCopy head branch name to clipboard
Draft

fix(site/src/pages/WorkspaceSettingsPage): correct workspace rename warning#27622
david-fraley wants to merge 1 commit into
maincoder/coder:mainfrom
dfraley/devex-674-workspace-rename-warning-copycoder/coder:dfraley/devex-674-workspace-rename-warning-copyCopy head branch name to clipboard

Conversation

@david-fraley

Copy link
Copy Markdown
Collaborator

Resolves DEVEX-674.

The workspace settings page tells users that renames are "disabled by the template", but no template-level rename setting exists. Workspace.allow_renames is populated solely from the deployment-wide --allow-workspace-renames / CODER_ALLOW_WORKSPACE_RENAMES flag, and patchWorkspace enforces that flag alone. The message therefore points users at a control that does not exist.

This restores the wording #11189 originally shipped with the flag, and names who can change it. The copy drifted in #13887 (2024-07-22), an unrelated org-groups PR, and has been wrong since.

Copy only. No behavior change.

Note: #27558 adds a real per-template setting, which would make template-facing wording correct. It does not touch this file, so the string needs updating there too; this PR is the backportable correction for main as it stands today.

Proof

pages/WorkspaceSettingsPage/WorkspaceSettingsPageViewRenamesDisabled story.

Before:

Workspace settings form with helper text reading: Renaming your workspace can be destructive and is disabled by the template.

After:

Workspace settings form with helper text reading: Renaming your workspace can be destructive, and is not enabled for this deployment. Contact your Coder administrator if you need it.


🤖 Generated by Coder Agents on behalf of @david-fraley.

…arning

The disabled-state helper text on the workspace settings page blamed the
template for renames being unavailable. Renames are gated only by the
deployment-wide --allow-workspace-renames flag, so the message pointed
users at a control that does not exist.

Name the deployment instead, and say who can change it.
@linear-code

linear-code Bot commented Jul 28, 2026

Copy link
Copy Markdown

DEVEX-674

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.