Home page of the admin with plugin dashboard widgets

Aperta
#3,292 0 commenti 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
49/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Read docs/planning/admin-technical-spec.md sections 5.1 and 10.4 (A-22), then trace the admin home page and the media plugin manifest for dashboard widget entry points. The issue also depends on A-19; #3096 is merged. Done means the widget grid, permission and plugin gating, error tile, responsive and right-to-left behavior, accessibility check, and component and end-to-end coverage meet the listed acceptance criteria.

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

Descrizione

area:admin type:feature

Problem

Row 8.9 asks that a plugin adds widgets to the dashboard, each visible by permission or role. The home page of the admin is a placeholder, and nothing renders a [DashboardWidget].

Proposal

  • The home page lays out the widgets of the manifests in a grid by their size hint (small, medium, wide), in a stable order: by plugin name, then by the order of the manifest.
  • A widget is shown only while its plugin is enabled in the site and the caller holds its permission or role (#3096); its half is loaded when the home page shows it, and a widget that is not visible loads nothing.
  • A widget that fails to load or throws shows an error state in its own tile, and the others render.
  • Core's own tiles: the content types the caller may read, as links to their lists. With no widget and no type the page says so.
  • The media half declares one small widget, the latest uploads, so that the page is proven on a real half.

Acceptance

  • With the media plugin enabled the home page shows its widget; in a site where it is disabled the widget is absent and the half is not fetched
  • A caller without the widget's permission does not see it
  • A widget that throws leaves the rest of the page working
  • The grid reflows on the tablet layout, follows the right-to-left pseudo-culture, and passes the axe-core check in both themes
  • Component tests cover the order, the gating and the error tile; an end-to-end case covers the enabled and the disabled site

Design: docs/planning/admin-technical-spec.md, sections 5.1 and 10.4 (A-22). Row 8.9. Needs A-19; #3096 is merged. Size: S.

Lingua principale
C#
Stelle
569
Fork
107
Merge medio
2h 49m
PR unite (30g)
397

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 fluentcms/FluentCMS

Tutte le issue di fluentcms/FluentCMS

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.