Skip to content

[FEATURE] Highlight recently added test cases #217

@therealbrad

Description

@therealbrad

Feature Summary

Visually highlight recently added test cases in a folder so users can immediately spot newly imported or generated cases without needing the Created At column visible.

Problem Statement

Current Situation

When importing or generating test cases into a folder that already contains many cases, the new ones are appended to the end of the list (which is the desired behavior). However, there's no visual indication of which cases are new — users have to either:

  • Enable the Created At column and scan manually
  • Sort by created date
  • Page through to the end of the list to find them

This is especially painful in folders with hundreds of cases spread across multiple pages.

Desired Outcome

After importing or generating test cases, the user can immediately see which cases are new at a glance, and ideally is taken to the page where those new cases live.

Proposed Solution

Apply a visual highlight (e.g., subtle background color or left border accent) to test case rows whose createdAt timestamp is within a recent time window (e.g., last 5 minutes). The highlight fades/disappears once the threshold is exceeded or on next page refresh.

Bonus: After an import or generation completes, automatically navigate the user to the page containing the newly added cases so they don't have to hunt for them.

User Story

As a QA engineer, I want newly imported or generated test cases visually highlighted (and to land on the page they're on) so that I can immediately find and review them without enabling extra columns or sorting.

Acceptance Criteria

  • Test case rows with a createdAt within a configurable threshold (default ~5 minutes) render with a visual highlight
  • Highlight is subtle but unmistakable in both light and dark themes
  • Highlight clears automatically once the threshold passes
  • After an import or generation action, the case list jumps to the page containing the new cases
  • Works for both imported and AI-generated cases

Alternative Solutions

Option 1

Show a temporary toast/banner like "12 new cases added" with a "Jump to them" link instead of (or in addition to) row highlighting.

Option 2

Auto-sort by createdAt desc temporarily after an import so new cases appear at the top, then revert to default ordering on next interaction. This may be disorienting for the user.

Technical Considerations

Dependencies

  • Requires UI/UX design review (highlight color/style)

Performance Impact

Negligible — highlight is a client-side comparison against createdAt, no extra queries.

Security Considerations

None.

Business Value

Priority

  • Medium - Nice to have

Affected User Groups

  • QA Engineers
  • Test Managers

Expected Usage

  • Daily (anyone importing or generating cases)

Implementation Effort

  • Small (1-2 days)

Additional Context

The highlight threshold could be a small constant in code initially; no need for a user setting on first pass. The "jump to page" behavior is the higher-value half of this feature for folders with many pages of cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions