Skip to content

OpenConceptLab/ocl_issues#3028 | Verified filter and version marks in search and pinned repositories - #118

Open
filiperochalopes wants to merge 2 commits into
OpenConceptLab:mainfrom
filiperochalopes:feature/verified-mark-search-results-and-pinned-repos
Open

filiperochalopes wants to merge 2 commits into
OpenConceptLab:mainfrom
filiperochalopes:feature/verified-mark-search-results-and-pinned-repos

Conversation

@filiperochalopes

Copy link
Copy Markdown
Contributor

TL;DR: Add verified filtering and version-specific marks to repository and concept search and organization summaries for OpenConceptLab/ocl_issues#3028.

Closes OpenConceptLab/ocl_issues#3028

Pending before merge: the search facet and indexed verification data depend on OpenConceptLab/ocl_issues#3027, which remains open. End-to-end behavior, the approved mockup, and the design-system gap have not been verified; merging now would close the issue despite these pending criteria. Refs OpenConceptLab/ocl_issues#3028 would avoid automatic closure until they are complete.


Main Changes

Area Files Description
Search src/components/search/SearchFilters.jsx, ResultConstants.js, TableResults.jsx, VerifiedVersionLabel.jsx, verifiedResults.js Put the Verified choice first and show version-specific marks in results.
Organization src/components/common/Bookmark.jsx, src/components/orgs/OrgStatistics.jsx, src/hooks/useVerifiedRepoCount.js Mark verified pinned repositories and link a nonzero count to filtered repositories.
Presentation src/components/repos/VerifiedChip.jsx, verifiedColors.js Reuse the verified presentation and colors.
Tests and translations src/components/search/__tests__/verifiedResults.test.js, src/i18n/locales/{en,es,pt-BR,zh}/translations.json Cover helper behavior and provide strings in four locales.

Key Decisions

Decision Choice Rationale
Verification scope Label the released version rather than the repository as a whole. Verification belongs to a version.
Filter Use the API's verified facet and keep the selected value in the URL. Reuse the existing search-filter mechanism.
Count Hide the organization summary entry when the count is zero or unavailable. Avoid presenting an empty or unknown count as a verified total.

Verification Checklist

npm test -- --runInBand
NODE_ENV=production npm run build
  • Node test suite: 299 passed on commit a19f67e.
  • Production-mode build completed with webpack asset-size warnings. Plain npm run build without NODE_ENV failed because --mode was empty.
  • Exercise repository and concept filtering, counts and URL persistence against an API providing the verified facet (#3027).
  • Verify result and pinned-card presentation and organization count/navigation in the browser against the approved mockup.
  • Flag any new design-system gaps and confirm acceptance criteria with the reviewer.
  • Confirm CI and independent review.

* Add a Verified filter and mark verified versions in search results and pinned repositories.

* Show verified repository counts on organization pages and link to filtered results.

* Add translations and tests for verified search results.
@filiperochalopes
filiperochalopes marked this pull request as ready for review December 4, 2026 02:57
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T03:02:01.638933Z a19f67e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

* Remove inline comments that only tied lines to an issue's rules, leaving the code to read on its own

* Keep the block comments that explain what the verified helpers do, without the issue references

This branch has not been deployed

No deployments
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.

TBv3: Verified filter, and the Verified mark in search results and on pinned repositories

1 participant