Quick insert: pick a prompt and fill in its variables
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp, sqlite
- Ambito
- desktop, developer-experience, testing
Direzione di ricerca
Start with CommandPaletteViewModel.cs for keyboard navigation, then trace AnalyzeVariables and Render in PromptTemplateService.cs and the shared cache in ShellServices.cs and PromptEditorViewModel.cs. Check SqliteRenderValues.cs for persistence and find the UI, FocusOrderTests, and AccessibilityTests entry points. Done means keyboard-only selection and filling, values shared with the Render tab, and the specified UI and accessibility tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Once Quick insert is open (#24), picking and filling in a prompt should take only the keyboard.
What to do
- Up and Down move through the results and Enter picks one, as in the command palette. Esc closes Quick insert and changes nothing.
- A prompt without
{{variables}}goes straight on to #26. - A prompt with variables asks for them in the same window, one box per variable in order of first appearance, filled with its remembered values. Tab moves between the boxes and Enter (or Ctrl+Enter in a box that takes several lines) inserts. Changed values are remembered as they're typed, as on the Render tab, and a missing or empty value leaves its
{{token}}in place. - Remembered values never go into logs. Log prompt IDs only.
Where to look
src/Prompuff.Application/Services/PromptTemplateService.cs:AnalyzeVariables,Rendersrc/Prompuff.Infrastructure/Repositories/SqliteRenderValues.cs:LoadAsync,SaveAsyncsrc/Prompuff.App/ViewModels/ShellServices.cs:RenderValuesCache, which the Render tab sharessrc/Prompuff.App/ViewModels/PromptEditorViewModel.cs: how the Render tab uses the cachesrc/Prompuff.App/ViewModels/CommandPaletteViewModel.cs: keyboard movement through results
Done when
- A prompt can be found, picked and filled in from the keyboard alone.
- Values typed in Quick insert show up on the prompt's Render tab, and the other way round.
- UI tests cover a prompt with no variables, one with two, and Esc, with screenshots of each state.
-
FocusOrderTestsandAccessibilityTestspass with Quick insert open.
- Lingua principale
- C#
- Stelle
- 0
- Fork
- 1
- Merge medio
- 1h 51m
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 hazeliscoding/prompuff
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hazeliscoding/prompuff#34 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hazeliscoding/prompuff#22 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
hazeliscoding/prompuff#14 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
hazeliscoding/prompuff#13 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
hazeliscoding/prompuff#12 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hazeliscoding/prompuff
Issue simili
-
/api/oauth/introspect emits clientId and tokenType instead of RFC 7662's client_id and token_typeApertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nightscout/nocturne#2317 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Position intent set on a simple order is dropped when it becomes a bracket, OCO or OTO orderForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
alpacahq/alpaca-trade-api-csharp#903 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
joinrpg/joinrpg-net#5752 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeForFire/lagebuch#714 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
dimitar-radenkov/Pointframe#294 ·
I maintainer di solito rispondono entro 1 giorno