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

Đang mở
#665 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
laravel, php, postgresql
Lĩnh vực
backend, cli, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
1
Fork
1
Merge trung bình
1 giờ 40 phút
Pull request đã merge (30 ngày)
143

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của temecms/teme

Tất cả issue của temecms/teme

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.