Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Desktop Sidebar: My Sets -> My Solution Sets & My Created Sets (Logged-in) #1636

Open
alexrcabral opened this issue Jan 15, 2021 · 1 comment

Comments

@alexrcabral
Copy link

Mockup of v2 Mathshare sidebar on desktop. This shows a profile portrait with the initial A. Underneath is the name Alex C in bold, followed by Teacher, and Signout. The main portion of the sidebar is shown beneath. These options read My Solution Sets, My Created Sets, Example Sets, About Mathshare, Help Center, and Accessibility. My Created Sets is currently active, which is represented by bold, darker font.

In the list of linked options on the sidebar, for logged in users, "My Sets" should removed and replaced by two separate options: "My Solution Sets" & "My Created Sets". This should be consistent with how the separate sections are surfaced to users. (See issues #1595 & #1596)

The order that these links appear should be dependent on account type: e.g. My Solution Sets should appear first for Students, and My Created Sets should appear for Teachers and Other users. This should remain as "My Sets" for those who are not logged in. 

Linking 

Each of these should link to the appropriate heading.

  • If on the main dashboard showing all sets, this should scroll the page (no refresh needed) so the named heading is at the top of the page. 
  • If on another page besides the main dashboard, this should bring the user to the main dashboard, and scroll to the appropriate heading.
  • If the user is in the middle of editing something (e.g. editing a problem, editing a problem set), this should save any edits which have been made prior to bringing the user to the main dashboard and the appropriate heading. 

Acceptance criteria: 

Given that I'm an unauthenticated user on a screen wide enough to view the sidebar, I should encounter the "My Sets" link. When I click this link, any edits I've made should be saved (if applicable), and I should be brought to the appropriate heading on the dashboard. 

Given that I'm a Student user on a screen wide enough to view the sidebar, I should encounter the "My Solution Sets" and "My Created Sets" link. When I click either of these links, any edits I've made should be saved (if applicable), and I should be brought to the appropriate heading on the dashboard. 

Given that I'm a Teacher or Other user on a screen wide enough to view the sidebar, I should encounter the "My Created Sets" and "My Solution Sets" link. When I click either of these links, any edits I've made should be saved (if applicable), and I should be brought to the appropriate heading on the dashboard. 

@abaranowska1
Copy link

Tested with success

  • Given that I'm an unauthenticated user on a screen wide enough to view the sidebar, I encounter the "My Sets" link
  • Given that I'm a Student user on a screen wide enough to view the sidebar, I encounter the "My Solution Sets" and "My Created Sets" link
  • Given that I'm a Teacher or Other user on a screen wide enough to view the sidebar, I encounter the "My Created Sets" and "My Solution Sets" link
  • If the user is on another page besides the main dashboard, after click it brings the user to the main dashboard and scroll to the appropriate heading
  • Any edits we've made are saved and I am brought to the appropriate heading on the dashboard

Peek 2021-02-04 14-51

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants