Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

component: individual intent casting #49

Closed
sarah-arrrgh opened this issue Jun 19, 2017 · 23 comments · Fixed by #82 or #177
Closed

component: individual intent casting #49

sarah-arrrgh opened this issue Jun 19, 2017 · 23 comments · Fixed by #82 or #177
Assignees
Labels
Milestone

Comments

@sarah-arrrgh
Copy link
Member

sarah-arrrgh commented Jun 19, 2017

creating the individual intent casting view so it can be tested and tweaked

#20

@sarah-arrrgh
Copy link
Member Author

sarah-arrrgh commented Jun 29, 2017

TODO:

  • min, desired & max values correspond to a number scale passed in
  • min, desired & max relate to each other sensibly
  • if you move desired, min and max move
  • on initial click, set min to be < desired and max > desired
  • visual cues to show min+max - vertical lines, boxing in around desired
  • style slider lines to be dashed

NICE TO HAVE:

  • initial click > smooth transition to three sliders

@sarah-arrrgh
Copy link
Member Author

sarah-arrrgh commented Jun 29, 2017

Initial UI for member intent casting for a product:

image

Three sliders with dashed lines:
Top slider = minimum
Middle slider = desired
Bottom slider = maximum

  • On load, only middle slider (desired) is visible. (if a member doesn't want any of that item, we don't need to know that their min and max is also zero)
  • On click, top and bottom sliders appear, with an auto min + max value applied (customised per item)
  • Solid vertical lines show order range, left line = min, right line = max (unsure if these will be square brackets as in picture or simply vertical lines)
  • On change of min or max, the order range changes size (i.e. the box grows/shrinks)
  • On change desired, the order range remains the same size (unless it hits zero, then min will be zero and order range will shrink)
  • Slider max value will default to some sensible number (decided by group admin for each product?), like 5kg of apples
  • If member wants more that slider max value, they can drag the slider-dot to the max, hold it there, and the slider max will increase. This would change the max for all three sliders.
  • Can set a minimum tolerance/range for each product (e.g. if I want 2kg apples, the min tolerance is +-0.5kg)

@danalexilewis
Copy link

@sarah-arrrgh can you add some text explaining the image?

@danalexilewis
Copy link

danalexilewis commented Jun 29, 2017

Design questions for anyone:

  • why are there three sliders?
  • what does the box created by the verticle lines signify? A target?
  • can I only move desired?
  • if on the initial click min is desired is there then nothing in the middle of the box?
  • what's the difference between min and desired?

Not expecting a change to what's being done - rather documentation of why we are doing it this way.

That way we have documentation to reference when we test via showing the dumb component to peeps via storybook.

@sarah-arrrgh
Copy link
Member Author

@agentlewis have added some notes to the photo comment, let me know if you are still unclear on anything!

@root-systems root-systems deleted a comment from ahdinosaur Jun 29, 2017
@danalexilewis
Copy link

Great thanks

Design questions that remain unclear to me:

  • you added notes saying what the 3 sliders are, can you also explain why there are three and not one. Or something else entirely like fields, dials. Buttons etc. what is the desicion that led to there being 3.
  • it would be great if you do some ux testing of these sliders as soon as possible and see if it's intuitive what they are. Ie can people use it without direction. Storybook should make this easy. Maybe even render 3 sliders without the lines and see what peeps say and then with and see if it's different.
  • I still don't see what the difference between min and desired is. But see it as better to build in the feature of having it then not. Ie we can always make a type of item where min and desired are the same and it has a slightly different ui component.

New things:

  • Given this is being computed in real time with other peeps how will I be shown what I am likely to get?
  • I see no numbers in the sketch are there meant to be some? If so where?

@ahdinosaur ahdinosaur changed the title dumb component: individual intent casting component: individual intent casting Jul 3, 2017
@ahdinosaur ahdinosaur modified the milestone: sprint 2 Jul 3, 2017
@gregorykan gregorykan assigned gregorykan and unassigned sarah-arrrgh Jul 7, 2017
@ahdinosaur ahdinosaur self-assigned this Jul 11, 2017
@ahdinosaur ahdinosaur modified the milestones: sprint 2, beta 1 Aug 15, 2017
@sarah-arrrgh
Copy link
Member Author

20170906_140045

@sarah-arrrgh
Copy link
Member Author

sarah-arrrgh commented Sep 6, 2017

TODO:

  • make mock product data
  • scaffold product list component
  • scaffold single product component
  • create sub-component for selecting facets in single product view
  • create sub-component for price points in single product view
  • make it all look pretty-ish

@sarah-arrrgh
Copy link
Member Author

Question:

  • What does the data model look like for facets?

@ahdinosaur
Copy link
Member

@sarah-arrrgh here's a draft attempt: #146 (comment). what do you think?

@sarah-arrrgh
Copy link
Member Author

End of day/week report:

  • scaffold product list item in storybook
  • wired up single view product in storybook
  • wireframed single view product on whiteboard (including facet and price point components)

@sarah-arrrgh
Copy link
Member Author

20170911_143556

@danalexilewis
Copy link

@sarah-arrrgh to me the view on the left looks like a mobile view and the right the view on desktop.

The view on the rleft reminds me of a card and I can imagine a list of cards (mobile) / grid of cards (desktop) to show items with a visually rich expierience. Is this what you were thinking?

@sarah-arrrgh
Copy link
Member Author

@agentlewis the view on the left is the product list view - yes a grid of cards like you are imagining. and the view on the right is single product view, so has more info on the product including price points and facets.

@danalexilewis
Copy link

@sarah-arrrgh are you approaching this mobile first or skipping mobile?

@sarah-arrrgh
Copy link
Member Author

sarah-arrrgh commented Sep 18, 2017

End of day report:

  • styled product list view
  • styled single product view
  • changed currency display from $ to NZD / {currency}

TODO:

  • check out the rest of Mikey's comments in the PR
  • screen shots of components in issue

@sarah-arrrgh
Copy link
Member Author

Product list view:
screen shot 2017-09-19 at 11 14 48 am

Single product view:
screen shot 2017-09-19 at 11 15 11 am

@sarah-arrrgh
Copy link
Member Author

@agentlewis hmmm haven't been doing this mobile first

@danalexilewis
Copy link

This is going to come up very quickly as people will say "does it work on mobile". My personal opinion is that it is easier and more effective to develop from mobile to desktop rather then the other way round. Nvm to much - functionality is more important.

I'd suggest you break out a ticket to mobilise what you have done so far. We don't need it for the 27th but will before a beta test.

@danalexilewis
Copy link

@sarah-arrrgh see above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants