Skip to content

Refactor processing.ts to remove magic strings for modifier names #211

@andeplane

Description

@andeplane

Refactor src/store/processing.ts to remove magic strings for modifier names (e.g., "Particles", "Bonds", "Colors").

Suggestions:

  • Define a constant array RENDERING_MODIFIER_NAMES
  • Or add a property to the Modifier class to identify its category (e.g., category: 'rendering').

See PR #210 for context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions