platform-guideline checked

Add recent searches

Explains adding recent searches to autocomplete, limiting displayed entries, separating histories with a storage key, storing submitted searches after Enter, linking or selecting recent queries, and using custom storage.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Recently searched Choose recently searched when entries should be query strings the current user actually submitted, not possible suggestions or opened objects. Submitting a qualifying search writes or updates a recent-search entry for the current scope when history is on. Algolia documents recent-search storage keys, visible limits, submitted-query behavior, selection, linking, and custom storage.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: Algolia. Last checked: .