Skip to content

Conversation

@jorrit
Copy link
Contributor

@jorrit jorrit commented Jul 28, 2025

What does it do?

Improve experience of sitemap plugin for first use.

Why is it needed?

The logic to determine which content to show when no sitemap was generated was outdated.

How to test it?

Install the sitemap addon to a new site and observe that the following is no longer present:

image

@changeset-bot
Copy link

changeset-bot bot commented Jul 28, 2025

🦋 Changeset detected

Latest commit: cdbfa0c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
webtools-addon-sitemap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jorrit
Copy link
Contributor Author

jorrit commented Jul 28, 2025

Also fixes
image

@codecov
Copy link

codecov bot commented Jul 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@1e7c9c8). Learn more about missing BASE report.
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #305   +/-   ##
=========================================
  Coverage          ?   40.48%           
=========================================
  Files             ?        2           
  Lines             ?      615           
  Branches          ?      149           
=========================================
  Hits              ?      249           
  Misses            ?      295           
  Partials          ?       71           
Flag Coverage Δ
unit 40.48% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

jorrit added 2 commits July 28, 2025 10:33
* `sitemapInfo.size` is never 0 as it contains `hasPro`
* Use react-intl formatter for date/time
@jorrit jorrit requested a review from boazpoolman July 28, 2025 08:38
Copy link
Member

@boazpoolman boazpoolman left a comment

Choose a reason for hiding this comment

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

Looks good!

@boazpoolman boazpoolman merged commit 2a5eede into pluginpal:master Jul 28, 2025
8 checks passed
@pluginpal-bot pluginpal-bot mentioned this pull request Jul 28, 2025
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