Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[6.x]: Element index shows thumbnails at the default size until the page finishes loading

Đang mở
#20,142 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
frontend

Hướng nghiên cứu

Start by tracing the Assets index view’s thumbnail-size preference and loading path; the issue does not name the relevant files or tests. Reproduce in table view with Large thumbnails and in thumbs view with a non-default size, then locate the code that renders rows and tiles before loading finishes. Done when both views show correctly sized, populated thumbnails from the initial render.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug repo:cms
What happened?

Steps to reproduce

  1. Go to Assets and select a volume in table view.
  2. In the View menu, set Thumb Size to Large.
  3. Reload the page.

Expected behavior

The rows render with Large thumbnails from the start.

Actual behavior

The rows first render with Small thumbnails, then switch to Large once the index finishes loading.

In thumbs view with a non-default size (e.g. XL), the tiles have the right size from the start, but their thumbnails stay blank until loading finishes.

Craft CMS version

6.x-dev (bc2379442d)

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions
Ngôn ngữ chính
PHP
Star
3.6k
Fork
710
Merge trung bình
12 giờ 19 phút
Pull request đã merge (30 ngày)
293

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của craftcms/cms

Tất cả issue của craftcms/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.