-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More Improvements to Calendar Courses Filter
By marking the filter parent as relative positioned we can lookup the distance of each year from the top of that filter and scroll the correct one into view without opening anything else. I discovered while testing this that if the current academic year doesn't have any course we were opening the oldest year instead of the latest year with courses. That seems wrong to me so I modified that behavior as well.
- Loading branch information
Showing
4 changed files
with
94 additions
and
35 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...on-test-support/ilios-common/page-objects/components/dashboard/courses-calendar-filter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...es/ilios-common/app/styles/ilios-common/components/dashboard/courses-calendar-filter.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters