Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#496 0 comentários 0 reações 1 responsável Ver no GitHub

@johngruen já está trabalhando nisso.

Desde 10/10/2018.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

[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

Linguagem predominante
JavaScript
Estrelas
512
Forks
101
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de mozilla/FirefoxColor

Todas as issues de mozilla/FirefoxColor

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.