Repository navigation
[Emotion] Improve checklist/QA process - #6294
Conversation
…t is not skipped + expand/categorize checklist items
|
jenkins test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6294/ |
elizabetdev
left a comment
There was a problem hiding this comment.
Feedback would be appreciated on the PR template md file (tagging multiple reviewers for that purpose). Are items well categorized? Would you know how to know if a step should or shouldn't be done with just the information provided, or is more context needed?
The items are well categorized and I would know if a step should or shouldn't be done with just the information provided. So it LGTM! 👍🏽
For me, the only boring thing when I'm going through the checklist is to strikethrough. Removing items eliminates the context of what doesn't apply. So I always prefer to strikethrough. But I wonder if anyone has an alternative to the strikethrough.
1Copenut
left a comment
There was a problem hiding this comment.
Thank you for putting this thorough update together @constancecchen. My comments about linking or bracketing functions stem from things I've done or looked up while working on conversions. LMK if anything is unclear or changes don't make sense in terms of the checklist.
|
This was super helpful, thanks y'all! PR feedback should be addressed in the latest commit - let me know if not! |
|
Sorry, I totally forgot to respond to Elizabet's top level comment!
I honestly don't mind either way if people remove vs strikethrough. For myself when I do strikethroughs it's really for me to consciously say "this doesn't apply to this PR" or "I deliberately did not do this step". For more simple PRs I do just go ahead and remove steps instead - I totally agree striking through line by line is tedious 😅 I do wish GitHub had a handy keyboard shortcut for strikethrough... it looks like they don't though 😩 |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6294/ |
|
@elastic/eui-design Going to leave this open until EOD Pacific for comments and then merge this in before I go out on leave. We can always continue tweaking the template as needed! |
The template update takes care of ensuring we list Sass removals
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_6294/ |
Summary
yogenerator for better consistencyFeedback would be appreciated on the PR template md file (tagging multiple reviewers for that purpose). Are items well categorized? Would you know how to know if a step should or shouldn't be done with just the information provided, or is more context needed?
QA
Remove or strikethrough items that do not apply to your PR.
General checklist
Emotion conversion checklist
withEuiThemeneed to passtrueas the second argument to itspropUtilityForPlaygroundinsrc-docs/src/views/{component}/playground.js)shouldRenderCustomStyles()test was added and passes with parent component and any nestedchildProps(e.g.tooltipProps)mount()ed snapshots in favor ofrender()or a more specific assertion$euiSizetoeuiTheme.size.base)yarn compile-scssto update JSON filescalc()tomathWithUnitsif possible (if mixing different unit types, this may not be possible)@warndeprecation message within theglobal_styling/mixins/{component}.scssfilesrc/components/index.scsssrc/amsterdam/overrides/{component}.scssfiles (styles within should have been converted to the baseline Emotion styles)euiCanAnimategapproperty to add margin between items if using flex-inlineand-blocklogical properties (check inline styles as well as CSS)euiComponent,euiComponent__child){euiComponent}-(case sensitive) to check for source code usage of modifier classesdataattribute so that consumers still have something to hook into**/target, **/*.snap, **/*.storyshotfor less noise) foreui{Component}(case sensitive) to find:euiBadgeclass on a div instead of simply using theEuiBadgecomponent).jsdocs files to TSfrom '../src', replace<React.Fragment>with<>)