Skip to content

[codex] dedupe tag filter options#650

Open
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/dedupe-tag-filter-options
Open

[codex] dedupe tag filter options#650
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/dedupe-tag-filter-options

Conversation

@Sean-Kenneth-Doherty
Copy link
Copy Markdown

Summary

  • dedupe tag-filter options by their lowercase value before rendering the dropdown
  • keep the first display label for each tag while preventing duplicate select values like github and javascript

Why

The project data contains tags with capitalization differences, which can render repeated filter choices with the same value. This keeps the UI cleaner without rewriting the underlying project data.

Validation

  • GITHUB_TOKEN=$(gh auth token) pnpm build
  • generated dist/index.html option check: 306 total options, 305 tag options, 0 duplicate non-empty option values

@Sean-Kenneth-Doherty
Copy link
Copy Markdown
Author

Validation pass for this branch:

  • Confirmed the only source change is src/components/ProjectList.astro.
  • Ran GITHUB_TOKEN=... pnpm build; Astro built both routes successfully.
  • Checked generated dist/index.html: 306 total <option> elements, 305 tag options, and 0 duplicate non-empty option values.

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.

1 participant