internetarchive / internetarchive/openlibrary
Opt-in search history
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
People may want to revisit queries they made in the past.
### Describe the problem that you'd like solved
When one clicks on the search box at the top of the site or on the search page and no query has been entered yet a drop-down will emerge that asks whether you want to enable search history for your account. If search history is enabled then clicking in the search box will show you your last 10 or so queries.
This could be powered by local storage so this information wouldn't actually be stored on the server. Alternatively it could just be cached in memory or we could have a new table that maps users to queries.
### Proposal & Constraints
### Additional context
### Stakeholders
Contributor guide
Assessment
This issue has not been assessed yet.