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

MWPW-144683 Remove Null from Article Header #37

Closed
wants to merge 2 commits into from

Conversation

meganthecoder
Copy link
Contributor

  • Make sure "null" won't show in the article header eyebrow if there's no category on the page

Resolves: MWPW-144683

Test URLs:

Copy link

aem-code-sync bot commented Mar 20, 2024

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

Copy link

aem-code-sync bot commented Mar 20, 2024

Page Scores Audits Google
/drafts/methomas/no-category?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI


export function getTaxonomyModule() {
return true;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this here to prevent errors?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are here as mocks for the external milo scripts, as called out as best practice by the community. Before, I've tried to use import maps like we do in milo tests, but they don't work with template strings in dynamic imports. Here, I'm mocking the external scripts by setting milo libs to pull from the localhost mocks folder.

@meganthecoder
Copy link
Contributor Author

I'm closing this PR because the functionality is no longer needed, and I've opened a new one with just the unit test updates. #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-verification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants