Media field editor, list cell and media picker of the admin
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- csharp, openapi, tailwindcss
- Domaine
- accessibility, full-stack, testing
Piste de recherche
Read docs/planning/admin-technical-spec.md sections 5.2 and 10.4, then inspect the media admin components and FieldEditorBase; the issue names no implementation files or test paths. Check the merged prerequisites A-19, A-21, #3100, #3103 and #3104 before starting. Done means the picker, media field editor and list cell meet the acceptance checks, including keyboard access, route contract tests and the Article.Hero end-to-end case.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
Row 3.10 asks for a media picker and row 1.4 for media fields. A media field of a form shows its JSON read-only, a list shows the same in its cell, and an editor cannot set the image of Article.Hero.
Proposal
In FluentCMS.Plugins.Media.Admin:
IMediaPicker: a dialog over the library with the folder tree, search, upload inline and single or multiple selection, limited to the types the field allows. It reuses the browse component of A-21. Declared with[AdminService], so asking for it loads the half.- The field editor of
media: a thumbnail with pick, upload, remove, and reorder for a field with several assets; alt text and focal point editable in place with the components of A-50 (PATCH /media/{id}). Read-only, errors, locale and direction asFieldEditorBasegives them. - The list cell of
media: a thumbnail, with a count for several. - Thumbnails from the
urlsof the Management reads (#3100); labels of the assets of a list are read with one call, not one per row (2.7). - The field and the cell fall back to the read-only JSON when the plugin is disabled in the site.
Acceptance
- On the Blog sample an editor picks an image for
Article.Herofrom the library, uploads another from the picker, removes it, saves, and the list shows the thumbnail - A field that allows images only refuses a PDF in the picker and in the upload
- Alt text and focal point changed from the field are saved on the asset
- The picker and the field are usable by keyboard alone, and pass the axe-core check in both themes
- The built-in Editor and Author pick and upload (#3103)
- Component tests cover the editor, the cell and the picker; contract tests check the media routes it calls against the OpenAPI document (#3104); an end-to-end case sets the image of
Article.Hero
Design: docs/planning/admin-technical-spec.md, sections 5.2 and 10.4 (A-20). Rows 3.10, 1.4, 5.7. Needs A-19 and A-21; #3100, #3103 and #3104 are merged. Size: M.
- Langage dominant
- C#
- Étoiles
- 569
- Forks
- 107
- Merge moyen
- 2 h 49 min
- PR mergées (30 j)
- 397
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fluentcms/FluentCMS
-
area:host area:operations type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:build security type:chore
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:sdk security type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
area:content security type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
area:build type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fluentcms/FluentCMS
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
area-ai untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
dotnet/extensions#7956 ·
Les mainteneurs répondent en général sous 1 jour
-
bug needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
microsoft/microsoft-ui-reactor#1567 ·
Les mainteneurs répondent en général sous 1 jour
-
priority:p2
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
QuantConnect/Lean#10191 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
openclaw/openclaw-windows-node#2287 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour