Skip to content

get recent searches #77

Description

@MostafaShraief

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions