Implementation

5 points small. 8 points medium. 13 points max.

Prerequisites:

Clone LaunchPad StarterSetup SR App Locally

1. Checkout Module Branch

Use the LaunchPad Starter repo, and in the submodule (sub repo) checkout the branch you need.

2. Add Required Module Attributes / Tags / Content

3. Update JSON

Add all fields (Required + Module Specific) to your JSON and test it using JSON Lint.

For available fields see here.

4. Update Module Template

Now that we have all fields added to our JSON we can update our module template and add in our HubL logic. Check the module's InVision url for dev comments.

5. Test Module Locally

6. Deploy to HubSpot

Use SR App to deploy the module. If you already have SR App setup just check the last section.

Setup SR App Locally

Test all fields. Insert various content (text, images, buttons, toggles etc) to evaluate the module and ensure it cannot be broken desktop or mobile.

7. Create a PL (Pattern Library) Page

TBD. Currently all modules also have a pl-module-name.html that shows how the module can be used and also contains a version history.

8. Create a Pull Request

Once the module has been fully tested, we need to create a Pull Request (in GitLab), assign one QC owner (CT / EP / MU) and include the HubSpot URL for where we can find the module.

Create a Pull Request

Last updated