Add plugin / Add theme: the sheet doesn't match its drawing (bare file input, tabs on two rows)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
laravel, php, postgresql

調査の方向性

The sheets live in the admin Add plugin and Add theme views, to be checked against the plugins-install and themes-install drawings named in the issue. Start with the source tabs and the ZIP upload field in those views, then read the installer code that unpacks and checks a package. Done means the drop zone, the read-back panel, and a single-row tab strip at sheet width, with browser tests for choosing a ZIP and for the tab row.

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

説明

area/admin area/plugins type/bug when/soon

Plugins › Add plugin (and Themes › Add theme) doesn't match its approved drawing (plugins-install and themes-install in the admin drawings), as seen on a live site:

  1. Upload ZIP is the browser's bare file input ("Choose File · No file chosen", unstyled). The drawing has a drop zone: an upload icon, Drop a ZIP file here, a line saying what the file must be ("A plugin made for Teme, up to 32 MB. The site keeps the file as it is and reads only its name and version; the installer unpacks and checks it.") and a Choose a ZIP file button. Once a file is chosen, the drawing shows the file's name and size, then what was read from it (package, name, version, and the version installed now, "This replaces it" when it does), with Choose another file.
  2. The source tabs wrap onto two rows. With Directory added to Packagist, Git address, Vendor source and Upload ZIP, "Upload ZIP" sits alone on a second line, and as the selected tab it looks like a loose button. The tabs must fit one row in the sheet: shorter names ("Upload"), a tab row that scrolls sideways like the admin's other tab rows on a phone, or both.
  3. A large empty area fills the sheet below a short form, with the buttons pinned far below it. The drawing's panels fill the space with what each source shows (search results, the drop zone, the vendor fields).

Expected: the sheet as drawn, for both Add plugin and Add theme, with a browser test that chooses a ZIP and sees the package and version read from it, and one that checks the tab row stays on one line at the sheet's width.

🤖 Generated with Claude Code

主要言語
PHP
スター
1
フォーク
1
平均マージ
1時間 40分
マージ済み PR(30日)
143

環境構築

はじめの一歩

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

temecms/teme のほかの issue

temecms/teme の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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