Repository navigation
FEAT: Compact Chat seed inspiration and dataset navigation - #4487
Open
Richard Lundeen (richlundeen) wants to merge 2 commits into
Open
Richard Lundeen (richlundeen) wants to merge 2 commits into
Richard Lundeen (richlundeen) wants to merge 2 commits into
Conversation
Replace the full-width inspiration callout with a themed paperclip helper beside Seed prompts until the first conversation turn. Remove the redundant dataset detail back link while preserving contextual navigation, drafts, and imports. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Direct-entry dataset detail pages lack an in-app route back to the catalog because the Datasets sidebar restores the same detail URL, requiring a navigation fix and an App-level regression test.
1 open issue
What changed in this PR
Refines seed-prompt discovery in PyRIT’s Chat workspace with a compact helper and simpler dataset-detail navigation, building on #3987.
Changes:
- Replaces the wide inspiration banner with a paperclip helper beside Seed prompts, visible while drafting until the first conversation turn.
- Removes Back to datasets from dataset detail while retaining contextual Return to Chat.
- Updates documentation and regression coverage for helper visibility, draft preservation, and browser-history navigation.
| File | Description |
|---|---|
frontend/src/components/Datasets/DatasetSelection.tsx |
Removes the catalog-return link. |
frontend/src/components/Datasets/DatasetSelection.test.tsx |
Updates detail-page navigation assertions. |
frontend/src/components/Datasets/DatasetCatalog.test.tsx |
Checks filter and pagination restoration through browser history. |
frontend/src/components/Chat/PromptEditor.styles.ts |
Adds compact, wrapping helper styles and touch sizing. |
frontend/src/components/Chat/ChatWindow.tsx |
Keeps inspiration visible while the transcript is empty. |
frontend/src/components/Chat/ChatWindow.test.tsx |
Covers visibility during drafting and after sending. |
frontend/src/components/Chat/ChatInputArea.tsx |
Places the paperclip helper beside the persistent browse action. |
frontend/src/components/Chat/ChatInputArea.seed-inspiration.test.tsx |
Covers keyboard activation and drafting with attachments. |
frontend/src/App.drafts.test.tsx |
Updates navigation assertions during draft round trips. |
frontend/README.md |
Revises dataset navigation guidance. |
frontend/e2e/datasets.spec.ts |
Updates browser-history navigation checks. |
frontend/e2e/datasets.seeded.spec.ts |
Updates helper and navigation checks against the seeded backend. |
doc/gui/0_gui.md |
Documents the compact helper and its visibility. |
Review effort: Balanced
Remove the redundant standalone Seed prompts action and keep the paperclip browse helper available after each turn and while sends are gated. Make active Datasets navigation return detail pages to their preserved catalog or the catalog root, without losing detail restoration from other workspaces. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Replace the wide Chat inspiration banner and standalone Seed prompts action with one tiny, persistent paperclip browse helper below the composer. Remove the redundant Back to datasets link while keeping contextual Return to Chat and a working sidebar route to the dataset catalog.
/datasets, including bookmarked and invalid selections; retain detail/paging restoration when entering from another workspace.Real matched captures use the same offline target, light theme, and empty conversation at each viewport. Screenshots appear only in this description.
Chat
Dataset detail
Refines #3987.