1. Feature Overview
Let a logged-in user view their latest keyword searches (most recent first, up to 10) as a text list shown under the search field.
2. User Stories
- As a user,
- I want to see my recent search keywords under the search field,
- So that I can re-run a search with one tap.
3. Acceptance Criteria
Scenario 1: List My Keywords
- Given I am logged in and have searched with keywords
- When I open the recent searches list
- Then I see up to 10 keywords, most recent first.
Scenario 2: Empty History
- Given I have never searched with a keyword
- When I open the list
- Then I get an empty list with a 200 response, not an error.
Scenario 3: Unauthenticated
- Given I have no valid session
- When I request the list
- Then access is denied.
4. Resources & References
1. Feature Overview
Let a logged-in user view their latest keyword searches (most recent first, up to 10) as a text list shown under the search field.
2. User Stories
3. Acceptance Criteria
Scenario 1: List My Keywords
Scenario 2: Empty History
Scenario 3: Unauthenticated
4. Resources & References