Quick insert: pick a prompt and fill in its variables
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp, sqlite
- Lĩnh vực
- desktop, developer-experience, testing
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 1
- Merge trung bình
- 1 giờ 51 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hazeliscoding/prompuff
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
hazeliscoding/prompuff#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
hazeliscoding/prompuff#22 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
hazeliscoding/prompuff#14 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
hazeliscoding/prompuff#13 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hazeliscoding/prompuff#12 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hazeliscoding/prompuff
Issue tương tự
-
area: client bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug mcp misleading small
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug Platform: Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-dotnet#5764 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/SimpleL7Proxy#287 ·
Maintainer thường phản hồi trong vòng 1 ngày