Skip to content

Link configurations to projects - #637

Open
AntoineGautier wants to merge 2 commits into
mainfrom
ag/634-project-configs
Open

AntoineGautier wants to merge 2 commits into
mainfrom
ag/634-project-configs

Conversation

@AntoineGautier

@AntoineGautier AntoineGautier commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This is for #634.

This is to prepare the restructuring of the payload in #620 and support a multiple-project and multiple-configuration-per-project workflow.

Testing

New tests added to CI: cd client && npx jest project-configs.test.ts

- ConfigInterface.projectId, set by configStore.add() to the active
  project
- Scope config store queries and removals to a project (active by
  default);
  add removeAllForProject, used when saving the project details
- Save the default project once hydrated, so that its id does not change
  on reload
- Once both stores are hydrated, attach configurations without a valid
  project to the project if there is only one, report them otherwise
- Create the default project per store instance
@AntoineGautier

Copy link
Copy Markdown
Collaborator Author

@JayHuLBL Ready to review and merge.

This branch has not been deployed

No deployments
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.

1 participant