Show window modal for existing users on upgrade highlighting Proton improvements (with new 24px icons)
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | verified |
People
(Reporter: Mardak, Assigned: Mardak)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-onboarding] [proton-icons] )
Attachments
(10 files)
188.37 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
57.67 KB,
image/png
|
Details | |
176.31 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
1.14 MB,
video/webm
|
Details | |
1.98 KB,
text/plain
|
chutten
:
data-review+
|
Details |
69.03 KB,
image/png
|
Details | |
507.15 KB,
video/webm
|
Details |
I believe this can reuse the chrome window modal dialogs added in bug 1685313. Where we open up a MODAL_TYPE_INTERNAL_WINDOW
(the default used by gDialogBox
) to a new html page that implements the desired screen(s).
- The desired behavior is to only allow dismissing via the Dismiss button within the modal.
- There may be multiple pages/screens with in-modal navigation.
- The 4 theme selections + 1 checkbox "keep previous" should act as a 5 radio button input (i.e., only one can be selected).
- Ideally for theme selection screen (or in general), tabs/toolbar area are not shaded gray so that the selected theme is fully visible
Assignee | ||
Comment 1•3 years ago
|
||
Maybe we should split this to a separate bug to handle when the modal is shown and keep this bug focused on the content of the modal?
Some notes on triggering:
- this replaces the whatsnew tab - bug 1697530
- the modal should only be shown when there's something relevant, so focused on major releases
- show the modal content once, so skip if there's no new content and user has already seen it
- we only keep the most recent content checked in and strings should land in nightly
- there is an existing "postUpdateCustomPage" policy although unclear if it should be reused/ignored/duplicated?
Triggering code should probably be around https://searchfox.org/mozilla-central/rev/2b99ea2e97eef00a8a1c7e24e5fe51ab5304bc42/browser/components/BrowserContentHandler.jsm#670-691
Comment 2•3 years ago
|
||
We should use existing policy to know show this. Probably whatever flips browser.aboutwelcome.enabled. There's a bug in the current code - bug 1697566 - I'll fix that.
Assignee | ||
Comment 3•3 years ago
|
||
Sounds like we'll go with tab-modal dialog instead of a window-modal dialog so that theme changes would be fully visible (instead of faded by the backdrop). So probably something like gBrowser.getTabDialogBox().open("chrome://browser/content/updatePage.html")
This would allow the user to switch tabs, navigate, interact with toolbar, etc. instead of forcing some interaction.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D110330
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D111041
Assignee | ||
Comment 9•3 years ago
|
||
Looks like we'll be using a new set of svg icons specially designed to be used at 24px
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
Assignee | ||
Comment 11•3 years ago
|
||
Assignee | ||
Comment 12•3 years ago
|
||
Comment 14•3 years ago
|
||
Comment on attachment 9214970 [details]
Data Review Request Form
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, Ed Lee is responsible.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 2, Interaction.
Is the data collection request for default-on or default-off?
Default on for all channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does there need to be a check-in in the future to determine whether to renew the data?
No. This collection is permanent.
Result: datareview+
Comment 15•3 years ago
|
||
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d8df052a780 Add window modal dialog for existing users on upgrade highlighting Proton improvements r=pdahiya,flod,sfoster https://hg.mozilla.org/integration/autoland/rev/6c72185b0f44 Show upgrade dialog without conflicting with existing default browser prompt. r=andreio https://hg.mozilla.org/integration/autoland/rev/7388f5dc0e03 Record telemetry events for various upgrade dialog interactions. r=nanj
Comment 16•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4d8df052a780
https://hg.mozilla.org/mozilla-central/rev/6c72185b0f44
https://hg.mozilla.org/mozilla-central/rev/7388f5dc0e03
Assignee | ||
Comment 17•3 years ago
|
||
For those looking to test this out on nightly, it won't work yet until an upgradeDialog
record is reviewed and published showing up at https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-defaults/records
Assignee | ||
Comment 18•3 years ago
|
||
(In reply to Ed Lee :Mardak from comment #17)
For those looking to test this out on nightly, it won't work yet until an
upgradeDialog
record is reviewed and published showing up at https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-defaults/records
The record is live, so upgrade from a previous nightly to see or manually set browser.startup.homepage_override.mstone
to "88.0" and restart nightly.
Comment 19•3 years ago
|
||
I have verified that the modal is correctly displayed and that the modal icons are 24px by doing the following:
- Upgraded the browser from Firefox Nightly 87.0a1 to the latest Firefox Nightly 89.0a1 version (Build ID: 20210419094740).
- Set the
browser.startup.homepage_override.mstone
pref value to88.0
and restart the browser using the latest Firefox Nightly 89.0a1 (Build ID: 20210419094740).
I've verified these on Windows 10 x64, macOS 11.2.3, and Ubuntu Linux 20.04 x64.
Description
•