Skip to content
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

DS-599: Optimized Campaign Landing Page #2310

Merged
merged 25 commits into from
Sep 10, 2021

Conversation

colbytcook
Copy link
Contributor

@colbytcook colbytcook commented Sep 3, 2021

Jira

https://pegadigitalit.atlassian.net/browse/DS-599

Summary

Created the demo pages for the Optimized Campaign Landing Page

Details

  • Created doc pages for the Optimized Campaign Landing Page templates
  • Create doc pages for the Optimized Campaign Landing Page themes
  • Modified the Layout CSS to fix a mobile bug
  • Text + Icon spacing adjusted in Button and Text Link elements (due to Icon element handling white space better than Icon component)

How to test

  • Pull down the branch and look at the Optimized Campaign Landing Page templates in the doc site
  • Reveal the Patternlab test folder and look at the examples of the themes
  • Check for regressions on the Layout Component (this PR modifies the Layout Item width behavior so we need some deep checks here).
  • Review the Video Thumbnail Center Component (we can change the name if we need) docs

Release notes

  • Added the Optimized Campaign Landing Page docs pages

Visual Changes

Button Element

  • Slightly increased the gap between button text and icon

Text Link Element

  • Slightly increased the gap between link text and icon

@github-actions github-actions bot added the type: feature List this PR in the 'Features' section of the release notes. label Sep 3, 2021
@colbytcook
Copy link
Contributor Author

@mikemai2awesome I will like some feedback on the layout.scss change that was made. Adding the minmax function here solves the carousel width issues we were having with the layout-item. I have done testing on and it seems that it did not introduce any regressions but I would like to get other eyes on this.

@colbytcook
Copy link
Contributor Author

colbytcook commented Sep 3, 2021

TODO: We need to solve the "Theme 4" and "Theme 6" image placements. It seems that these one are not rendering correctly on the template due to their image orientation (these are vertical while the remaining four are horizontal). We might need to re-export these assets to change their orientation.

@colbytcook colbytcook requested a deployment to feature/DS-599-campaign-landing--3add3d80--commit-preview September 3, 2021 17:48 Abandoned
@colbytcook colbytcook requested a deployment to feature/ds-459-new-modal--8df729dc--commit-preview September 7, 2021 12:27 In progress
@mikemai2awesome
Copy link
Collaborator

@colbytcook Thank you for jumping on this. I'll review what you did. I don't think we need to change any assets, they are positioned with specific css in specific layouts.

@colbytcook colbytcook changed the title [DO NOT MERGE] DS-599: Optimized Campaign Landing Page DS-599: Optimized Campaign Landing Page Sep 8, 2021
@colbytcook colbytcook requested a deployment to feature/DS-599-campaign-landing--d38dcd6b--commit-preview September 8, 2021 22:57 In progress
@colbytcook colbytcook temporarily deployed to feature/DS-599-campaign-landing--branch-preview September 9, 2021 14:07 Inactive
@colbytcook colbytcook temporarily deployed to feature/DS-599-campaign-landing--branch-preview September 9, 2021 18:38 Inactive
@colbytcook colbytcook temporarily deployed to feature/DS-599-campaign-landing--branch-preview September 9, 2021 20:09 Inactive
Copy link
Collaborator

@mikemai2awesome mikemai2awesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for #2313 (review) to get the Video Thumbnail updates.

@colbytcook colbytcook requested a deployment to feature/www-920-video-thumbnail-chip-and-title--00cd9b0f--commit-preview September 9, 2021 21:14 In progress
@colbytcook colbytcook temporarily deployed to feature/DS-599-campaign-landing--branch-preview September 9, 2021 22:13 Inactive
Copy link
Collaborator

@mikemai2awesome mikemai2awesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled in the Video Thumbnail updates. This is all set.

@colbytcook colbytcook had a problem deploying to feature/DS-599-campaign-landing--branch-preview September 10, 2021 12:50 Failure
Copy link
Collaborator

@danielamorse danielamorse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good guys! Tested new templates and Bolt Layout (no regressions found).

I added the Button and Link Text icon spacing changes to the Release Notes. Important to flag this type of change for QA.

@@ -8,7 +8,7 @@
{% set item_attributes = create_attribute(attributes|default({})) %}

<bolt-layout-item
{{ source_order ? 'source-order="' ~ source_order ~ '"' : '' }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this fix a bug? It looks like the name didn't match the schema before. If it fixes a Layout bug, let's note it in the Release Notes.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it would fix a bug... we're using the <bolt-layout> custom element in the layout authoring work, because twig wasn't working (I don't know the details). Maybe this was the problem, or part of it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this was a fix to a bug in the ordering, there was a discrepancy between the schema and the twig (exactly what you said Dan).

@colbytcook colbytcook requested a deployment to feature/DS-599-campaign-landing--branch-preview September 10, 2021 15:11 Abandoned
Copy link
Collaborator

@remydenton remydenton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broadly speaking, the code looks good. We plan to review these with stakeholders, right?

@colbytcook colbytcook merged commit cb147b7 into master Sep 10, 2021
@colbytcook colbytcook deleted the feature/DS-599-campaign-landing branch September 10, 2021 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature List this PR in the 'Features' section of the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants