Implemented a breadcrumbs navbar for convenient navigation. Currently only tracks the homepage, users, courses, assignments, and the gradebook. Also modified a few frontend routes to make them play better with the navbar. Made some tweaks according to Saiwang's review on PR #92
Resolves #99
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.
[x] My changeset covers only what is described above (no extraneous changes)
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
Further comments
Currently the navbar takes a brief moment to load user name, course name, and assignment names when a page is loaded. This should definitely be fixed, but I'm unsure how to delay the rendering of the page until it finishes. Should we tweak setLoading to support multiple components loading simultaneously? Unsure how to proceed so I left this bug in the PR.
Proposed changes
Implemented a breadcrumbs navbar for convenient navigation. Currently only tracks the homepage, users, courses, assignments, and the gradebook. Also modified a few frontend routes to make them play better with the navbar. Made some tweaks according to Saiwang's review on PR #92
Resolves #99
Types of changes
What types of changes does your code introduce? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.Further comments
Currently the navbar takes a brief moment to load user name, course name, and assignment names when a page is loaded. This should definitely be fixed, but I'm unsure how to delay the rendering of the page until it finishes. Should we tweak setLoading to support multiple components loading simultaneously? Unsure how to proceed so I left this bug in the PR.