Implementation Review

When reviewing a PR we will be using SR App and the first step is to checkout the module branch into SR App, start MAMP, and open the SR App repo in your code editor.

Review Checklist

Once the PR has been merged

Notify All GDD Members in Slack with a screenshot of the new module & link (or make a deploybot ping that ANYONE on our team could see and understand, @’ing all stakeholders to Sprocket Rocket).

Common PR notes

Mixed use of tabs / spaces. I have updated the template but please use tabs for indentation and spaces for inline indentation (e.g. attributes at the top of the module).

Having multiple instances of the same module on the page doesn’t work. This isn’t something I’ve been testing as part of PR Review so far but will do moving forward.

Module dependencies need to be added to sr-templates/sr-assets/pattern-library/[module-name] and referenced in the JSON

Module dependencies need to be added to sr-templates/sr-assets/pattern-library/[module-name] and referenced in the JSON

Markup inside of HubL tags needs to be indented, same applies to and tags — fixed

JSON category need to be a number not a string and needs to be outside of custom_module — fixed

Last updated