Web: copy an existing plugin entry and adjust its settings
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
- 56/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- full-stack
Línea de trabajo
Start by reading the web interface’s plugin entry and edit flow, then trace how plugin settings and secret values are stored and sent to the browser. Check issue #263 for unique ID handling and the config export/import context in #328. Done means the web interface can copy an entry with a unique ID, preserve secrets without exposing them to the browser, place it next to the original, open it for editing, and save it turned off, with the listed cases covered by tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
In the web interface, let the user copy an existing plugin entry: make a new entry that starts with all the settings of the old one, then change only what is different.
Why
Some plugins take a lot of setup: an API key, a stop or station, a calendar address, many display options. Today a second entry of the same plugin (for example a second stop, a second calendar, or the same plugin at a different size) means filling in every setting again, including looking up the API key a second time.
How it could work (to decide before coding)
- A Copy button on each plugin entry in the web interface.
- The copy gets a new, unique ID (see #263) and a name like " (copy)" that the user can change.
- All settings are copied, including secret settings (API keys and similar). The key is copied on the Pi itself and never shown in the browser; the copy shows it as "set", like the original does.
- The copy opens straight in the edit form, so the user can change the settings that differ before saving.
- The copy is added next to the original (same position in the list, just below it).
Decided (txoof, 2026-10-26)
- The copy starts turned off, so it does not show up on the screen before it is adjusted.
- Copy only inside this Pi's config. Moving entries between Pis is part of config export/import (#328).
Done when
- A plugin entry can be copied in the web interface with one click.
- The copy is saved turned off.
- Secrets are copied but never sent to the browser.
- Tests cover: copy of a plain plugin, copy of a plugin with a secret, unique ID for the copy, copy starts turned off.
- Lenguaje dominante
- Python
- Estrellas
- 205
- Forks
- 17
- Merge medio
- 3 h 55 min
- PR fusionados (30 d)
- 77
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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 txoof/PaperPi
-
Plugins whose default refresh equals the display time (word_clock, system_info, nl_openbaar_vervoer)Posiblemente ocupada @txoof-bot la tomó hace 1 día. Abiertoarea:plugins in-progress
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
txoof/PaperPi#335 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area:core area:web enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de txoof/PaperPi
Issues similares
-
bug P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Toloka/tolokaforge#1947 ·
Los mantenedores suelen responder en 1 día
-
SageMaker provider: streaming fails with NoStreamDataError on DJL Serving (LMI) endpointsPosiblemente ocupada @balajiaru la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
UKGovernmentBEIS/inspect_ai#6127 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
pydot/pydot#601 · 4 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
letsencrypt/cp-cps#361 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100