-
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
Task/WP-66: Refactored some variables and props to include proptypes #876
Conversation
Codecov Report
@@ Coverage Diff @@
## main #876 +/- ##
==========================================
- Coverage 63.00% 62.99% -0.02%
==========================================
Files 427 427
Lines 12191 12197 +6
Branches 2504 2506 +2
==========================================
+ Hits 7681 7683 +2
- Misses 4303 4306 +3
- Partials 207 208 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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!
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
@@ -286,6 +286,7 @@ const DataFilesProjectMembers = ({ | |||
}; | |||
|
|||
DataFilesProjectMembers.propTypes = { | |||
projectId: PropTypes.string, |
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.
Without projectId, was this broken previously. This seems more than refactor?
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.
Wasn't broken but included it for typechecking. I can remove it if its out of scope for this PR.
…876) * Refactored some variables and props to include proptypes * fixed linting errors
* WA-314: Input file fixes for hidden and fixed * Task/WP-66: Refactored some variables and props to include proptypes (#876) * Refactored some variables and props to include proptypes * fixed linting errors * WP-299: Add Data Files button dropdown needs minor adjustment in alignment (#878) * small UI change to align dropdown * linting issues fixed --------- Co-authored-by: Chandra Y <[email protected]> --------- Co-authored-by: Asim Regmi <[email protected]>
* WA-314: Input file fixes for hidden and fixed * Task/WP-66: Refactored some variables and props to include proptypes (#876) * Refactored some variables and props to include proptypes * fixed linting errors * WP-299: Add Data Files button dropdown needs minor adjustment in alignment (#878) * small UI change to align dropdown * linting issues fixed --------- Co-authored-by: Chandra Y <[email protected]> --------- Co-authored-by: Asim Regmi <[email protected]>
Overview
Some variable names and props in the DataFiles components weren't descriptive enough. This change fixes that to the extent without changing the original intention of the code. Also some of the variables needed destructuring which this achieves.
Related
Changes
Testing
UI
No visible UI change expected from this PR
Notes