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

Make the plot sizes use numbers underneath #2563

Merged
merged 12 commits into from
Oct 19, 2022
Merged

Make the plot sizes use numbers underneath #2563

merged 12 commits into from
Oct 19, 2022

Conversation

sroy3
Copy link
Contributor

@sroy3 sroy3 commented Oct 11, 2022

Part of #2585

Screen.Recording.2022-10-11.at.1.28.19.PM.mov

@sroy3 sroy3 self-assigned this Oct 11, 2022
@sroy3 sroy3 marked this pull request as ready for review October 13, 2022 15:02
@sroy3 sroy3 mentioned this pull request Oct 13, 2022
10 tasks
@@ -11,7 +11,7 @@ export const ComparisonTableWrapper: React.FC = () => {
const { size, isCollapsed } = useSelector(
(state: PlotsState) => state.comparison
)
const handleResize = (size: PlotSize) => {
const handleResize = (size: number) => {
Copy link
Member

Choose a reason for hiding this comment

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

[C] Seems like there are three versions of the same handleResize wrapper function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's because they are dispatching 3 different actions (they share the same name, but are imported from different files).

@sroy3
Copy link
Contributor Author

sroy3 commented Oct 18, 2022

Will wait to merge until more work for the grid is lined up

Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Great work!

@sroy3 sroy3 enabled auto-merge (squash) October 19, 2022 18:51
@codeclimate
Copy link

codeclimate bot commented Oct 19, 2022

Code Climate has analyzed commit b349389 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.8% (0.0% change).

View more on Code Climate.

@sroy3 sroy3 merged commit 9cf6e21 into main Oct 19, 2022
@sroy3 sroy3 deleted the numerical-plot-sizes branch October 19, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants