Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Web: copy an existing plugin entry and adjust its settings

Aperta
#336 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
205
Fork
17
Merge medio
3h 55m
PR unite (30g)
77

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di txoof/PaperPi

Tutte le issue di txoof/PaperPi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.