platform-guideline 1 linked patterns 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.

Read with a purpose

What this source can teach

Use this source to understand a platform convention and the setting it was designed for.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

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.

Comparisons supported by this source

Evidence Role

This source is treated as platform-guideline evidence. Its value comes from the specific claims and setting described above.

Publisher: Algolia. Last checked: .

Saved items