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

Web: copy an existing plugin entry and adjust its settings

Abierto
#336 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
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

area:web enhancement

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

  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 txoof/PaperPi

Todos los issues de txoof/PaperPi

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.