[Chore] Simplify logic around tags#30892
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
There was a problem hiding this comment.
3 issues need fixing before merge.
CRITICAL
src/content/docs/style-guide/frontmatter/tags.mdximports and renders<TagsUsage />, which was deleted in this PR. This will break the build. The page also references the deleted/src/schemas/tags.ts. This page should be rewritten or removed.
HIGH
src/content/docs/style-guide/components/resources-by-selector.mdxwas updated to change thefilterablesexample, but lines 12 and 34–44 still document the deletedtagsprop andfilterables={["tags"]}. Clean up the rest of this page.src/content/docs/style-guide/components/external-resources.mdxlinks to/style-guide/frontmatter/tags/for a canonical tag list, but that page's allowlist visualization was removed. Remove or update this link.
MEDIUM
src/content/docs/style-guide/components/index.mdxdescribesResourcesBySelectoras filtering "based on tags and content type" — update to "content type and products".
| directory="workers/examples/" | ||
| types={["example"]} | ||
| filterables={["tags"]} | ||
| filterables={["products"]} |
There was a problem hiding this comment.
This example was updated, but the rest of this file still references the deleted tags prop and filterables={["tags"]} (lines 12 and 34–44). Please clean those up too.
|
I’ve completed the review of PR #30892 and posted a review comment with inline feedback. Summary of changesThis PR removes the tag allowlist and enforcement infrastructure from the docs site:
Labels applied
Issues flaggedCRITICAL
HIGH
MEDIUM
I posted these findings as a PR review (with an inline comment on the one changed line I could target directly; the remaining issues are in unchanged files that are now stale due to the deletions in this PR). |
|
This PR requires additional review attention because it affects the following areas: RedirectsThis PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:
|
|
/bonk re-review based on the latest changes |
Co-authored-by: kodster28 <kodster28@users.noreply.github.com>
|
Fixed 4 remaining stale references to the deleted tag filtering functionality:
The previously flagged CRITICAL and HIGH issues ( |
Summary
Clean up some of the unused, overly heavyweight logic we have running behind the scenes of our docs site.