Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#27 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

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

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.
Lenguaje dominante
C#
Estrellas
0
Forks
1
Merge medio
1 h 21 min
PR fusionados (30 d)
22

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hazeliscoding/prompuff

Todos los issues de hazeliscoding/prompuff

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.