opensafely-core / opensafely-core/opencodelists
Move the search to a dedicated search page
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 60
- Forks
- 16
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 17
Description
Currently all searching for Codelists takes place on the home page. This limits our ability to modify the home page, and means that the home page "hero" section is shown on all search results page.
We should move the searching and search results page to a new URL (for example /search) and enable the form on the home page to take users to search results at that URL. We should redirect all old search URLs to the new search page, so any legacy links will continue to work.
This should also help in creating a much more performant home page (see https://github.com/opensafely-core/opencodelists/issues/1640), and open a pathway to a redesign of the home page.
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
Trace the current Codelists search form, results route, and legacy URL handling from the home page. Implement the dedicated /search flow, point the home-page form at it, and verify old search URLs redirect while the home page no longer renders search results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100