Skip to content

delete recent search #78

Description

@MostafaShraief

1. Feature Overview

Let a logged-in user remove any single keyword from their recent searches, with ownership enforced from the session.

2. User Stories

  • As a user,
  • I want to remove an unwanted item from my recent searches,
  • So that my keyword list stays relevant.

3. Acceptance Criteria

Scenario 1: Remove a Keyword

  • Given I am logged in and own the entry
  • When I remove it
  • Then the entry is deleted with a no-content response.

Scenario 2: Entry Not Found or Not Mine

  • Given the entry does not exist or does not belong to me
  • When I remove it
  • Then I get a "not found" error.

Scenario 3: Unauthenticated

  • Given I have no valid session
  • When I try to remove an entry
  • 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