Closed Bug 1746067 Opened 2 years ago Closed 2 years ago

Allow activating colorway themes from some websites

Categories

(Firefox :: Tours, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
97 Branch
Iteration:
97.3 - Jan 3 - Jan 9
Tracking Status
firefox97 --- verified

People

(Reporter: Mardak, Assigned: Mardak)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Bug 1725467 added various colorway themes and bug 1728848 exposed them primarily through in-product onboarding. We can expand the capability to turn on these themes to other surfaces.

Assignee: nobody → edilee
Iteration: --- → 96.3 - Nov 29 - Dec 6
Priority: -- → P1

Add some colorways that can be queried with getConfiguration and activated with setConfiguration.

Iteration: 96.3 - Nov 29 - Dec 6 → 97.3 - Jan 3 - Jan 10
Pushed by elee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6b910f24cb10
Allow activating colorway themes from some websites r=Gijs
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Attached image colorways demo page

QA steps:

  1. create browser.uitour.testingOrigins about:config pref as string "https://www-demo1.allizom.org"
  2. open https://www-demo1.allizom.org/firefox/whatsnew/colorways/

expected:

  • list of buttons for each colorway that when clicked change to that theme
  • "reset colorway" button when clicked change back to original theme
  • older versions of firefox before 97 detects it's too old

I have verified this enhancement and I can confirm the following:

  • All the themes from the "Colorways demo" page can be successfully applied to the browser.
  • The theme is reset to the default one if the "Reset Colorway" button is clicked.
  • The "This page requires Firefox 97 or above." message is displayed on Firefox versions smaller than 97.

Verified using the latest Firefox Beta (97.0b4 Build ID - 20220116190254) installed on Windows 10 x64, macOS 10.15.7, and Linux Mint 20.2 x64

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

Attachment

General

Creator:
Created:
Updated:
Size: