Quick insert on Wayland: `--quick-insert` for a desktop shortcut
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, linux
- Área
- cli, desktop, documentation
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 1 h 21 min
- PR fusionados (30 d)
- 22
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hazeliscoding/prompuff
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hazeliscoding/prompuff#34 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hazeliscoding/prompuff#22 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
hazeliscoding/prompuff#14 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
hazeliscoding/prompuff#13 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
hazeliscoding/prompuff#12 ·
Los mantenedores suelen responder en 1 día
Todos los issues de hazeliscoding/prompuff
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lugassawan/swe-workbench#823 ·
Los mantenedores suelen responder en 1 día
-
devtools
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:no-new-fix-pr clawsweeper:not-repro-on-main impact:ux-release-blocker issue-rating: 🦪 silver shellfish P0
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openclaw/openclaw-windows-node#1843 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
kind:ux size:S type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
elsa-workflows/elsa-foundation#3256 ·
Los mantenedores suelen responder en 1 día