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

Aperta
#665 1 commento 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
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
laravel, php, postgresql

Direzione di ricerca

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.

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

Descrizione

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

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 40m
PR unite (30g)
143

Preparare l'ambiente

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 temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.