Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
closes #763
Database Changes/Migrations
No database schema changes were done for this fix.
Test Modifications
Added tests to verify that the schedule persists when navigating away from and back to the schedule page.
Test Procedure
Checkout the branch containing this commit.
Start the application locally (http://localhost:8080/).
On the schedule page, verify that your selected courses and schedule details are displayed.
Navigate to another route (e.g., http://localhost:8080/explore).
Return to the schedule page (http://localhost:8080/) and confirm that the schedule still displays correctly without needing a full page refresh.
Verify that UI states (e.g., course selections and class details) persist as expected.
Photos
Before: https://gyazo.com/fef9ac4e0f0ccf5235803bb58380eac1
After: https://gyazo.com/95b9549c07d4ac48529cebb58a432563
Additional Info
Noticed this issue occured when you weren't logged in.
Added an activated() lifecycle hook to the scheduler component to reload the schedule when the component is re-activated (i.e., when using ).
This fix addresses an issue where switching routes caused the schedule’s CSS classes to disappear until a manual refresh occurred.
Commit details: c3d8f4565885dc4d247c084ea2dd0132b7cd91af