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

Set Creation: Universal Header / Nav Bar #1606

Open
alexrcabral opened this issue Dec 24, 2020 · 4 comments
Open

Set Creation: Universal Header / Nav Bar #1606

alexrcabral opened this issue Dec 24, 2020 · 4 comments

Comments

@alexrcabral
Copy link

alexrcabral commented Dec 24, 2020

Full Mockup

Mockup of problem set creation on a mobile view. Below on the left is a back arrow to go back to the dashboard, and on the right is a button with a share icon which says Assign Set. Beneath this is a banner with the title New Problem Set 12-20-2020 with a pencil icon. Below this are boxed numbers, 02 through 06. 04 is currently highlighted. There is a plus button on the right hand side of this line. There are left and right arrows on this same line, on either side of the numbered boxes. In the main portion of the screen and taking up the majority of the page is a box with two sections, titled, 'Type the problem here' and 'Add the prompt and any details here'. At the top of the screen is the universal nav bar with the Mathshare logo and the profile dropdown

Nav Bar

The universal nav bar should be applied to the problem edit page. This includes the clickable dashboard logo and the profile dropdown (or options to log in / sign up if not signed in). Actions which would take me away from the problem set creation page should save any progress before continuing with the action.

Ref: #1399

Acceptance Criteria

Given that I'm a user on the problem creation page, I should encounter the universal nav bar at the top of the page. If I click the Mathshare logo, my progress should be saved, and I should be taken to the main dashboard page.

Given that I'm a logged in user, if I click my profile image, this should open the profile dropdown. If I sign out, my progress should be saved, and I should be signed out and taken to the main (unlogged in) dashboard page.

Given that I'm a user who is not signed in, if I click the options to log in or sign up, any progress made should be saved to the set as a precaution, I should be brought to the appropriate modals to log in or sign up. Once I have signed up or logged in, I should be brought back to the same problem set (and the same problem within it), and any progress I have made should be saved and associated with this account.

@abaranowska1
Copy link

@rupeshparab I met one issue with saving progress when I'm a user who is not signed in and I log in during the creation problem set. I create a problem and I log in during creation and the problem set progress is saved but when I click the back button or MS logo the problem is not available on my dashboard.
Peek 2021-01-20 11-27

@rupeshparab
Copy link
Collaborator

@alexrcabral
I have some doubts on the assocaition of Sets created by Anonymous users to Signed In users

  1. If a signedin user opens any set created by an anonymous user, do we want to directly associate it as soon as it is opened or do we want to associate it once the signed in user makes any updates
  2. Once a set is asoocaited with any user, do we want to allow anonymous users or other user with the edit or solve link to make changes to the set or should we show some kind of access error

@rupeshparab
Copy link
Collaborator

Sets will be associated once a user makes any updates to it, also a set can be associated to only 1 user.
After it gets associated with any user, the association won't change

@abaranowska1
Copy link

abaranowska1 commented Feb 4, 2021

@rupeshparab

  • Ok, if I made any update to it the problem set is associated with the just log-in user.

Also, given that I'm a logged-in user if I click my profile image, this opens the profile dropdown. If I sign out, my progress is saved, and I am signed out and taken to the main (unlogged in) dashboard page

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

3 participants