More research is required, but it looks like Firefox's new onboarding experience is integrated into their "activity stream" interface (aka new tab page).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Following mcs suggestion, I resurrected the onboarding system addon. Then I cherry picked the original Tor onboarding commits and finally converted the bootstrapped extension into a webextension + experimental API, which is how it was done for other extensions (e.g. formautofill).
I'll take the patches, though, for tor-browser-68.1.0esr-9.0-1, so please provide fixups for the issues above based on that one. (I am about to rebase and push it to tor-browser).
Trac: Keywords: TorBrowserTeam201908R deleted, TorBrowserTeam201908 added Status: needs_review to needs_revision
Additionally, upon further testing it seems to me that the details part of the circuit level and the security settings is not working as expected. While clicking on the former opens the DDG .onion, no tour through the display shows up trying to make the menu behind the security settings button visible by clicking on the option does not do anything either.
but I think it's the same as the current one, since the file is already in browser `browser/locales/Makefile.in`.> 1c9eb3993c5b505c0894b13634b09690bfb97791 - not okay (not sure about the changed `onboarding-overlay-button` but we'll see I guess while testing)I changed the css to match the old patch, since the `onboarding-overlay-attention-dot` was not showing properly.> The images are the wrong ones. We want to have those from #30560.Fixed.> 6f05a139b387c072a63bfae3a086aee2cee95875 - okay> e19e128476f48278911656db735739f0526f12ce - not okay> {{{> -/* The primary button gets the same color as the customize button. */> }}}> in `browser/themes/shared/UITour.inc.css` is missingFixed.> 742fccfcbb7a19ba9daee44335e9962639773d13 - not okay> {{{> - OnboardingTelemetry: "re[/onboarding/modules/OnboardingTelemetry.jsm",](/onboarding/modules/OnboardingTelemetry.jsm",)> }}}> in `browser/extensions/onboarding/bootstrap.js` is missingFixed.> aeb0b6678e61fd282825610ca29a225eb0991281 - I think this is okay, but are we affected by https://bugzilla.mozilla.org/show_bug.cgi?id=1498378?We are, nice catch. Reverted that one too.> Additionally, upon further testing it seems to me that the details part of the circuit level and the security settings is not working as expected. While clicking on the former opens the DDG .onion, no tour through the display shows up trying to make the menu behind the security settings button visible by clicking on the option does not do anything either.It seems there were several recent patches which did not like the onboarding. The security settings not opening is a regression due to #31322 and then #31251. The first one prevents UITour-lib.js from loading, and the second one makes `window.document.getElementById("security-level-button").doCommand()` not open the security level anymore (not sure why).The circuit path problem seems to be a regression caused by the FPI permissions patches. I tried reverting `Bug 1330467 - part 1. Don't strip first party domain from permissions key; r=johannh,Ehsan` and it works. It also works if you disable `firstparty.isolate`.The problem is that the permission check in [UITourChild.jsm](https://searchfox.org/mozilla-central/rev/9bb55ae4d808fc48afcf93f99da6a685265b86c6/browser/components/uitour/UITourChild.jsm#91) returns `false` after that patch is applied. I think this is because the `uitour` permission for the DDG onion page is not being loaded in the content process (where this is called). These are loaded in [ContentParent.cpp](https://searchfox.org/mozilla-central/rev/9bb55ae4d808fc48afcf93f99da6a685265b86c6/dom/ipc/ContentParent.cpp#5450) (for the principal). Before the FPI permission patch (or when disabling `firstparty.isolate`, this is called with key `https://3g2upl4pq6kufc4m.onion`, which loads the permission properly. After the patch it's called with key `https://3g2upl4pq6kufc4m.onion^firstPartyDomain=3g2upl4pq6kufc4m.onion`, which apparently does not work. This issue does not occur with `about:tor` `uitour` permission: this is always loaded because `nsPermissionManager::GetKeyForOrigin` returns empty keys for origins not starting with `http://`, `https://` or `ftp://`. The convention is that permissions with empty keys are default permissions and always preloaded (see [ContentParent.cpp](https://searchfox.org/mozilla-central/rev/9bb55ae4d808fc48afcf93f99da6a685265b86c6/dom/ipc/ContentParent.cpp#1340)). So I fixed this by adding `uitour` to the permissions that are always preloaded.**Trac**: **Keywords**: TorBrowserTeam201909 **deleted**, TorBrowserTeam201909R **added** **Status**: needs_revision **to** needs_review
Thanks for the digging and the fixups. Very nice work! I cherry-picked the Torbutton commit onto master (commit d796dd27d12850bd176a85e160002755bfccfab2) and the other ones onto tor-browser-68.1.0esr-9.0-2 (commits
b4e8db514df16856b567be1e13cb9af11a7de6e5
535d41fd820d5b94caf43f3e403dc74b3566c837
915d521a2fae009509a229bdaeb1d3a95a17b8c1
e1ad91f3031dd08a0591d0f9d472cb49e015ad75
5d0ffb6cea1e3eca56884f087120f2b40aa2926b).
I've opened a new ticket to do The Right Thing with respect to our onboarding that is we need a new one fitting to the new Firefox reality instead of backing out patches and hacking around the breakage: #31660 (moved).
FWIW: I think doCommand() is not working anymore due to the following change:
hi acat, could you set the "Actual Points" field with (more or less) how long it took you to complete this, that way we can see whether our estimates are accurate.
I don't remember exactly, since the first patch was done 3 months ago. If we include the regressions and addressing the review comments that had to be done later I would say something like 5.