Migrate remaining schema consumers to useGraphSchema and styled atoms
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 108
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 5
Description
## Description
After the Cytoscape layer (#1725, #1726) and styling panels (#1727) are migrated, the remaining consumers of `mergedConfigurationSelector` and `useConfiguration()` need to switch to `useGraphSchema()` and the new styled type atoms.
Remaining consumers include: DataExplorer, SearchSidebar, SchemaGraph, EntitiesFilter, ConnectionDetail, ExportGraphButton, UserPrefixes, and the main GraphExplorer layout.
## Preferred Solution
- Components that need schema data (type names, attributes) use `useGraphSchema()`
- Components that need styled type info use `styledVertexTypeAtom(type)` / `styledEdgeTypeAtom(type)`
- Components that need preference data directly continue using `vertexPreferenceByTypeAtom(type)` / `edgePreferenceByTypeAtom(type)`
- Migrate incrementally — each module can be its own commit
## Related Issues
- Part of #1677
- Depends on #1725
---
> [!IMPORTANT]
> If you are interested in working on this issue, please leave a comment.
> [!TIP]
> Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
Contributor guide
Assessment
This issue has not been assessed yet.