Skip to content

Move Show*Viz components to viz/ folder #185

@andrezero

Description

@andrezero

Why

Viz entry point components (e.g.: ShowSpaceViz) are in the value folder

They should also not be called <Show... /> as this now implies injection of store={store} in our Astro integration.

(only decision components, or components that otherwise need access to store, should be called <Show>)

What

Rename and move to viz/**/

  • ShowColorViz => ../viz/color/ColorViz
  • ShowColorChannelViz => ../viz/color/ColorChannelViz
  • ShowSpaceViz => ../viz/space/SpaceViz

Drop the Show prefix in the value components as well

  • ShowColorValue => ColorVal

note: not renaming to ColorValue so that it doesn't collide with the type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions