Web: copy an existing plugin entry and adjust its settings
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di txoof/PaperPi
-
Plugins whose default refresh equals the display time (word_clock, system_info, nl_openbaar_vervoer)Forse già presa @txoof-bot l’ha presa 1 giorno fa. Apertaarea:plugins in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
txoof/PaperPi#335 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area:core area:web enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di txoof/PaperPi
Issue simili
-
lesson-submission pending-review
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Ikalus1988/MisakaNet#3956 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
aws-samples/sample-per-model-bedrock#574 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
521xueweihan/HelloGitHub#4133 ·
-
plot_components fails for logistic models with minmax scaling and no floorForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 4 giorni
-
Update migenAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
YosysHQ/oss-cad-suite-build#220 ·