Skip to content

Refactor groups State in channel form modal #289

@Cherrett

Description

@Cherrett

Description

In the ui/src/components/installer/panic-installer-channel-form-modal/panic-installer-channel-form-modal.tsx file, we currently have a single state (groups) for all channels. This is not ideal as it decreases maintainability and readability.

This should be split into different states, one for each channel. The component should be updated to use these states accordingly.

Requirements

  • Refactor the groups state into multiple states
  • Update logic and other code in panic-installer-channel-form-modal.tsx as required
  • Test out the modified component and make sure that everything still functions as intended

Blocked by

N/A

Acceptance criteria

Scenario: Using the channels setup page
Given: PANIC UI is running
When: Using the channels setup page
And: Adding/editing/deleting channels
Then: The respective actions work as intended

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions