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

Rename career-hero to hero-career to follow hero block guidelines #78

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

bosschaert
Copy link

@bosschaert bosschaert commented Sep 28, 2023

This fixes a layout problem with the hero block for career testimonials

Fixes #15

Test URLs:

This also fixes a layout issue with this block
@aem-code-sync
Copy link

aem-code-sync bot commented Sep 28, 2023

Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

@github-actions
Copy link

🔸 1 visual difference detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3198px, received 1280px by 2705px. 1806048 pixels (ratio 0.45 of all image pixels) are different.

The diff images are attached in the artifact

@bosschaert bosschaert marked this pull request as draft September 28, 2023 18:24
@bosschaert bosschaert marked this pull request as ready for review September 28, 2023 18:25
@hlxsites hlxsites deleted a comment from aem-code-sync bot Sep 28, 2023
@hlxsites hlxsites deleted a comment from aem-code-sync bot Sep 28, 2023
@aem-code-sync
Copy link

aem-code-sync bot commented Sep 28, 2023

Page Scores Audits Google
/career/boedi-hartono PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Sep 28, 2023

Page Scores Audits Google
/career/boedi-hartono PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Sep 28, 2023

Page Scores Audits Google
/career/boedi-hartono PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

🔸 1 visual difference detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3198px, received 1280px by 2705px. 1806048 pixels (ratio 0.45 of all image pixels) are different.

The diff images are attached in the artifact

blocks/hero-career/hero-career.js Outdated Show resolved Hide resolved
heroRight.classList.add('hero-career-right');
heroDiv.appendChild(heroRight);
addTextEl('blockquote', cfg.quote, heroRight, 'hero-career-quote');
addTextEl('h6', 'Career background', heroRight, 'hero-career-careerbgtitle'); // TODO i18n

Choose a reason for hiding this comment

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

how are we tracking these todos ?

Copy link
Author

Choose a reason for hiding this comment

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

We will have to have a separate effort (probably fairly small) to make these pages work with Japanese. This issue will become evident then.

@aem-code-sync
Copy link

aem-code-sync bot commented Sep 29, 2023

Page Scores Audits Google
/career/boedi-hartono PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Sep 29, 2023

Page Scores Audits Google
/career/boedi-hartono PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

🔸 2 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3198px, received 1280px by 2705px. 1806048 pixels (ratio 0.45 of all image pixels) are different.
  • /sidekick/blocks/network-item (main vs branch)
    Expected an image 1280px by 1603px, received 1280px by 1749px. 70279 pixels (ratio 0.04 of all image pixels) are different.

The diff images are attached in the artifact

@github-actions
Copy link

🔸 2 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3198px, received 1280px by 2705px. 1806048 pixels (ratio 0.45 of all image pixels) are different.
  • /sidekick/blocks/network-item (main vs branch)
    Expected an image 1280px by 1603px, received 1280px by 1749px. 70279 pixels (ratio 0.04 of all image pixels) are different.

The diff images are attached in the artifact

@bosschaert bosschaert merged commit 6dcd4c4 into main Sep 29, 2023
4 checks passed
@bosschaert bosschaert deleted the issue-15-2 branch September 29, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Career testimonials: create hero block
3 participants