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

Abierto
#665 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php, postgresql

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.