[6.x]: Inconsistent style and preview for thumbnail sources

Abierto
#21,306 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
css, html, php
Área
design, frontend

Línea de trabajo

The issue identifies the field layout designer’s Icon preview and live card thumbnails as the affected places, but names no files or tests. Start by tracing how thumbnail sources provide previews and card markup for icon fields and entry type icons. Done when the placeholder is a useful icon, entry type icons have higher contrast in both views, and icon field thumbnails match their presentation.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug repo:cms

Settings View

In the field layout designer (or the Appearance tab of a field layout provider), the Icon fields fall back to a photographic representation.

  • Icon field selected: Placeholder HTML is a photo.

    Screenshot 2026-12-01 at 16 23 37
  • Entry type icon selected: Entry type icon is displayed in a grey box (low-contrast).

    Screenshot 2026-12-01 at 16 23 31

Card View

When a live element is displayed as a card, thumbnail sources that return an icon are handled differently.

  • Icon field selected: Icon is unstyled, in-line.

    Screenshot 2026-12-01 at 16 25 15
  • Entry type icon selected: Icon matted on grey box, like preview (but also low-contrast).

    Screenshot 2026-12-01 at 16 25 33

Altogether, I think there are three issues:

  • Icon field placeholder should be a “seeded” random icon (like fake user avatars), or a fixed selection (dice, question mark, etc.)
  • Entry type icon placeholder HTML and live card markup need higher contrast to be useful
  • Live thumbnails from an icon field should match the presentation of entry type icons
Lenguaje dominante
PHP
Estrellas
3.6k
Forks
800
Merge medio
15 h 20 min
PR fusionados (30 d)
715

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de craftcms/cms

Todos los issues de craftcms/cms

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.