benetech / MathShare

MIT License
9 stars 3 forks source link

Set Creation: New Problem Set Button (Large Screens, e.g. Multiple Columns)  #1597

Open alexrcabral opened 3 years ago

alexrcabral commented 3 years ago
Mockup of desktop view. Underneath the universal nav bar is the heading My Created Sets. Directly underneath is a rounded rectangle button with a plus icon in a circle, with the title New Problem Set. Beneath are the user's sets.

New Problem Set Button

The "New Problem Set" should be the first item in the new "My Created Sets" section. 

When pressed, the "New Problem Set" should create a new empty /edit set, using the existing naming convention (e.g. "New Problem Set 12-21-2020"), and take the user to the editing view of the newly created set. 

Appearance: as shown above, a rounded rectangle with an icon (white plus sign within a purple circle) next to the words "New Problem Set". When the problem set cards are in multiple columns (e.g. for larger width screens), the New Problem Set button should match the size of the above mockup. It should be long enough to contain the full text on a single line, and the length no longer needs to be tied to the length of the problem set cards.

Problem sets should begin beneath this button (not on the same line).

Alt Text: "Add New Problem Set" 

Acceptance criteria: 

Given that I'm a logged-in user (student/teacher/other) on the v2 view on a larger screen showing multiple columns of problem sets, when I go to the "My Created Sections", I should encounter a button to add a New Problem Set. If I click this button, I should be brought to the edit page of a new empty problem set. 

abaranowska1 commented 3 years ago

Tested with success