Skip to content

feat: Ability to update the branch description#9398

Open
Dhanus3133 wants to merge 2 commits into
opsmill:stablefrom
Dhanus3133:task/allow-branch-description-change
Open

feat: Ability to update the branch description#9398
Dhanus3133 wants to merge 2 commits into
opsmill:stablefrom
Dhanus3133:task/allow-branch-description-change

Conversation

@Dhanus3133
Copy link
Copy Markdown
Contributor

@Dhanus3133 Dhanus3133 commented May 30, 2026

Why

Allow to update the branch description from the UI

Closes #1045

What changed

  • Added inline editing of branch descriptions on the branch detail page, which uses the BranchUpdate mutation. Includes edit/cancel/save flow with keyboard support (Enter/Escape)

How to review

Screen.Recording.2026-05-30.at.2.34.10.PM.mov
pnpm test branch-edit-description

Checklist

  • Tests added/updated
  • Changelog entry added (uv run towncrier create ...)
  • External docs updated (if user-facing or ops-facing change)
  • Internal .md docs updated (internal knowledge and AI code tools knowledge)
  • I have reviewed AI generated content

Summary by cubic

Adds inline editing for branch descriptions on the branch details page. Authenticated users can edit non‑default branches, with changes saved via GraphQL and reflected across lists immediately.

  • New Features
    • Introduced BranchEditDescription with edit/cancel/save and Enter/Escape support.
    • Integrated into branch details; shows "—" when empty, 1000‑char limit; edit icon hidden when not allowed.
    • Added BranchUpdate GraphQL mutation and domain updateBranch for name/description.
    • @tanstack/react-query mutation updates store, syncs list/detail caches, and invalidates related queries.

Written for commit 9202e43. Summary will update on new commits.

Review in cubic

@Dhanus3133 Dhanus3133 requested a review from a team as a code owner May 30, 2026 09:06
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.

task: Add ability to change the description of a branch

1 participant