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

Update CSS selector for schedule container #2014

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

anishTP
Copy link
Contributor

@anishTP anishTP commented Apr 8, 2024

No description provided.

@anishTP anishTP requested a review from vidya-ram April 8, 2024 11:57
Comment on lines +273 to +278
.schedule-grid.schedule-grid--compressed .schedule .schedule__date {
display: none;
}
.schedule-grid.schedule-grid--compressed .schedule .schedule__date--upcoming {
display: block;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is inefficient because the backend is still expending compute power to calculate and render the schedule. If the schedule is not being shown, the code should be skipped.

What we need: a "show previous" action that loads the previous schedule.

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