-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
refactor: add a container for FieldLayoutDetails
and get data attributes from it
#2425
refactor: add a container for FieldLayoutDetails
and get data attributes from it
#2425
Conversation
Thanks. I don't think GitHub lets me know when a PR is marked as ready for review, so do let me know when it is no longer a draft.... |
I thought we discussed that we shall work on this PR tomorrow together. Or do you consider this as good enough to merge and wish start a new branch from main tomorrow? Both are fine for me. |
Oh sorry yes, I was unclear... This is good enough to merge... A definite improvement |
ok great, then I mark this as ready for review |
Please check if the new tests are explicit enough |
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.
Thanks. The tests are fine.
Description
Add a container for
FieldLayoutDetails
and get data attributes from it with a dedicated method.Motivation and Context
Encapsulate data and behaviour in an error-free way.
Prepare for refactoring of the rendering & layout code to make adding new features easier.
How has this been tested?
Unit tests added for the new class.
Types of changes
refactor
- non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)test
- additions and improvements to unit tests and the smoke tests)Checklist
yarn run lint
.Terms