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

Introduce Checklist style UI #46

Open
1 task done
Supereg opened this issue Sep 10, 2024 · 0 comments
Open
1 task done

Introduce Checklist style UI #46

Supereg opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Supereg
Copy link
Member

Supereg commented Sep 10, 2024

Problem

The new SpeziScheduler currently supports card-like UI to present upcoming events (see #44). We currently do not support other ways of visualizing events to the user.

Solution

In certain scenarios it might be great to provide simple checklist-style UI for reminder-like events (e.g., take medication). This UI components should be able to combine multiple events. For example a medication task might schedule its events multiple times in the day. Therefore, the checklist should show all events of this task in a single view, visualizing which events have been marked as completed and which are left as a todo.

Additional context

This UI component might benefit from infrastructure to provide naming to Occurrences of a Schedule. For example a Schedule that repeats everyday at 8am, 1pm and 6pm might receive labels like Breakfast, Lunch, Dinner to better describe their meaning. This is currently not possible , as all these occurrences are describe with a single RecurrenceRule that doesn't allow to store additional data.

A simple solution could be to provide a list of labels each associated with a time interval. For example the Breakfast label could be applied for any events occurring between 6am and 9am. We would need to investigate what the exact use case of such labels is, and if a time-interval-based solution is sufficient for these use cases.

We should additionally explore if we want to support marking tasks as overdue in existing UI.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@Supereg Supereg added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant