benetech / MathShare

MIT License
9 stars 3 forks source link

Problem Card: Equation (Mobile > Dashboard) #1417

Open alexrcabral opened 4 years ago

alexrcabral commented 4 years ago

Problem Card: Equation (Mobile > Dashboard) 

This task defines the surfacing of the equation for individual problem cards. 

Full Mockup

Mockup of individual set view. The universal nav bar is on the top, followed by a back arrow, the problem set title Distance Rate & Time, and a three dot dropdown by the set title. Beneath are two problem cards, rounded rectangles with pastel backgrounds. Each card has the number in a small box in the top left, the prompt and equation in the middle of the card, and a three dot dropdown in the top right of the card. The second card has a black checkmark in a green circle also in the top right.

The above mockup shows the issue in context of the individual set view.

Notable changes from mockups: 

Prompt 

Each problem card should contain the equation for the given problem, e.g. "7x-13=1". This should be in the font, size, spacing, and styling given in Invision. If the equation is longer than a single line, the words should overflow to multiple lines, increasing the size of the problem card further, maintaining the same spacing between the equation and the bottom of the card. 

Each problem card should contain the title for the given problem, e.g. "Solve for x". This should be in the font, size, spacing, and styling given in Invision. If the prompt is longer than a single line, the words should overflow to multiple lines, increasing the size of the problem card further, maintaining the same spacing between the prompt and the equation (as well as the spacing between the equation and the bottom of the card). 

Reference

Style Guides: https://invis.io/CQYLLW8J49U Mobile Mockups: https://invis.io/5HYLLW1G4BD Fonts: https://www.dropbox.com/sh/c12m6ufweyds20d/AAAdXNPOt8e52DkSAr9pd-a-a/Fonts?dl=0

Acceptance criteria: 

Given that I'm a user on the Mathshare dashboard, when I click into a set, I should be able to view the equation at the bottom of each of the problem cards in my set. 

abaranowska1 commented 4 years ago

Tested with success As a user, on the Mathshare dashboard, when I click into a set, I am able to view the equation at the bottom of each of the problem cards in my set. image Verified on:

alexrcabral commented 4 years ago

The interaction is good, but the formatting doesn't follow the initial scope.

As mentioned with the prompt in #1415, the prompt and equation should be next to the number for the problem rather than underneath, and should extend further into the problem card.

rupeshparab commented 4 years ago

Pushed a fix for this

abaranowska1 commented 4 years ago

The prompt and equation are moved next to the number image image