feat(server): add project metadata update API - #42904
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Potential Related PR:
This PR appears to be related as it deals with project metadata functionality. It may be addressing similar concerns or could share overlapping scope with the new "Project metadata api" PR #42904. You may want to review PR #38443 to check if there's any overlap in functionality or if it was a previous attempt at implementing similar features. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Issue for this PR
Closes #42906
Type of change
What does this PR do?
Adds
PATCH /api/project/:projectIDfor updating project names, icons, and startup commands.Omitted fields are preserved, empty strings clear values, and unknown projects return a typed 404. Successful changes publish the complete
project.updatedevent through the current server event stream. Generated clients and API references are updated, but client UI integration is intentionally out of scope.This builds on the earlier work in #38443 and adapts it to the current project/worktree and event architecture.
How did you verify your code works?
git diff --checkpassed.Screenshots / recordings
Not applicable; this is an API and persistence change.
Checklist