Skip to content

Migrate styling UI panels to styled type atoms #1727

@kmcginnes

Description

@kmcginnes

Description

The NodesStyling and EdgesStyling panels currently read from mergedConfigurationSelector and displayVertexTypeConfigSelector to get combined schema + style data. These should be migrated to the new styledVertexTypeAtom(type) / styledEdgeTypeAtom(type) atoms introduced in #1725.

Style changes already write to the same preference atoms, so only the read side needs to change.

Preferred Solution

  • NodesStyling / EdgesStyling panels read { schema, preferences } from the new styled atoms
  • Replace usage of displayVertexTypeConfigSelector / displayEdgeTypeConfigSelector in these panels
  • The composed { schema, preferences } shape keeps schema and style data separate, improving referential stability

Related Issues


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceIssues relating to performanceschemaIssues related to the schema definition or synchronizationtech debtIssues, typically tasks, that are mainly about cleaning up code that is problematic in some way

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions