Skip to content

Improve empty Attack History guidance - #2312

Merged
romanlutz merged 3 commits into
microsoft:mainfrom
romanlutz:romanlutz-stunning-waddle
Aug 4, 2026
Merged

Improve empty Attack History guidance#2312
romanlutz merged 3 commits into
microsoft:mainfrom
romanlutz:romanlutz-stunning-waddle

Conversation

@romanlutz

@romanlutz romanlutz commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an in-context empty History action that opens Chat when a target is active
  • guide users without an active target directly to Configuration
  • keep loading, error, filtered-empty, table, and pagination behavior unchanged
  • cover accessible labels, target states, routing, keyboard activation, and browser Back behavior

Before

▶ Watch the empty History dead end (WebM, 200 KB)

After

▶ Watch the prerequisite-aware History flow (WebM, 359 KB)

Validation

  • npm test -- --runInBand src/components/History/AttackHistory.test.tsx src/App.test.tsx
  • npm run lint
  • npm run type-check
  • npm run test:e2e -- e2e/history.spec.ts --project=mock --grep "Attack History empty state"

Copilot AI added 2 commits August 1, 2026 22:39
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 27bb1063-02b1-4e82-a704-cedc542aa446
@hannahwestra25 hannahwestra25 self-assigned this Aug 3, 2026
Comment thread frontend/src/components/History/AttackHistory.tsx
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 27bb1063-02b1-4e82-a704-cedc542aa446
@romanlutz
romanlutz added this pull request to the merge queue Aug 4, 2026
Merged via the queue into microsoft:main with commit 101b139 Aug 4, 2026
49 of 50 checks passed
@romanlutz
romanlutz deleted the romanlutz-stunning-waddle branch August 4, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants