helxplatform/dug

A user can create a json file of Dug search results to take outside of Dug for further analyses

Closed this issue · 3 comments

This work satisfies the need for a Dug Shopping Cart. It is broken into 3 buckets for v1.

From the card view, a user can click studies and select 1 or more studies to send it to the shopping cart

After expanding the card view and selecting studies, a user can expand individual studies and select 1 o more variables to send to the shopping cart

View their shopping cart with a list of all selected items for export to json

Cart to do list

  • Add CDEs to cart. Do we want them in their own bucket or the study bucket?)
  • Sticky banner so that users can access cart while scrolled down (very relevant now that infinite scroll is added).
    • Do we want to have the search bar sticky to the top too? My inclination is yes, this is how other search engines do it.
  • Import shopping cart files
  • Need to fix placeholder text for cart creation popup (involves some changes to the antd-shopping-cart package) reference image
  • Should your active cart remain active when you reopen the page?
  • UI styling/presentation improvements
    • The cart management popup is so ugly... reference image
    • There is slightly more upper padding than lower padding in these containers when empty; this is a surprisingly annoying problem to fix reference image
    • Item checkboxes during checkout should be more obvious to a user. Right now, they only appear when you hover over the item, or all appear when you have any items checked. I think it may be easy to gloss over them with the way they currently are. Reference video
    • The add to cart dropdown for concepts looks pretty bad reference image

Add to the far in the future list:

  • The UI should indicate whether a user has permissions on a given study/variable (and maybe cdes as well? not sure)

"Search for your cart" placeholder text is very faint.

@gaurav and @frostyfan109 can we please migrate all of this information to Jira? We need to be be tracking our work effort there instead of here.