Skip to content

Conversation

@JasonHowellSlavin
Copy link

  • Adds a tool for the library that allows users to build metadata blocks with a form

Resolves: MWPW-174258

Test URLs:

@aem-code-sync
Copy link

aem-code-sync bot commented Nov 5, 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

@aem-code-sync
Copy link

aem-code-sync bot commented Nov 5, 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

Copy link

@meganthecoder meganthecoder left a comment

Choose a reason for hiding this comment

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

No testing url?

@JasonHowellSlavin
Copy link
Author

No testing url?

I was going to wait to update until code review was done since it requires updating the config to see it work on a page.

});

// Store original DA_SDK if it exists
originalSdk = window.DA_SDK;

Choose a reason for hiding this comment

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

Is there a window.DA_SDK?

const init = async () => {
const mdForm = document.createElement('da-md-form');
document.body.append(mdForm);
await delay(50); // Wait for connectedCallback and async operations

Choose a reason for hiding this comment

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

Can you use fake timers / tick?

Copy link
Author

Choose a reason for hiding this comment

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

They made the tests timeout. I believe the setTimeout works better here because the delay is to let lit finish rendering processes rather than wait for async operations to complete?

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.

3 participants