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

Period navigation controls for summaries #711

Open
em411 opened this issue Nov 19, 2024 · 2 comments
Open

Period navigation controls for summaries #711

em411 opened this issue Nov 19, 2024 · 2 comments
Labels
effort:2 enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed prio c

Comments

@em411
Copy link

em411 commented Nov 19, 2024

I would like to suggest adding period navigation controls (previous/next buttons) to the summary view in Wakapi. This would make it easier to browse through the historical data without having to manually change the dates.

Current behavior:

Currently, to view summary for other than predefined period, user needs to manually enter date for both Start and End fields.

Proposed Solution:

Add prev/next navigation arrows (←/→) next to the current period display, which would allow users to:

  • When viewing daily summary: quickly jump to previous/next day
  • When viewing weekly summary: quickly jump to previous/next week
  • When viewing monthly summary: quickly jump to previous/next month

Benefits:

  • Improved user experience with faster navigation between time periods
  • Reduces number of clicks required to view adjacent time periods
@muety
Copy link
Owner

muety commented Nov 19, 2024

I like that idea! Could probably be implemented in a fairly lean fashion with a few lines of JavaScript. Only thing I'd like to ask for when implementing this is to make these new controls slim and seamless.

@muety muety added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers prio c effort:2 labels Nov 19, 2024
@Atko
Copy link

Atko commented Dec 2, 2024

FYI: on the summary page adding interval=last_month to the request parameters works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:2 enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed prio c
Projects
None yet
Development

No branches or pull requests

3 participants