Skip to content

Improve empty Attack History guidance - #2312

Open
romanlutz wants to merge 2 commits into
microsoft:mainfrom
romanlutz:romanlutz-stunning-waddle
Open

Improve empty Attack History guidance#2312
romanlutz wants to merge 2 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
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.

2 participants