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

Aperta
#714 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
laravel, react, typescript
Ambito
design, frontend

Direzione di ricerca

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.

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

Descrizione

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.

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.