aws / aws/graph-explorer

Migrate remaining schema consumers to useGraphSchema and styled atoms

Open
#1,728 0 comments 0 reactions 0 assignees View on GitHub
enhancement performance schema tech debt
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.