Relabel the configuration view's name section 'Rename project'
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -139,7 +139,7 @@ statuses. The header mirrors the project view's — title, then a
|
|||||||
alike (both `.menu__toggle`) (Manage's own Configure link is hidden here,
|
alike (both `.menu__toggle`) (Manage's own Configure link is hidden here,
|
||||||
since it would just point at the current page).
|
since it would just point at the current page).
|
||||||
|
|
||||||
A **Project name** section (a plain `PATCH /api/projects/:id` form,
|
A **Rename project** section (a plain `PATCH /api/projects/:id` form,
|
||||||
`{ title }`) sits above **Statuses**. On success it also calls the
|
`{ title }`) sits above **Statuses**. On success it also calls the
|
||||||
`projects` store's `fetchProjects()` -- the local `project` ref (and this
|
`projects` store's `fetchProjects()` -- the local `project` ref (and this
|
||||||
view's own header) update from the PATCH response directly, but the
|
view's own header) update from the PATCH response directly, but the
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ onBeforeUnmount(() => window.removeEventListener('keydown', onKeydown))
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section class="config-section">
|
<section class="config-section">
|
||||||
<h2>Project name</h2>
|
<h2>Rename project</h2>
|
||||||
|
|
||||||
<form class="field-row" @submit.prevent="onRenameProject">
|
<form class="field-row" @submit.prevent="onRenameProject">
|
||||||
<input
|
<input
|
||||||
|
|||||||
Reference in New Issue
Block a user