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

News cards feed #82

Merged
merged 30 commits into from
Oct 4, 2023
Merged

News cards feed #82

merged 30 commits into from
Oct 4, 2023

Conversation

sdmcraft
Copy link

@sdmcraft sdmcraft commented Oct 1, 2023

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):

Fixes #9

Test URLs:

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 1, 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

@sdmcraft sdmcraft changed the title New cards feed News cards feed Oct 1, 2023
@aem-code-sync
Copy link

aem-code-sync bot commented Oct 1, 2023

Page Scores Audits Google
/_drafts/satyam Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 404) PSI

@github-actions
Copy link

github-actions bot commented Oct 1, 2023

🔸 4 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3933px, received 1280px by 3441px. 2988919 pixels (ratio 0.60 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 5021px, received 1312px by 5003px.
  • /sidekick/blocks/feed (main vs branch)
    9659 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 1, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 1, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@sdmcraft sdmcraft marked this pull request as draft October 1, 2023 18:52
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

🔸 4 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3933px, received 1280px by 3441px. 2988919 pixels (ratio 0.60 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 5021px, received 1312px by 5003px.
  • /sidekick/blocks/feed (main vs branch)
    9659 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

scripts/scripts.js Outdated Show resolved Hide resolved
Copy link

@dnbute dnbute left a comment

Choose a reason for hiding this comment

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

Is the fact that the cards are not clickable expected for this pr?

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 3, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

🔸 5 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3933px, received 1280px by 3441px. 2988919 pixels (ratio 0.60 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6313px, received 1312px by 6512px. 320867 pixels (ratio 0.04 of all image pixels) are different.
  • /sidekick/blocks/hero-banner (main vs branch)
    Expected an image 1280px by 720px, received 1280px by 820px. 522039 pixels (ratio 0.50 of all image pixels) are different.
  • /sidekick/blocks/feed (main vs branch)
    9659 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 3, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@sdmcraft
Copy link
Author

sdmcraft commented Oct 3, 2023

Is the fact that the cards are not clickable expected for this pr?

Fixed.

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

🔸 5 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3933px, received 1280px by 3441px. 2988919 pixels (ratio 0.60 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6313px, received 1312px by 6512px. 320867 pixels (ratio 0.04 of all image pixels) are different.
  • /sidekick/blocks/hero-banner (main vs branch)
    Expected an image 1280px by 720px, received 1280px by 820px. 522039 pixels (ratio 0.50 of all image pixels) are different.
  • /sidekick/blocks/feed (main vs branch)
    9570 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 4, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🔸 4 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3312px, received 1280px by 2819px. 2036368 pixels (ratio 0.49 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6530px, received 1312px by 6512px.
  • /sidekick/blocks/feed (main vs branch)
    9570 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

Base automatically changed from i-9c to main October 4, 2023 07:34
@aem-code-sync
Copy link

aem-code-sync bot commented Oct 4, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🔸 3 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3312px, received 1280px by 2819px. 2036368 pixels (ratio 0.49 of all image pixels) are different.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6530px, received 1312px by 6512px.

The diff images are attached in the artifact

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 4, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@sdmcraft sdmcraft marked this pull request as ready for review October 4, 2023 09:37
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🔸 2 visual differences detected

  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6530px, received 1312px by 6512px.

The diff images are attached in the artifact

@sdmcraft
Copy link
Author

sdmcraft commented Oct 4, 2023

Is the fact that the cards are not clickable expected for this pr?

Fixed.

@sdmcraft
Copy link
Author

sdmcraft commented Oct 4, 2023

🔸 2 visual differences detected

  • /sidekick/blocks/cards (main vs branch)Expected an image 1280px by 1175px, received 1280px by 1011px. 39818 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)Expected an image 1312px by 6530px, received 1312px by 6512px.

The diff images are attached in the artifact

Both of these are expected since this PR proposes changes in cards styling.

@@ -93,11 +99,9 @@ main .block.cards {
}

.cards .cards-card-image {
height: 155px;

Choose a reason for hiding this comment

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

can we use rem here?

@aem-code-sync
Copy link

aem-code-sync bot commented Oct 4, 2023

Page Scores Audits Google
/_drafts/satyam/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🔸 10 visual differences detected

  • /career/yuya-yoshisue (main vs branch)
    Expected an image 1280px by 3933px, received 1280px by 3981px. 325689 pixels (ratio 0.07 of all image pixels) are different.
  • /sidekick/blocks/hero (main vs branch)
    Expected an image 1441px by 4004px, received 1441px by 4052px.
  • /sidekick/blocks/collage (main vs branch)
    Expected an image 1280px by 5160px, received 1280px by 5206px.
  • /sidekick/blocks/columns (main vs branch)
    Expected an image 1280px by 7092px, received 1280px by 7070px.
  • /sidekick/blocks/cards (main vs branch)
    Expected an image 1280px by 1155px, received 1280px by 1011px. 39706 pixels (ratio 0.03 of all image pixels) are different.
  • /sidekick/blocks/text-image (main vs branch)
    Expected an image 1280px by 4107px, received 1280px by 4108px.
  • /sidekick/blocks/carousel (main vs branch)
    Expected an image 1280px by 1306px, received 1280px by 1354px. 146329 pixels (ratio 0.09 of all image pixels) are different.
  • /sidekick/blocks/sections (main vs branch)
    Expected an image 1312px by 6520px, received 1312px by 6536px. 264673 pixels (ratio 0.04 of all image pixels) are different.
  • /sidekick/blocks/career-apply (main vs branch)
    40960 pixels (ratio 0.05 of all image pixels) are different.
  • /sidekick/blocks/feed (main vs branch)
    11880 pixels (ratio 0.02 of all image pixels) are different.

The diff images are attached in the artifact

@sdmcraft sdmcraft merged commit af72966 into main Oct 4, 2023
4 checks passed
@sdmcraft sdmcraft deleted the news-cards branch October 4, 2023 13:36
@sdmcraft sdmcraft added this to the Milestone-3 milestone Oct 5, 2023
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.

News feed in cards block
4 participants