[Bug]: question marks about the add-on icon and a misplaced error message

Open
#16,604 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
40/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
frontend

Research direction

Start in the add-on dev hub submission/edit form that renders the icon upload field and the screenshots field, and find where the non-square-icon validation error is rendered — it currently lands under the screenshots block. Compare that rule with the API's square-icon constraint and with what the old dev hub allowed; note that points 2 and 3 are open questions, not settled requirements, so ask maintainers before changing behaviour. Done means the error renders next to the icon upload and the scope of the other two points is decided.

Written by the indexing model from the issue text.

Description

component:pinguino_devhub
Is there an existing issue for this?
  • I have searched the existing issues

While checking https://github.com/mozilla/addons/issues/16384

  1. This is definitely a problem - > when a non square icon is uploaded the error message shows up under the screenshots not the upload icon
  2. old dev hub allowed non square icons to be uploaded , with pinguino only square icons are allowed (like in the api)
  3. old dev hub can click back o the default-icon , if that's a feature that should be present here too, idk

The error message from 1.

error message too far away zip

┆Issue is synchronized with this Jira Task

Dominant language
Makefile
Stars
135
Forks
52
Avg merge
6d 18h
Merged PRs (30d)
7

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/addons

All issues in mozilla/addons

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.