Conversation
…tching The search was capped at 30 results (now 500), hiding most matches. Also, search terms required exact whole-word matches — e.g. "registra" wouldn't find "registration". Now the last word in a query uses prefix matching while earlier words still require full-word matches, keeping results relevant without noise. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
📝 Spell Check ResultsFound 1 potential spelling issue(s) when checking 3 changed file(s): 📄
|
| Line | Issue |
|---|---|
| 100 | collapsable ==> collapsible |
ℹ️ How to address these issues:
- Fix the typo: If it's a genuine typo, please correct it.
- Add to whitelist: If it's a valid word (e.g., a name, technical term), add it to
.codespell-ignore.txt - False positive: If this is a false positive, please report it in the PR comments.
🤖 This check was performed by codespell
|
✅ Staging Deployment Status This PR has been successfully deployed to staging as part of an aggregated deployment. Deployed at: 2026-04-08 12:27:09 UTC The staging site shows the combined state of all compatible open PRs. |
Previously each query word matched independently (OR), so "pre-registration" returned more results than "registration" because "pre" matched extra items. Now every query word must appear in an item for it to be included. Multi-word phrases and prefix matching still contribute to ranking/weight. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Content normalization produces both forms (split and joined) for hyphenated words. Query normalization strips hyphens so both "pre-registration" and "preregistration" search identically. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Instead of loading index.json and rendering a separate results list, the search input now filters the existing resource cards in-place via isotope. Supports AND logic (all words must match), prefix matching, and works alongside the category filter buttons. Shows a count of matching resources. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Card text contains original hyphens, so searching "preregistration" wouldn't find cards with "pre-registration". Now hyphens are stripped from both the query (split to words) and card text (before matching). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@richarddushime I think this is good to go - improves on #286 - could be further optimised, but it is now functional, and a more complex search can come when we search across resources |
richarddushime
left a comment
There was a problem hiding this comment.
LGTM 👍
But this raises an extra issue that we can fix in a separate PR
at the bottom of the search results the section for Number of resources per FORRT Clusters
links are not working instead pointing to 404 page
Summary
Test plan
🤖 Generated with Claude Code