Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#496 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@johngruen arbeitet bereits daran.

Seit 10.10.2018.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

[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

Vorherrschende Sprache
JavaScript
Sterne
506
Forks
100
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mozilla/FirefoxColor

Alle Issues in mozilla/FirefoxColor

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.