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

オープン
#21,306 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
css, html, php
領域
design, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
PHP
スター
3.6k
フォーク
800
平均マージ
15時間 20分
マージ済み PR(30日)
715

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

craftcms/cms のほかの issue

craftcms/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。