Skip to content

Outfactor component logic in ManageLabelsModal #68

@XanderVertegaal

Description

@XanderVertegaal

Not all tests that are currently written as component tests (e.g. those for getAttachedByText in the ManageLabelsModalComponent) should be component tests.

Parts of the logic that are now in the ManageLabelsModal are not strictly tied to that component. They should be outfactored.

These are tests for a component, which is a view and a controller in the MVC triangle, but I think the tested behavior belongs in the model layer. Indeed, it looks like something that could fairly easily exist indepently of the component.

Originally posted by @jgonggrijp in #64 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bonusExtra features to work on if there is timeenhancementNew feature or request

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions