Skip to content

Tools and options as enum values #528

@palucdev

Description

@palucdev

Current Behavior

In many cases in the frondend code we use string values instead of consistent enum values (e.g. tools)

<mat-icon [svgIcon]="getToolIconName('ZOOM_OUT')"></mat-icon>
[disabled]="!isToolSupportedByCurrentTag('RECTANGLE')"

Expected Behavior

We should introduce and use enums with appropriate values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 🌪Things that improve our project.Frontend 🖥Stuff related to Frontend part.P3Things with #3 Priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions