ProjectDrawdown / global-research-platform

Drawdown Global Research Platform - UI
Other
20 stars 19 forks source link

As a user, I can see numeric results of calculation outputs #8

Open colleenskemp opened 3 years ago

colleenskemp commented 3 years ago

Time Estimate: 4 hours

Problem: Right now we can't debug calculation outputs easily.

Background/ Description: This will be an initial implementation (quick and dirty) so that we have the visibility we need. From there we can go into a UX round.

Acceptance Criteria: As a user, I can access UI element that shows calculation outputs for a technology

colleenskemp commented 3 years ago

@eethann - I'm not clear what this means. Can you help me flush out this ticket?

eethann commented 3 years ago

Please follow the same history API / path convention as used for other drawers, or modals. E.g. make sure there's a #hash path component that corresponds to the data view's being open / closed.

brodavi commented 3 years ago

PR https://bitbucket.org/colabcoop-ondemand/drawdown-solutions-web-ui/pull-requests/87/as-a-user-i-can-see-numeric-results-of

brodavi commented 3 years ago

Whoa @eethann @colleenskemp I just read your comment @eethann about path convention. I SERIOUSLY misunderstood what was needed here, I think. Hash path component? Data view's being open / closed? We need to sync up on this, I'm super-confused.

eethann commented 3 years ago

Okay, I think there are two different items needing clarification here:

  1. the best way to display this data in a minimal fashion for debugging without too much developer overhead
  2. what data needs to be displayed to keep the output reasonable from a DOM perspective

Re 1: we'd talked about adding a simple "data drawer" at one point, and I think we have code for doing that using path hash fragments that should be fairly easy to adapt and also simple for test users to access. I'm open to other options as well, but I want to make sure (a) that we're reusing code if we can and (b) that it's somewhat straightforward to use for testers.

Re 2: I think we can start with just data that's used in the displayed items: adoption % tables (could display all regions though only World is displayed right now), unit adoption tables, TAM tables (size of TAM), First cost table, operating cost table (I believe these change over the years), lifetime savings, etc.

This should roughly correlate to the "core calculations" Chad identified on our most recent call on that topic.

shrutimehta13 commented 3 years ago

@colleenskemp unclear on closure criteria. We have drawer icons that display all values & calculations

shrutimehta13 commented 3 years ago

Need more info