mpagels/Bundesliga-Timecode-Tracker

Toggle Sequence

Closed this issue · 0 comments

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

Bildschirmfoto 2020-08-26 um 15 28 34

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)