Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Quick insert: pick a prompt and fill in its variables

クローズ
#25 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, sqlite

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

enhancement

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, Render
  • src/Prompuff.Infrastructure/Repositories/SqliteRenderValues.cs: LoadAsync, SaveAsync
  • src/Prompuff.App/ViewModels/ShellServices.cs: RenderValuesCache, which the Render tab shares
  • src/Prompuff.App/ViewModels/PromptEditorViewModel.cs: how the Render tab uses the cache
  • src/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.
  • FocusOrderTests and AccessibilityTests pass with Quick insert open.
主要言語
C#
スター
0
フォーク
1
平均マージ
1時間 21分
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hazeliscoding/prompuff のほかの issue

hazeliscoding/prompuff の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。