generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 181
Reviewing PRs
Chris Millar edited this page Dec 7, 2022
·
11 revisions
- Is the block name intuitive for authors?
- Are the variant names intuitive for authors? How do they map to Consonant?
- Is the solution correctly using areas of concern: page, sections, blocks?
- Templates should never modify any DOM inside blocks.
- Blocks should never modify anything outside their own context.
- Should the block be an auto-block / link-block?
- Is the authoring brittle or unintuitive?
- Is the performance expected to be bad (i.e. embedding an outside service) or is the block expected to be performant and cause no performance regressions?
- Are the files organized in a way that meet current practices?
- Is the feature built in a way that meets the appropriate use case:
- Should the feature be a block? (ex. Marquee)
- Should the feature be a link block? (ex. youtube)
- Should the feature be a... feature? (ex. interlinks)
- Should the feature be built as part of section metadata?
- Does the PR support fragments correctly?
- Ensure JSON calls do not happen more than necessary (placeholders)
- Ensure feature parity between page & fragment use.
- Does the PR correctly support contentRoot & codeRoot for consumers that exist in sub-directories (/pages/)
- Does the PR correctly support language-based sites (blog.adobe.com) as well as region based sites (business.adobe.com)