Image component uploading state
@IayushCoderJOD đang làm issue này rồi.
Từ ngày 19/8/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Is your enhancement related to a problem? Please describe.
Currently, the Image component does not change state when an image is uploading. So if you upload a large image, there may be several seconds where nothing is happening. As a user this can be confusing. I suggest adding callback props to the component, one that runs when an upload starts and another that runs when an upload finishes. This way our components that use the Image component can provide an upload state. Alternatively, the Image component could handle that state itself.
https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/src/components/media-placeholder/README.md#onfilespreupload onFilesPreUpload is probably useful.
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- TypeScript
- Star
- 330
- Fork
- 54
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của 10up/block-components
-
Repeater with allowReordering logs React key and isDragging warningsCó thể đã có người làm @s3rgiosan đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
10up/block-components#419 · 1 bình luận ·
-
ContentPicker SortableList logs a useSelect unstable value warningCó thể đã có người làm @s3rgiosan đã nhận 5 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
10up/block-components#421 · 1 bình luận ·
-
Subpath bundles duplicate PostContext, and the root import can't be tree-shakenCó thể đã có người làm @fabiankaegy đã nhận 19 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
10up/block-components#417 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
10up/block-components#413 ·
-
Upgrading to React 19Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
10up/block-components#412 ·
Tất cả issue của 10up/block-components
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 87/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🛠️ dette technique
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
betagouv/mon-entreprise#4752 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
franciscoBSalgueiro/en-croissant#1111 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/providers type/feature version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anomalyco/opencode#64845 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày