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 active, planned and completed session tabs #1838

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

thomasleese
Copy link
Contributor

This adds new tabs to the "School sessions" page allowing the user to see the sessions that are active, planned in the future, and already completed in the past.

I've also refactored the date scopes for sessions to matching the naming convention we'll be using the UI, and to fix the queries to work with the new multiple session dates.

Ideally the today scope would be named active, but this clashes with the active column. Eventually I think we'll be able to rename this when we create sessions automatically from locations.

Screenshots

Screenshot 2024-09-25 at 16 18 01
Screenshot 2024-09-25 at 16 18 05
Screenshot 2024-09-25 at 16 18 08

This refactors the date scopes for sessions to matching the naming
convention we'll be using the UI, and to fix the queries to work with
the new multiple session dates.

Ideally the `today` scope would be named `active`, but this clashes with
the `active` column. Eventually I think we'll be able to rename this
when we create sessions automatically from locations.
This avoids needing to pass a block which looks a little odd when it's
a hard coded string.
This adds new tabs to the "School sessions" page allowing the user to
see the sessions that are active, planned in the future, and already
completed in the past.
@thomasleese thomasleese requested a review from a team as a code owner September 25, 2024 15:27
Copy link

sonarcloud bot commented Sep 25, 2024

@tvararu tvararu temporarily deployed to mavis-pr-1838 September 25, 2024 15:29 Inactive
@thomasleese thomasleese merged commit deec5b3 into main Sep 25, 2024
11 checks passed
@thomasleese thomasleese deleted the session-tabs branch September 25, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants