Closed Bug 1561022 Opened 5 years ago Closed 5 years ago

[meta] [about:addons] Investigate "handing off" AMO abuse reporting flow to Firefox about:addons

Categories

(Toolkit :: Add-ons Manager, enhancement, P1)

71 Branch
enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox69 --- affected

People

(Reporter: rpl, Assigned: rpl)

References

Details

(Keywords: meta)

Attachments

(1 file)

As an follow up to Bug 1540175, we want to evaluate the possibility of "handing off" to the Firefox abuse reporting integrated in the Firefox about:addons page also the abuse reports started from AMO.

Blocks: 1541940, 1541944
Depends on: 1540175
Priority: -- → P3

From a product perspective, here what we would like to see:

  • We want to avoid anything that gives AMO potentially dangerous security privileges.
  • Clicking on the Report Abuse button on AMO should start the abuse report flow currently in about:addons. Whether that should be a new tab, same tab, or some kind of popup is TBD.
  • After finishing sending the report, it should be easy to get back to the page where the report initiated.
  • If the report is for an extension that is installed, then all data should come from that extension.
  • If the report is for an extension that isn't installed, then the data should come from AMO. Perhaps AMO should pass a metadata blob to about:addons to use for the report. I think the data required for the report is guid, name, developer, developer URL, icon, support email, and support URL. The install method should indicate the add-on isn't installed.

ni emanuela for UX input.

Flags: needinfo?(emanuela)

+1 to all Jorge's point.

If for security reasons we can't show the modal like we do in about:addons, it'll be completly fine to start the reporting in the same tab.
After the user submit the report, we should display a thank you message (Thank you for submitting a report.) and here we can include the option to go back to the previous page.

Flags: needinfo?(emanuela)

I've explored a bit a couple of possible implementation strategies, in particular:

Personally I think that the third option ("opening it as a new dialog window") would be the most reasonable one, especially because:

  • it opens a window which is also tracked by the OS window management (and the OS will ensure that the user is aware about it, it will help the user to find it and select it, and we could allow the user to move and/or resize the dialog window if it doesn't fit into the screen space available to the user)
  • it is already used for other similar dialogs (like the blocklist prompts as mentioned above, and so it will be a "less controversial proposal" then the other two)

The screenshot attached shows how a "dialog window" (on the left) or a "modal dialog window" (on the right) would look like on MacOS.

(In other operating systems they will likely be both rendered with the same look and feel, as a regular "dialog window" on MacOS, but in case of a modal window the user will not be able to trigger any UI element on the browser window that opened the modal until the modal window is being closed).

Attachment #9088166 - Flags: feedback?(emanuela)

I would prefer to go non-modal because the flow has a bunch of clickable links, and the UX when they are clicked in a modal is kinda weird, at least on macOS. Let's wait for Emanuela's take, though.

Thank you, Luca, for the screenshot.

My impression is that the modal keeps the context better. It's clear how it's coming from AMO.
Jorge, I would be curious to learn more about this weird experience with the links you mention above. Feel free to private message me about it.

Going with the dialog can also work, but we would need to add some context (e.g., the AMO's header) and remove some unnecessary UI like the closing button x on the right corner.

Jorge, I would be curious to learn more about this weird experience with the links you mention above. Feel free to private message me about it.

I can't find an example of a modal like this in Firefox right now, but as an add-on dev I recall that clicking on a link in a modal on macOS would hide the modal, open a new tab with the link, and then bring the modal back. It looked pretty strange back then, but maybe that changed.

I agree the X should be removed, and I would argue it should be removed in both cases. I don't think the adding AMO header is necessary, though. I can see it being confusing if you change windows, forget it's there and then come back to it, but worse case scenario is the abuse report isn't sent, which isn't terrible.

Depends on: 1580554
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Keywords: meta
Priority: P3 → P1
Summary: [about:addons] Investigate "handing off" AMO abuse reporting flow to Firefox about:addons → [meta] [about:addons] Investigate "handing off" AMO abuse reporting flow to Firefox about:addons
Depends on: 1580561
Depends on: 1598062

Closing as fixed (all the dependencies has been closed and the feature is shipping in Firefox 71)

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Version: 69 Branch → 71 Branch
Attachment #9088166 - Flags: feedback?(emanuela) → feedback+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: