c-admin-table-toolbar: choose which parts it shows and where
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- developer-experience, frontend
Direzione di ricerca
Start by locating c-admin-table-toolbar, c-admin-table, and c-admin-table-page, then read how the existing toolbar parts and c-list-pagination are rendered. Implement the configurable layout, part slots, and pagination placement described in the issue; done means the default layout is preserved and consumers can rearrange or replace parts and choose where pagination appears.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
c-admin-table-toolbar lays out a fixed set of controls in a fixed order across two rows:
- Top row: model name, Create, Reload, Edit toggle,
#toolbar-actions, the "Showing x – y of n" range, page controls. - Second row: search, Columns & Filters, page size.
The only ways to change it are to hide parts with CSS (.c-admin-table-toolbar--model-name { display: none }) or to rebuild the toolbar from scratch. c-admin-table adds c-list-pagination under the table as well, so the page controls and the page size show twice.
The parts are already mostly their own components (c-admin-create-btn, c-list-range-display, c-list-page, c-list-filters, c-list-page-size), so the toolbar could be a layout of named parts:
-
A
layoutprop: an array of rows, each an array of part names, with"spacer"and"divider"as fillers. The default reproduces today's toolbar:[ ["title", "divider", "create", "reload", "editable", "actions", "spacer", "range", "spacer", "page"], ["search", "divider", "filters", "spacer", "page-size"], ]Leaving a part out drops it; moving it moves it. A single row gives a one-line toolbar.
-
A slot per part (
#part-create,#part-search, …), with the default rendering as its fallback, to replace one part without touching the rest. An app's own controls take a name of their own inlayoutand render from the slot of the same name. -
On
c-admin-tableandc-admin-table-page, apaginationprop choosing where page controls appear ("toolbar","bottom"or both), so they are not shown twice by default.
This supersedes the #toolbar-prepend / #toolbar-append and title items in #795 for the table toolbar.
- Lingua principale
- C#
- Stelle
- 81
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di IntelliTect/Coalesce
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
IntelliTect/Coalesce#794 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
IntelliTect/Coalesce#781 ·
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
IntelliTect/Coalesce#774 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
IntelliTect/Coalesce#773 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
IntelliTect/Coalesce#798 ·
Tutte le issue di IntelliTect/Coalesce
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
microsoft/fluentui-blazor#5688 ·
I maintainer di solito rispondono entro 1 giorno
-
OpenTelemetryChatClient records gen_ai.response.finish_reasons as a JSON string instead of string[]Apertaarea-ai bug untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
dotnet/extensions#7995 ·
I maintainer di solito rispondono entro 1 giorno
-
chore: remove stale IL3050/IL3053 workaround from the iOS sampleForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaState: Needs Discussion
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
getsentry/sentry-dotnet#6071 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
:watch: Not Triaged dotnet-target-version
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
dotnet/docs-desktop#2313 ·
I maintainer di solito rispondono entro 4 giorni
-
dotnet-target-version
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100