Skip to content

Conversation

shsteimer
Copy link
Collaborator

@aem-code-sync
Copy link

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

Page Scores Audits Google
📱 /tools/sitemap-admin/index.html PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /tools/sitemap-admin/index.html PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@shsteimer shsteimer marked this pull request as ready for review October 20, 2025 23:25
return sitemapDef
&& typeof sitemapDef.languages === 'object'
&& sitemapDef.languages !== null
&& Object.keys(sitemapDef.languages).length > 0;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This works fine if there's already a multi-lang sitemap set up already and you need to edit it and add a new language, but it doesn't let you create a new one from scratch and always shows the default sitemap-details-dialog-template because it expects at least one language to exist. I think just sitemapDef?.languages should work.

</div>
</li>
</template>
<template id="sitemap-multilang-dialog-template">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not required but might be worth adding a back button in each of these templates so the user doesn't have to exit out of the modal and hit "add new" again to start over?

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.

2 participants