[Medium] Project colors shift after deletion + refresh() #46
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File: screens-projects.jsx:56-60
Severity: Medium
When a project is deleted, surviving projects shift indices. PROJECT_COLORS[newIndex] picks a different color than originally assigned.
Fix: Persist color assignment per-project in the database or use a hash-based color from the project ID.