Skip to content

fix(app): persist project edit metadata#24745

Open
kzekiue wants to merge 1 commit into
anomalyco:devfrom
kzekiue:issue-24744-project-edit-persistence
Open

fix(app): persist project edit metadata#24745
kzekiue wants to merge 1 commit into
anomalyco:devfrom
kzekiue:issue-24744-project-edit-persistence

Conversation

@kzekiue
Copy link
Copy Markdown

@kzekiue kzekiue commented Apr 28, 2026

Issue for this PR

Closes #24744

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

fixes an issue where project edits weren’t showing up in the sidebar for local and global projects.

the edit dialog was already saving local project metadata via globalSync.project.meta, but the sidebar was only pulling in metadata from the server. so for projects tied to the global project record, the locally saved changes (like name or icon) were basically ignored, and the old values kept showing even after saving.

this change makes sure childStore.projectMeta is merged into the displayed project when there’s no server metadata, or when the project is global.

also updates avatar to read src reactively instead of grabbing it once during render, so it can properly switch from fallback initials to an uploaded image.

How did you verify your code works?

Tested locally with:

  • bun run dev:web before and after the change
  • local embedded binary built with bun run script/build.ts --single --skip-install

Also ran:

  • bun typecheck in packages/app
  • bun typecheck in packages/ui
  • pre-push bun turbo typecheck

Screenshots / recordings

Not included.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@kzekiue kzekiue requested a review from adamdotdevin as a code owner April 28, 2026 07:24
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.

Project edit dialog does not persist name or icon changes

1 participant