Themes page: the active theme gets a card of its own, the others a grid below

Đang mở
#714 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/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, react, typescript
Lĩnh vực
design, frontend

Hướng nghiên cứu

Start with the design drawing the issue asks for, not code: redraw the layout on the admin's own drawings with the real menu and no large page heading (#713), and get it agreed before building. The build lives in resources/js/pages/themes/index.tsx and its components, with the active theme's menu locations and regions read from the theme registry. Done means the active theme card, the other-themes grid and the top-right actions match the agreed drawing.

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

Mô tả

area/admin area/themes type/enhancement when/later

What's wrong

The Themes page shows every installed theme as an equal card, the active one marked only by a small "Active" badge. Which theme the site uses, and what can be done with it, doesn't stand out.

What it should do

A layout has been drawn and chosen:

  • The active theme gets a card of its own at the top: a large screenshot, its name, version and author, its description, Theme settings and Preview, and what it offers underneath ("4 menu locations · 12 regions", linking to Navigation and Regions).
  • The other installed themes follow in a grid of smaller cards ("Other installed themes · 2"), each with its screenshot, or a placeholder saying none is available, and Activate and Preview.
  • Install requests and + Add theme sit at the top right, as installs work today: the admin records a request and the installer carries it out.
  • The line saying the site's name, tagline and brand colour stay when themes change stays, at the foot.

The drawing uses another toolkit and a cut-down menu, so it's redrawn on the admin's own drawings first, with the real menu and without the large repeated page heading (#713), and shown before it's built.

Where: resources/js/pages/themes/index.tsx and its components; the active theme's menu locations and regions from the theme registry.

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.