typesense / typesense/docusaurus-theme-search-typesense
Search bar results link and SearchPage don't load new results after first view
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 84
- Forks
- 24
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Description
When I use the search box for a second time it fails to reload the search.
Steps to reproduce
- Go to home
- Search for content using search bar
- Scroll to bottom results link
- Select results link and view all results
- Use the search bar for another term
- Scroll to bottom results link
- Select results link and view
- Repeat 5-7
Expected Behavior
New results will show for the new search terms
Actual Behavior
Old results from first search term continue to show
Metadata
Typesense Version: 0.9.0 (docusaurus-theme-search-typesense)
OS:
Windows Chrome 109.0.5414.120 (Official Build) (64-bit)
search-bug.webm
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the search-bar flow from the listed steps, then trace how the first query is passed to the results link and SearchPage. Check the state or query handling for subsequent searches. Done means each new search term loads matching results instead of retaining the first search.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100