Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Web: copy an existing plugin entry and adjust its settings

オープン
#336 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
56/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
205
フォーク
17
平均マージ
3時間 55分
マージ済み PR(30日)
77

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

txoof/PaperPi のほかの issue

txoof/PaperPi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。