global-research-platform icon indicating copy to clipboard operation
global-research-platform copied to clipboard

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

Open colleenskemp opened this issue 3 years ago • 7 comments

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 avatar Jun 07 '21 15:06 colleenskemp

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

colleenskemp avatar Jun 14 '21 00:06 colleenskemp

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.

eethann avatar Jun 14 '21 14:06 eethann

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

brodavi avatar Jun 18 '21 22:06 brodavi

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.

brodavi avatar Jun 18 '21 22:06 brodavi

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.

eethann avatar Jun 29 '21 19:06 eethann

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

shrutimehta13 avatar Jul 12 '21 13:07 shrutimehta13

Need more info

shrutimehta13 avatar Jul 14 '21 14:07 shrutimehta13