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

Feedback fixes from Prod deploy v1.10.0 #225

Conversation

Afani97
Copy link
Contributor

@Afani97 Afani97 commented Aug 24, 2023

What's changed:

  • Update node version to 18.17.0
  • Update tooltip language for grouped traffic stops
  • Update endpoints for priming cache
  • Cleanup pie chart labels (black background to white)
  • Add loading placeholders for new traffic stop graphs
  • Update width of traffic stops grouped by stop purpose graphs

Preview:
Screenshot 2023-08-24 at 1 59 14 PM

@Afani97 Afani97 force-pushed the CU-8685dcrr6_Expand-graphchart-visuals-when-only-two-graph-types-are-selected branch from 452b47a to 2887711 Compare August 24, 2023 18:01
{displayStopPurposeTooltips && (
<>
<div ref={setReferenceElement} />
<Tooltip
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This popper tooltip was re-rendering on scroll, which caused the graphs to re-render and provide a bad experience. Here we just want to show the tooltip if we actually need to.

</Tooltip>
</>
)}
<Line options={options} data={data} redraw={redraw} datasetIdKey={title} />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The redraw flag adjusts the widths of the adjacent graphs, increasing/decreasing depending on the selected graphs the user wants to see.

@Afani97 Afani97 changed the title Adjust grouped stop purpose graph widths when showing/hiding Feedback fixes from Prod deploy v1.10.0 Sep 8, 2023
@Afani97 Afani97 force-pushed the CU-8685dcrr6_Expand-graphchart-visuals-when-only-two-graph-types-are-selected branch from 663e102 to b0e6721 Compare September 8, 2023 15:08
@Afani97 Afani97 merged commit f4e32a7 into develop Sep 8, 2023
1 check passed
@Afani97 Afani97 deleted the CU-8685dcrr6_Expand-graphchart-visuals-when-only-two-graph-types-are-selected branch September 8, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant