Closed Bug 1438149 Opened 7 years ago Closed 7 years ago

The name of the extension is not displayed in Add-ons Manager if not included in manifest.json

Categories

(Toolkit :: Add-ons Manager, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox60 --- affected

People

(Reporter: cbadescu, Unassigned)

References

Details

Attachments

(1 file)

Attached image Name.gif
[Affected versions]: - Firefox 60.0a1 (20180201192139) [Affected platforms]: - Win 7 64-bit - Mac OS X 10.13.2 [Steps to reproduce]: 1.Install https://addons.allizom.org/en-US/firefox/addon/no-name-in-manifest/ 2.Open Add-ons Manager. 3.Navigate to “Extensions‘ tab. 4.Observe that the name of the extension is not displayed. [Expected results]: - The name that was added in the submission process is displayed. [Actual results]: - The name of the extension is not displayed in Add-ons Manager. - Updating the name will have the same result.
That extension does have a name, the name is just some whitespace.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
If the extension has some whitespace or a name in the manifest.json file, and at submission you add a name in AMO, what is the expected behavior in the Add-ons Manager? The extension from the video has a name that was added in the submission process, but the name that is displayed is the one from the manifest.json file (the whitespaces). If I update the name in AMO, the update will not be displayed in Add-ons Manager.
Flags: needinfo?(aswan)
I think this bug is related to the many discussions we have had around what add-on metadata should be editable by AMO (almost none) Having said that, should we allow whitespace in the manifest.json for add-ons? NI'ing UX for feedback.
Flags: needinfo?(mjaritz)
What is the reason to have 2 different names, on on AMO and a different one in the manifest? For users to be able to identify an extension, and connect that with the relevant AMO page, all the data in Firefox and on AMO should be identical. So to answer your question: (In reply to krupa raj [:krupa--use this to needinfo] from comment #3) > should we allow whitespace in the manifest.json for add-ons? NO. An extension should have a name that consists of at least one visible character. Probalby more, and from a more limited character set. (like at least one phonographic grapheme[1]) Different rules could aply to extensions not distributed through AMO. But even then, having a non-visible name should not be possible, as it complicates identifying the extension, and potentially messes with all dialogs we do about extensions. [1] https://en.wikipedia.org/wiki/Grapheme#Types_of_graphemes
Flags: needinfo?(mjaritz)
(In reply to Markus Jaritz [:designakt] (UX) from comment #4) > What is the reason to have 2 different names, on on AMO and a different one > in the manifest? The add-ons manager has a longstanding "feature" that lets it fetch updated metadata about addons from AMO. There's general consensus though that this feature's complexity outweighs its value and we intend to remove it. > NO. An extension should have a name that consists of at least one visible > character. > Probalby more, and from a more limited character set. (like at least one > phonographic grapheme[1]) Implementing "at least one non-whitespace character" is feasible, I'm skeptical about anything more complicated (particularly with localized names). In any case, if we want to add this restriction, we need at least 2 new bugs: one in a WebExtensions component to enforce it in the browser and one on AMO (or probably addons-linter) to enforce it there. There's also the question of what to do with existing addons (if there are any) that don't comply with the new rule.
Flags: needinfo?(aswan)
This is good context. I wasn't aware of that "feature". I'll cc Emanuela on this, as it falls in her domain of add-on manager re-design.
From what I see on this discussion so far, this seams not resolved, so I'll re-open and look towards emanuela to consider that in new extnsion manager logic.
Status: RESOLVED → REOPENED
Flags: needinfo?(emanuela)
Resolution: INVALID → ---
Markus, see comment 5
Please open new bugs as described in comment 5 if we want to proceed with this
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INVALID
Flags: needinfo?(emanuela)
cosmin, please file two bugs as requested in comment 5 and then change the resolution of this bug to WFM
Flags: needinfo?(cosmin.badescu)
Flags: needinfo?(cosmin.badescu)
Resolution: INVALID → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: