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

The error message displayed after replacing an image with an invalid one is not explicit enough

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

@johngruen đang làm issue này rồi.

Từ ngày 10/10/2018.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

[QA]:Normal issue Priority: p3

[Notes]:

  • A more explicit error message can help the user understand why some changes occur after the image was unsuccessfully replaced.

[Affected versions]:

  • Firefox 62.0.3 and up

[Affected Platforms]:

  • All Windows
  • All Mac
  • All Linux

[Prerequisites]:

  • Have a Firefox profile with the latest version of the "Firefox Color" add-on (2.0.0) custom built on 10/09/2018 installed.
  • Have a .txt file saved tp

[Steps to reproduce]:

  1. Open the Firefox browser with the profile from the prerequisites and click the Firefox Color icon from the toolbar.
  2. Click the "Custom backgrounds" button.
  3. Upload a valid image to the "Custom backgrounds" section.
  4. Click the "Replace image" and select an invalid type file.
  5. Observe the message displayed on the page and the page itself.

[Expected result]:

  • An error is displayed explaining the user the action could not be completed because of the invalid size/type of the file.

[Actual results]:

  • "The file is not accepted image type." message is displayed.
  • The "Replace image" button is changed into a "Replay" button, but the image does not change and no other changes occur to the theme.

[Additional Notes]:

  • Attached a screen recording with the issue:

rec of the issue - replace error message

Ngôn ngữ chính
JavaScript
Star
506
Fork
100
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

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 mozilla/FirefoxColor

Tất cả issue của mozilla/FirefoxColor

Issue tương tự

Thêm issue về JavaScript

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.