-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/f 64 charts option improvements #36
Conversation
…y to LineChartOperations
…y to LineChartOperations
…s with JSX code any more
✅ Deploy Preview for wfp-hungermap ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
good job! regarding you second question - yes, jsx/tsx should be inside return statement or a separate component
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.
Generally great job! Just some code quality improvements needed, else everything is perfect. Great features!
…uplicate code in LineChartModal and LineChart and additional minor syntax improvements
|
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.
LGTM!
The main goal was to implement:
https://linear.app/world-food-programme-wfp/issue/F-64/charts-option-improvements
In addition, all the requested changes from the last pull request have been implemented: #21
Except for the task to “chart modal to own component” -> I still have a question before making the changes: Wouldn't it make more sense to keep the modal inside since the regular LineChart box component and the modal share many dependencies (e.g. all the state manipulations)?"
And... I have a quick question: as requested, I moved all 'const button = <...>' components directly into the return statement. Is it generally intended for the future that JSX code should only appear within the return statement?