Toggle Sequence
mpagels opened this issue · comments
Martin Pagels commented
Value statement
As an editor
I need to deactivate or activate the SequenceCard
so that I can see, how long the summary is without the deactivated sequence
Description
Acceptance criteria
- Active and deactive SequenceCards are both always visible
- SequenceCard is active by default
- Deactivated SequenceCard is greyed out and not added up in TotalLength
- At the bottom the added time from all active SequenceCards is shown
Tasks
- Create feature branch
- Create Toggle Component
- Add Toggle Logic
- Change "add-up" logic, with only active SquenceCards
- Styling
- Write component tests
- Write integration tests w/ Cypress
Size
(middle)