Closed Bug 1693133 Opened 3 years ago Closed 3 years ago

Update refresh Firefox dialog for Proton

Categories

(Toolkit Graveyard :: Notifications and Alerts, enhancement, P2)

Desktop
All
enhancement

Tracking

(firefox89 verified)

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: Gijs, Assigned: alexical)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [proton-modals])

Attachments

(2 files)

This is https://searchfox.org/mozilla-central/source/toolkit/content/resetProfile.xhtml .

The title should be:

Refresh {Brand name} to its default settings?

The content should be:

Start fresh to fix performance issues. This will remove your extensions and customizations. You won’t lose essential information like bookmarks and passwords.

Learn more

Where the last link points to SUMO. (TBD if we use the same hardcoding system url bar interventions or if we ask SUMO to create a redirect, see question in bug 1606917)

The dialog should show as a modern window-modal dialog (not a macOS sheet or a separate window on Windows/Linux).

The buttons stay the same in terms of text/content, but the refresh button should get the "error button" component styling (red with white text).

Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P3
Depends on: 1693183
Keywords: helpwanted

Update priority to reflect proton priorities.

Priority: P3 → P2
Assignee: nobody → dothayer
Status: NEW → ASSIGNED

BrowserTestUtils.promiseAlertDialog and friends account for commonDialog.xhtml,
but not other dialogs which go through gDialogBox. This fixes that by adding a
inWindowDialog option to promiseAlertDialog. I don't like this solution very
much - it requires all of these dialogs to fire the event themselves. An
alternative might be putting this code in some file which these all include,
but given how small the code is that feels like overkill. Alternatives welcome.

Depends on D109452

Pushed by dothayer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b9988582fc78
Update refresh Firefox dialog for Proton r=Gijs
https://hg.mozilla.org/integration/autoland/rev/b9a9540d4eee
Fix resetProfile.xhtml tests r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/85f7d9b4fce0
Port bug 1693133 - Changes to BrowserTestUtils.promiseAlertDialog and promiseAlertDialogOpen. rs=bustage-fix
Regressions: 1701277
See Also: → 1604306

This issue is Verified as fixed in our latest Nightly and Beta 89.0b3.

Status: RESOLVED → VERIFIED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: