Separate Sections: My Created Sets (v2)
Opened this issue · 3 comments
My Created Sets
For logged in users, another section should be added between what is now "My Solution Sets" and "Example Sets", which should be titled "My Created Sets". This section should display all the user's /edit sets.
If a user does not have any created sets, this section should remain empty. (The issue for Set Creation: New Problem Set Button will address the button which should still be present at the top of this section).
If I am not a logged in user, this should display as a singular heading, "My Sets", with the existing login message. (The example sets section should also remain as it's currently surfaced.)
Student vs Teacher/Other
For students, this should surface as shown above.
For teachers & others, these first two sections should be switched. Teachers should be shown "My Created Sets" with their /edit sets first, followed by "My Solution Sets" with their /solve sets.
Acceptance criteria:
Given that I'm a logged-in Student on the v2 view, I should encounter the second section of "My Created Sets" on the main page of my dashboard. I should have, and be able to access, all my /edit sets under this section. If I do not yet have any sets, nothing should be displayed in this section (aside from the New Problem Set button).
Given that I'm a logged-in Teacher or Other on v2, I should encounter "My Created Sets" as the first section on the main page of my dashboard. I should have, and be able to access, all my /edit sets under this section. If I do not yet have any sets, nothing should be displayed in this section (aside from the New Problem Set button).
@rupeshparab
The same issue as here #1596. For students, these 2 sections should be switched
Pushed a fix for this