feat: add open content dashboard ui and activity apis #532
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.
Description of the change
Adds open content dashboard ui and corresponding apis to grab data to populate it.
cleans up some of the open content pages so they all look identical as you navigate through tabs
cleans up some styling in page nav
removes components from the dashboard into their own files, starts organizing frontend into folders and adds an
index.ts
file to consolidate exportsRelated issues: Closes Resident dashboard > Display top N libraries #491, Resident Dashboard > Display Top N Libraries for Facility #492, Resident Dashboard > Display Recent Favorited Libraries #494
Screenshot(s)
If only open content is turned on, the user will see the open content dashboard. If something else is also turned on, they will see the admin/student dashboard- this will be changed as we add the dashboards for different levels.
Additional context
In sprint planning today I mentioned I would filter the top 5 resources, but I have decided to do that in a different PR since I will have to change the handler and the DB call. This PR just grabs all resources and displays them on the dashboard.