Closed Bug 1701867 Opened 4 years ago Closed 3 years ago

Change set to default prompt from an infobar to a modal

Categories

(Firefox :: Messaging System, enhancement, P1)

Firefox 89
enhancement

Tracking

()

RESOLVED FIXED
89 Branch
Iteration:
89.2 - Apr 5 - Apr 18
Tracking Status
firefox89 --- fixed

People

(Reporter: RT, Assigned: Mardak)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-modals][proton-onboarding][priority:2a])

User Story

Given poor test results with the current infobar we're having to adjust the set to default dialogue from an infobar to a modal.

Acceptance criteria:
- Switch behavior to call the modal currently implemented on release and stop showing the infobar for users who don't have Firefox set to default and users who did not disable the "Always perform this check when starting Firefox" checkbox (i.e current modal behavior unchanged)
- Refresh UI and copy of the current modal dialogue to match Proton visual design
- Ensure that the modal dialogue does not get displayed on the session where existing user onboarding gets displayed (this is bug 1697222)

Visual spec is available on Figma (pending copy review)

Stretch goal:
- add new pinning functionality to it
- if done, review copy

Attachments

(1 file)

No description provided.
User Story: (updated)
Priority: -- → P2

Emanuela, can you please help us with a visual spec for this modal?

Flags: needinfo?(emanuela)
Whiteboard: [proton-modals]

Alex can you please help validate the requirements in the user story?

Flags: needinfo?(adavis)
See Also: → 1701995
Whiteboard: [proton-modals] → [proton-modals][priority:2a]
User Story: (updated)

Visual spec is available on Figma (pending copy review)

Flags: needinfo?(emanuela)
User Story: (updated)
Flags: needinfo?(adavis)
Priority: P2 → P1
See Also: → 1702000
Blocks: 1701995
See Also: 1701995

To be clear, someone from the User Journey team (andreio, I believe?) will be working on this.

I think we can make this bug the "graduation" bug where the effect of browser.defaultbrowser.notificationbar (which makes firefox show the default browser infobar instead of the prompt) behave as false when browser.proton.enabled is true.

To be clear, the current behavior of release is already to show the "default browser" prompt and not infobar:
https://searchfox.org/mozilla-central/rev/3de2db87f3c9001ae478318d47a2ca3427574382/browser/app/profile/firefox.js#263-267

So potentially release users could have changed the pref to show the notificationbar, and we can change the logic to ignore notificationbar pref if proton.enabled:
https://searchfox.org/mozilla-central/rev/3de2db87f3c9001ae478318d47a2ca3427574382/browser/components/BrowserGlue.jsm#4578-4583

Assignee: nobody → edilee
Status: NEW → ASSIGNED
Blocks: 1681130
Pushed by elee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0daf1f22db6c
Change set to default prompt from an infobar to a modal r=andreio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Iteration: --- → 89.2 - Apr 5 - Apr 18
Component: Notifications and Alerts → Messaging System
Product: Toolkit → Firefox
Whiteboard: [proton-modals][priority:2a] → [proton-modals][proton-onboarding][priority:2a]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: