Skip to content

Conversation

@jorrit
Copy link
Contributor

@jorrit jorrit commented Jul 20, 2025

What does it do?

The primary goal was to show a spinner on the 'Bulk generate' button when generating. I also added some cosmetic changes in separate commits.

Why is it needed?

It's easy to accidently click twice on the Bulk generate button as it provides no feedback. When this process is started twice, the results are either no or duplicate aliases.

How to test it?

Start the playground, click the Bulk generate button. It should show a spinner.

image

@changeset-bot
Copy link

changeset-bot bot commented Jul 20, 2025

🦋 Changeset detected

Latest commit: 0dfc272

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

This PR includes changesets to release 1 package
Name Type
strapi-plugin-webtools 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 jorrit force-pushed the bulkgenfixes branch 2 times, most recently from 91012af to 53c3bac Compare July 20, 2025 15:49
@codecov
Copy link

codecov bot commented Jul 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.87%. Comparing base (f2c794c) to head (0dfc272).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
- Coverage   40.98%   40.87%   -0.11%     
==========================================
  Files           2        2              
  Lines         627      614      -13     
  Branches      148      146       -2     
==========================================
- Hits          257      251       -6     
+ Misses        296      290       -6     
+ Partials       74       73       -1     
Flag Coverage Δ
unit 40.87% <ø> (-0.11%) ⬇️

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 jorrit changed the title chore: simplify isContentTypeEnabled in core Show spinner when bulk generating aliases Jul 21, 2025
@jorrit
Copy link
Contributor Author

jorrit commented Jul 22, 2025

I have no idea how the code coverage is calculated. It only shows a file in the sitemap package.

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.

This is great. Thanks @jorrit <3

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