-
Notifications
You must be signed in to change notification settings - Fork 6
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
[E & A] Review analysis on new E&A interface #857
Comments
Review and propose a design solution to toggle chart metrics addressed in #860 |
Related: Review date selection on the timeline #833 |
Hi, I have updated the Figma file for this ticket. Link to Figma file 👉 https://www.figma.com/file/9INQauBWhiRxvOWDGhRrxO/US-GHG-Center?type=design&node-id=1127%3A2201&mode=design&t=fGtGK3DblwdZpUGr-1 I am experimenting with a new format for design communication and organization to ensure that each design element is linked to its corresponding issue and the reasoning behind the design is documented. Let me know if this works 👍 |
Note:
|
**Related Ticket:** #857 ### Description of Changes Change new E&A Chart style ### Notes & Questions About Changes Part of #857 The list of changes specified in Figma: https://www.figma.com/file/9INQauBWhiRxvOWDGhRrxO/US-GHG-Center?type=design&node-id=1127-2201&mode=design&t=VNfErIVXtEgHmbZi-0 - [x] On the chart, average and standard deviation are shown by default. - [x] Standard deviation is shown as a grey band around the average line. - [x] Median, min and max are optional, accessed through the “Chart options” icon. (*Unless editor specified which analysis to show) - [x] Min and max are shown as grey dotted lines. - [x] The y-axis is shown on the gray area outside the analysis period. - [x] The y-axis should always show the zero line - [x] Always expand with yaxis. Get rid of 'collapse' button - [x] Optional: The chart actions icons are:”Download chart”, “Chart options” and “Collapse”. Collapse is a local action and collapses the current chart only. - **only implemented "Chart Options" for now** Question: What should we do for circles that mark the time unit? If I remember correctly, we added it because of the requests from stakeholders. ### Validation / Testing To check the changes, run analysis [on this page](https://deploy-preview-903--veda-ui.netlify.app/exploration?datasets=%5B%7B%22id%22%3A%22no2-monthly%22%2C%22settings%22%3A%7B%22isVisible%22%3Atrue%2C%22opacity%22%3A100%2C%22analysisMetrics%22%3A%5B%7B%22id%22%3A%22mean%22%2C%22label%22%3A%22Average%22%2C%22chartLabel%22%3A%22Avg%22%2C%22themeColor%22%3A%22infographicB%22%7D%2C%7B%22id%22%3A%22std%22%2C%22label%22%3A%22St+Deviation%22%2C%22chartLabel%22%3A%22STD%22%2C%22themeColor%22%3A%22infographicD%22%7D%5D%7D%7D%2C%7B%22id%22%3A%22no2-monthly-diff%22%2C%22settings%22%3A%7B%22isVisible%22%3Atrue%2C%22opacity%22%3A100%2C%22analysisMetrics%22%3A%5B%7B%22id%22%3A%22mean%22%2C%22label%22%3A%22Average%22%2C%22chartLabel%22%3A%22Avg%22%2C%22themeColor%22%3A%22infographicB%22%7D%2C%7B%22id%22%3A%22std%22%2C%22label%22%3A%22St+Deviation%22%2C%22chartLabel%22%3A%22STD%22%2C%22themeColor%22%3A%22infographicD%22%7D%5D%7D%7D%5D&date=2023-08-31T15%3A00%3A00.000Z&aois=%5B%22le%7B_Tga%7EbDayfqWpxoNt%60%7EvEl_rpDpuaoJjb%7CsB%22%2C%228cd277%22%2Cfalse%5D&dateRange=2022-08-09T15%3A00%3A00.000Z%7C2023-09-30T15%3A00%3A00.000Z)
**Related Ticket:** #857 ### Description of Changes Zoom TOI when analysis is run ### Notes & Questions About Changes Focus on TOI when analysis is run. I meant to separate this PR from #906, but it was faster to use the structure already set up in #906 to trigger callback when analysis is run, so this PR builds on top of #906. This is WIP, but I wanted to run how it behaves with team members.
**Related Ticket:** #857 ### Description of Changes Zoom aoi when analysis gets run (note that this PR only handles AOI, not TOI) ### Notes & Questions About Changes Mapbox has fitBonds problem with some projections: mapbox/mapbox-gl-js#12565 Because of this issue, we have to do manual centering which might not look very smooth.
@hanbyul-here This looks partially complete, am I interpreting that correctly? Should we break off a new ticket to represent whatever work is incomplete? Might be easier to follow that way. |
If I remember correctly, we decided to make some changes for R2 and keep the other changes (ex. timeline indicator look & function change) for the next phase. I agree that it might be better to close this ticket and open a new ticket with the leftover items. @faustoperez Do you know if we made a separate ticket for the items that we couldn't tackle for R2? |
I don't think we have a separate ticket for the playhead styles and edge case behaviors. The designs would still apply, let me know if there's any support needed on my side 👍 |
Issue
We are missing the previous selector to enable Max, Min, Avg. etc. metrics on the analysis results due to the new design / implementation. Also, the previous analysis results page included more than one chart.
Acceptance criteria
Implementation (design linked below)
Add timeline chart widgetsThe chart widget should open up the analysis chart menuEdgecase behaviorsThe text was updated successfully, but these errors were encountered: