-
Notifications
You must be signed in to change notification settings - Fork 29
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
Conversation
…scode-dvc into numerical-plot-sizes
@@ -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) => { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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).
Will wait to merge until more work for the grid is lined up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
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. |
Part of #2585
Screen.Recording.2022-10-11.at.1.28.19.PM.mov