pressbooks / pressbooks-multi-institution

Tools for managing Pressbooks networks shared by multiple institutions
GNU General Public License v3.0
0 stars 1 forks source link

Build institutional manager dashboard(s) #39

Closed SteelWagstaff closed 7 months ago

SteelWagstaff commented 8 months ago

As an institutional manager, I should see a dashboard with information specific to my institution after logging into to Pressbooks. See https://www.figma.com/file/hAvkPJpDgJDDyh8g358AqR/PB-Site-Adjustments?type=design&node-id=32-9467&mode=design&t=MCrLdVEuEnZGwGWb-0.

Screenshot from 2024-02-14 07-04-37

The topmost and bottom most blocks in the dashboard should be identical to those currently displayed to super admins/network managers. The middle sections are different. The left most block should have the heading 'Institutional Usage' and should display the institution's name and the number of books & users assigned to that institution. The 'Explore stats' button should link to the stats page for that institution. The 'Administer Institution' section should include links to the book and user list pages for that institution.

DoD:

  1. When an institutional manager logs in to a Pressbooks network, they're automatically routed to the correct institutional dashboard for their user
  2. The institutional dashboard includes correct links (or link placeholders) for the stats page, book list, and user list for their institution
  3. Institutional managers cannot load the network dashboard or an institutional dashboard for other institutions by accident

Notes

My idea was that every institution would have their own dashboard page (each one would have an institution ID parameter in the URL). Institutional managers would get routed to the relevant institution dashboard when logging in. Super admins and network managers could view these pages by entering the URL directly and would see the same thing that the institutional managers sees.

ho-man-chan commented 8 months ago

Update:

ho-man-chan commented 8 months ago

Update:

ho-man-chan commented 8 months ago

Update:

Question to PM @SteelWagstaff :

image.png
ho-man-chan commented 8 months ago

Update:

Question: Should regular non admin users see this page? At the moment, these users will not have access the the 'administrator institutions' page but sent to 'my books' page.

SteelWagstaff commented 8 months ago

Nope -- 'regular' non-admin users should see the standard Create a book / Clone a book dashboard.

ho-man-chan commented 8 months ago

Update:

  1. @arzola mentioned that the PR is currently merged with the institutional-role PR and is pending final review.
MichelleWeremczuk commented 8 months ago

I noticed that the support resources displayed for Institutional Managers is still:

Screenshot 2024-02-28 at 9.22.06 AM.png

when it should be changed to this:

Screenshot from 2024-02-22 15-42-57.png
tw77 commented 7 months ago

Everything is working on dev except the point Michelle made above still stands: we're still seeing the Support Resources that are used in a book dashboard instead of the ones specified in this ticket.

ho-man-chan commented 7 months ago

Update:

ho-man-chan commented 7 months ago

Update:

tw77 commented 7 months ago

Working as expected as an IM on dev.

tw77 commented 7 months ago

Re-opening because this is understood to be blocked by the issue discovered and filed here: https://github.com/pressbooks/pressbooks-multi-institution/issues/84 . When that is resolved, this can be closed because everything else is working here.

tw77 commented 7 months ago

https://github.com/pressbooks/pressbooks-multi-institution/issues/84 is resolved (tested on dev) so this is ready to close.