Quick insert on Wayland: `--quick-insert` for a desktop shortcut
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- csharp, linux
- 領域
- cli, desktop, documentation
調査の方向性
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 の本文から書いたものです。
説明
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-insertlaunch argument, also accepted asquick-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-saveandquick-savekeep working exactly as in 1.0. Desktop shortcuts depend on them.
Where to look
src/Prompuff.App/Platform/SingleInstance.cs:LaunchArguments.Parse,LaunchRequest,SingleInstance.HandOffsrc/Prompuff.App/Program.csandsrc/Prompuff.App/App.axaml.cs: where a launch request is dispatchedsrc/Prompuff.App/ViewModels/SettingsViewModel.cs: the Wayland steps that build the command fromAPPIMAGEtests/Prompuff.App.Tests/SingleInstanceTests.cs
Done when
- In WSLg, a desktop-shortcut command with
--quick-insertopens Quick insert in the running copy and in a fresh start, and the picked prompt is on the clipboard. -
SingleInstanceTestscover the new argument, and the existing--quick-savetests pass unchanged. -
docs/user-guide.mdhas the Wayland steps.
- 主要言語
- C#
- スター
- 0
- フォーク
- 1
- 平均マージ
- 1時間 21分
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hazeliscoding/prompuff のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hazeliscoding/prompuff#34 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hazeliscoding/prompuff#22 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
hazeliscoding/prompuff#14 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
hazeliscoding/prompuff#13 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
hazeliscoding/prompuff#12 ·
メンテナーはふだん 1 日以内に返信
hazeliscoding/prompuff の issue をすべて見る
似ている issue
-
track:release
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
-
[Bug] [Go] Ack returns nil when the server answers with a non-OK status対応中かも @leizhiyuan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/rocketmq-clients#1465 ·
メンテナーはふだん 2 日以内に返信
-
fix(testing): HeadlessTerminal disposes services synchronously対応中かも @zidad が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
RazorConsole/RazorConsole#388 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
starlinghq/starling#209 ·
メンテナーはふだん 1 日以内に返信