Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add a list of tasks #34

Open
bcisneros opened this issue Sep 28, 2023 · 0 comments
Open

✨ Add a list of tasks #34

bcisneros opened this issue Sep 28, 2023 · 0 comments
Labels

Comments

@bcisneros
Copy link
Contributor

bcisneros commented Sep 28, 2023

Requirement

What is required?

Display a list containing all tasks created by the user

Who requires this feature?

The task timer user

What is the benefit of having this feature?

The user can see the previous tasks and the elapsed time of them.

Main flow

  1. Open the application
  2. An empty list is displayed with the following columns:
  • #: that represents the consecutive number of the task, starting with 1
  • Description: Task description entered by the user
  • Created at: Stores the creation timestamp and shows it in the following format DD-MM-YYYY hh:mm:ss
  • Finished at: Stores the timestamp when the user stops the timer. Use the same format as Created at.
  • Duration: Stores the duration in milliseconds but is displayed in hh:mm:ss format
  1. The user clicks on the Start button
  2. Add a task description and click on the OK button
  3. The timer starts and the new task is added to the list. Finished at and Duration values display a hyphen (-) because they are not defined yet.
  4. The user can pause and play the task and it should not affect the duration.
  5. The user stops the timer
  6. The Finished at and Duration values are displayed
  7. The user can add more tasks following the steps from step 3

Proposed design

For now, the design is not strict, but you can use the following as a reference:

Captura de Pantalla 2023-09-28 a la(s) 11 14 56

Acceptance Criteria

  • Demonstrate the list is empty when the user starts the application
  • Demonstrate the task is added after providing the description
  • Demonstrate that pause and play do not affect the duration of the task
  • Demonstrate when stopping a task, the Finished at and Duration are added to the task
  • Demonstrate multiple tasks can be added to the list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant