Skip to content

[P2] _profileEditing is a global index — edit state leaks across projects #139

Description

@eboudrant

Priority: P2 · Review finding: #12

static/js/home.js keeps _profileEditing as a single global index while _editingProfiles is keyed per project. Open the profile editor on project A and edit profile 0, then open Profiles on project B: B's profile 0 renders in edit mode too.

Fix: key the editing index by project id (e.g. _profileEditing[projectId]), or reset it when a different project's profile panel opens.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions