Mirror files follow their prompts through edits, renames and removal
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
- 48/100
Línea de trabajo
Read src/Prompuff.Application/Services/PromptService.cs first, then inspect src/Prompuff.Infrastructure/Persistence/LibraryChangeMonitor.cs and LibraryWatcher in src/Prompuff.App/ViewModels/ShellServices.cs to understand how saves and data_version changes are handled. Trace the mirror behavior for prompts and workflows, and review ROADMAP.md for the Recently deleted rule. Done means Git shows edits, renames and removals as single-file changes, the specified cases are tested, and a missing or read-only mirror does not prevent saving.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Once the mirror folder exists (#37), each file has to follow its prompt, so that Git shows a saved change as an edit rather than as a new file.
What to do
- Saving a prompt rewrites its file. A metadata change, such as a favorite or tags, rewrites the frontmatter too, since it's in the file.
- A prompt keeps its file name when its title changes. Two prompts with the same title get distinct names.
- Moving a prompt to Recently deleted leaves its file alone, and removing it for good deletes the file, so a restore never has to bring a file back. Record this in ROADMAP.md.
- Workflows follow the same rules in
workflows/. - Changes from the CLI or another copy reach the mirror too. The app already notices them through
data_version. - A mirror folder that's gone or read-only doesn't stop a save. Prompuff says what happened, and that the library is safe.
Where to look
src/Prompuff.Application/Services/PromptService.cs: where saves, deletes and restores happensrc/Prompuff.Infrastructure/Persistence/LibraryChangeMonitor.csandLibraryWatcherinsrc/Prompuff.App/ViewModels/ShellServices.cs
Done when
- With the mirror under Git, an edit, a rename and a removal each show up in
git diffas that one change to that one file. - Tests cover renames, duplicate titles, Recently deleted, removing for good, and a missing folder.
- 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
-
affected/v17 area/frontend type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
umbraco/Umbraco-CMS#24323 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
dotnet/roslynator#1859 ·
Los mantenedores suelen responder en 1 día
-
agent-ex documentation medium-priority testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
DigiBanks99/menlo#489 ·
Los mantenedores suelen responder en 1 día
-
area:jobads-cv BE P3
Dificultad 1/5 1-3 horas Aptitud para principiantes 74/100
klasolsson81/jobbliggaren#2240 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
k2-fsa/sherpa-onnx#4100 ·
Los mantenedores suelen responder en 2 días