Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
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

@alexrcabral

Description

@alexrcabral

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. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions