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

Rolling import to DA #278

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Rolling import to DA #278

merged 1 commit into from
Feb 4, 2025

Conversation

mokimo
Copy link
Contributor

@mokimo mokimo commented Jan 29, 2025

Description

Enables a rolling import to DA based on Nexters import script with small adaptions for IMS. Since this is a copy, we'll need to manually sync any updates that go into the nexter import script

  • Workflow gets notified on publish on bacom
  • Workflow imports the published resource to DA da-bacom
  • Workflow previews & publishes that resource

Resolves: MWPW-164826

Test URLs:

Copy link

aem-code-sync bot commented Jan 29, 2025

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.80%. Comparing base (27c3028) to head (1ab7919).
Report is 49 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #278      +/-   ##
==========================================
+ Coverage   95.95%   96.80%   +0.85%     
==========================================
  Files          11       13       +2     
  Lines        1088     1379     +291     
==========================================
+ Hits         1044     1335     +291     
  Misses         44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

aem-code-sync bot commented Jan 29, 2025

Page Scores Audits Google
📱 /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

1 similar comment
Copy link

aem-code-sync bot commented Jan 29, 2025

Page Scores Audits Google
📱 /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@mokimo
Copy link
Contributor Author

mokimo commented Jan 31, 2025

@Brandon32 @JasonHowellSlavin can one of you look into this PR and get it on main? (PS: The code is mostly from nexter - I tried to not change any code/style to make getting changes back in easier)

It should listen to all publish hooks within bacom and publish those articles into DA bacom and have no prod influence on the bacom project itself

imgs.forEach((img) => {
const clone = img.cloneNode(true);
clone.setAttribute('loading', 'lazy');
// clone.src = `${clone.src}?optimize=medium`;
Copy link
Contributor

Choose a reason for hiding this comment

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

did you want to leave this commented out code in?

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, that's as it is in nexter too 😁

@JasonHowellSlavin JasonHowellSlavin merged commit 726bde3 into stage Feb 4, 2025
7 checks passed
@JasonHowellSlavin JasonHowellSlavin deleted the da-rolling-import branch February 4, 2025 21:04
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.

4 participants