amosproj / amos2022ws02-automotive-test-app

Android Automotive Testapp
MIT License
12 stars 0 forks source link

Implement functionality to add new steering wheel button sequences #186

Closed i315315 closed 1 year ago

i315315 commented 1 year ago

User story

  1. As a user
  2. I want to be able to add sequences of steering wheel buttons
  3. So that I test new requirements for testing button sequences.

With this user story, it should be implemented that I can add new sequences of steering wheel buttons to the sequences area in the steering wheel button context.

In the steering wheel area, there should be a toggle button "Add sequence"/"Save sequence" next to the "Description"-button. When I click that button, it should allow me to record a sequence of steering wheel buttons. When I press a button on the steering wheel, that button should be added to the sequence.

When the toggle button is deactivated ("Add sequence") and I click on the button, it should change to the activated state ("Save sequence"). As long as the button is activated, it should record every steering wheel button that I press into a sequence. As soon as I click the button again, the button should be deactivated (Set to "Add sequence") and the sequence should be saved into the list of available sequences.

The recorded sequences should be saved afterwards and not deleted, when the app is being closed.

Acceptance criteria

Definition of done (DoD)

DoD general criteria