FEAT GUI: Add seed-prompt inspiration entry points
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- accessibility, frontend, testing
Direzione di ricerca
Start with frontend\src\components\Chat\ChatInputArea.tsx, ChatWindow.tsx, App.tsx, and the dataset routes/context added in earlier work items. Read the existing context-preservation and explorer entry points before following the frontend style and test instructions. Done means both chat entry points, return behavior, direct explorer entry, accessibility, narrow viewports, and routing/component tests meet the listed acceptance criteria without triggering fetches or attack creation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
A dataset explorer is hard to discover when a user is staring at an empty chat composer and needs a seed prompt. The journey must feel like an extension of chat rather than abandoning the current attack.
Work item 8 of 17 in #2744. Technical prerequisites: dataset browsing and the completed draft/import flow in items 3-7. Keep not ready yet until promoted.
Describe the solution you'd like
Add a compact "Need inspiration? Browse seed prompts" callout in the empty-chat state and an accessible entry point near the composer. Both navigate to the existing Datasets section through the shared context-preservation mechanism.
Provide a clear return-to-chat action in the explorer when reached from chat. Preserve the source attack/conversation, the user's draft, and the explorer's filters/selection. From a standalone dataset route, do not pretend an unrelated attack is the current destination.
Browsing is available without a target. The later import action explains any target/destination requirements. Keep the callout lightweight and consistent with the current layout, themes, and touch-target conventions.
Acceptance criteria:
- Both entry points reach the explorer and returning restores the original draft/context.
- A user can start from an empty unsaved chat or an existing conversation.
- Keyboard navigation, accessible labels, focus restoration, and narrow viewports work.
- No dataset fetch, attack creation, or target call happens just by using the callout.
- Routing/component tests cover navigation, return, and direct explorer entry.
Describe alternatives you've considered, if relevant
No AI prompt-generation service, recommender, full onboarding redesign, or automatic random dataset download is needed. The useful first step is an obvious route to existing seeds.
Additional context
Start with frontend\src\components\Chat\ChatInputArea.tsx, ChatWindow.tsx, App.tsx, and the dataset routes/context added earlier. Follow the frontend style/test instructions. This completes the first milestone: browsing memory and using one example in chat.
- Lingua principale
- Python
- Stelle
- 4.5k
- Fork
- 896
- Merge medio
- 3g 5h
- PR unite (30g)
- 200
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/PyRIT
-
BUG HarmBench loader drops ContextString, so contextual behaviors are sent without their context Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di microsoft/PyRIT
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
modelscope/FunASR#3728 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
open-compass/opencompass#2655 ·