Navigate to moved record #500

Open
opened 2025-04-21 12:23:44 +00:00 by fricklerhandwerk · 0 comments
fricklerhandwerk commented 2025-04-21 12:23:44 +00:00 (Migrated from github.com)

As a user of the security tracker, whenever I change the state of a suggestion or issue (e.g. to "draft" or "dismissed"), I want to be able to view that new state immediately, in order not to have to search for it in a different place.

Acceptance criteria

  • New -> Dismissed

    Given there's a new suggestion,
    When I dismiss it,
    Then there's a way to navigate directly to the dismissed suggestion.

  • Dismissed -> Draft

    Given there's a dismissed suggestion,
    When I mark it as draft,
    Then there's a way to navigate directly to the draft issue.

  • New -> Draft

    Given there's a new suggestion,
    When I mark it as draft,
    Then there's a way to navigate directly to the draft issue.

  • Draft -> Dismissed

    Given there's a draft issue,
    When I mark it as dismissed,
    Then there's a way to navigate directly to the dismissed suggestion.

  • Draft -> Published

    Given there's a draft issue,
    When I publish it,
    Then there's a way to navigate directly to the published GitHub issue and to the security tracker issue.

Implementation notes

Since we also support a pure HTML workflow, these are actually two things to keep parity. To make that somewhat tractable there currently needs to be a bit of cleanup to separate the htmx and the pure HTML code paths and test them separately.

As a user of the security tracker, whenever I change the state of a suggestion or issue (e.g. to "draft" or "dismissed"), I want to be able to view that new state immediately, in order not to have to search for it in a different place. ## Acceptance criteria - New -> Dismissed Given there's a new suggestion, When I dismiss it, Then there's a way to navigate directly to the dismissed suggestion. - Dismissed -> Draft Given there's a dismissed suggestion, When I mark it as draft, Then there's a way to navigate directly to the draft issue. - New -> Draft Given there's a new suggestion, When I mark it as draft, Then there's a way to navigate directly to the draft issue. - Draft -> Dismissed Given there's a draft issue, When I mark it as dismissed, Then there's a way to navigate directly to the dismissed suggestion. - Draft -> Published Given there's a draft issue, When I publish it, Then there's a way to navigate directly to the published GitHub issue **and** to the security tracker issue. ## Implementation notes Since we also support a pure HTML workflow, these are actually two things to keep parity. To make that somewhat tractable there currently needs to be a bit of cleanup to separate the htmx and the pure HTML code paths and test them separately.
Sign in to join this conversation.
No description provided.