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

Implement the slider in the top toolbar on wide screens #51

Open
benoit74 opened this issue Dec 1, 2023 · 1 comment
Open

Implement the slider in the top toolbar on wide screens #51

benoit74 opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request stale
Milestone

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Dec 1, 2023

Implement the top toolbar slider on wide screens

image

Important aspects:

  • the component must be responsive (designs under work)
  • the slider must respond to slide gestures on tactile screens (and to clicks, of course)

When the kind is "day", we can have up to 7 days selectable (but some might not be available)
When the kind is "week", we can have up to 4 weeks selectable
When the kind is "month", we can have up to 3 months selectable
When the kind is "year", we can have an unlimited number of years selectable

The list of available aggregations (kind + value) are provided by the store to the component. There might be "holes" in available aggregations (e.g. for kind month, we might have January 2023 and March 2023 available, because the system was not used in February 2023). For now we will let the user select the "holes" (e.g. February 2023) and it will be the main UI responsibility to indicate that no data is available. Nothing in the top toolbar will indicate that there is a hole.

The top toolbar buttons "Previous" and "Next" will be disabled when there is no more previous / next aggregations available for the selected kind.

The top toolbar buttons "Day", "Week", "Month", "Year" will be disabled when there is no aggregation at all for the corresponding kind of aggregation.

@benoit74 benoit74 added the enhancement New feature or request label Dec 1, 2023
@benoit74 benoit74 added this to the v1 milestone Dec 1, 2023
@benoit74 benoit74 self-assigned this Dec 1, 2023
@benoit74 benoit74 modified the milestones: v0.1, v1 Dec 8, 2023
@benoit74 benoit74 changed the title Implement the top toolbar Implement the slider in the top toolbar Jan 9, 2024
@benoit74 benoit74 changed the title Implement the slider in the top toolbar Implement the slider in the top toolbar on wide screens Jan 9, 2024
@benoit74 benoit74 modified the milestones: 1.0.0, 2.0.0 Jan 9, 2024
Copy link

stale bot commented Mar 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

@stale stale bot added the stale label Mar 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 stale
Projects
None yet
Development

No branches or pull requests

1 participant