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

Quick insert on Wayland: `--quick-insert` for a desktop shortcut

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

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

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

評価

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

調査の方向性

Start with src/Prompuff.App/Platform/SingleInstance.cs and its launch argument, request, and handoff paths; then read the dispatch points in Program.cs and App.axaml.cs. Check tests/Prompuff.App.Tests/SingleInstanceTests.cs and the Wayland command generation in SettingsViewModel.cs. Done means both fresh and running launches open Quick insert, the picked prompt reaches the clipboard, the existing Quick save tests still pass, and docs/user-guide.md includes the Wayland steps.

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

説明

enhancement

Wayland doesn't let an app grab global keys or press keys in other apps. Quick save already handles this with a desktop shortcut that runs the app with --quick-save, and Quick insert follows the same pattern.

What to do

  • Add a --quick-insert launch argument, also accepted as quick-insert, like --quick-save. A second launch hands it to the running copy over the single-instance pipe, and a first launch opens Quick insert once the window is up.
  • On Wayland the result is copied, and Prompuff steps back as it does after Quick save.
  • Settings › Quick save shows the desktop-shortcut steps for GNOME and KDE with the exact command (the AppImage path from APPIMAGE, plus --quick-insert), beside Quick save's.
  • --quick-save and quick-save keep working exactly as in 1.0. Desktop shortcuts depend on them.

Where to look

  • src/Prompuff.App/Platform/SingleInstance.cs: LaunchArguments.Parse, LaunchRequest, SingleInstance.HandOff
  • src/Prompuff.App/Program.cs and src/Prompuff.App/App.axaml.cs: where a launch request is dispatched
  • src/Prompuff.App/ViewModels/SettingsViewModel.cs: the Wayland steps that build the command from APPIMAGE
  • tests/Prompuff.App.Tests/SingleInstanceTests.cs

Done when

  • In WSLg, a desktop-shortcut command with --quick-insert opens Quick insert in the running copy and in a fresh start, and the picked prompt is on the clipboard.
  • SingleInstanceTests cover the new argument, and the existing --quick-save tests pass unchanged.
  • docs/user-guide.md has the Wayland steps.
主要言語
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 を短くまとめたダイジェスト。