I wonder if a more consistent location would be just before "TB 2176: Rebrand Firefox to TorBrowser". That's where we make other shared UI changes.
Moreover, if you are running ./mach lint on a CSS file, you will want "TB 41817: tor-browser semantic styling" to be included so that stylelint will recognise the tor CSS colour tokens as being valid. Therefore, if you are running the linter as you step through a rebase/cherry-pick, it would be handy to have this before any of the "TB" commits that add CSS.
NOTE: Currently the stylelint token stuff is switched off, but we have plans to re-enable it once mozilla has cleaned up the linter.
Should this be an
amend!instead of afixup!?
I don't think so. I think you already renamed it in !1913 (merged), so the commit message doesn't need rewording again.
@any1here sorry to put a halt on your contribution. From a quick look, the logic looks ok. However, this change involves a change in UX, which means:
Note that I will make this change soon, as part of #43570.
@felicia and @donuts I'm currently implementing this. After some time with this, I will tweak the wording a little bit to make the language less ambiguous without using jargon either.
In particular, I'm thinking of:
tor program. I think "process" is much more familiar. Moreover, anyone who does have a technical understanding would know what this is referring to.I can copy you in on the merge request to iron out the wording, and we can update the android wording to match when that work is done.
I think it makes sense to include the potential threats under the "adversaries" section. But the "mitigations" section is TBD right now.
Ah ok, thanks for letting me know the background. That is interesting. My guess is that the prettier step of the command in the buildtokens script failed because it was incorrectly configured or not installed.
In any case, it worked out in the end, so I'm not too worried.
changes to that commit between the various revisions of the MR
oh right, in the following change: !1913 (diffs)
Yes, I've been running
./mach lint --fixon those files, as there was some lint errors.
The new change seems to be what I would expect from ./mach buildtokens. It shouldn't need any linting.
I'm not sure how the previous state, pre linting, was reached.
@boklm did something go wrong with ./mach buildtokens in the rebase? This is the first rebase that has required it, so I wonder what happened.
It could be that the commit needs to be pushed higher up the stack, so that ./mach can be run correctly with that commit checked out.
@pierov Some changes to toolkit/themes/shared/design-system/dist/ are to be expected, since these are generated files. See the comment in the commit 95088e8f. If the instructions in the commit were followed, it should be fine.
Otherwise, if there are changes to other files that are unexplained, then I can review it.
henry how does a redesign like this work in terms of front-end? Is there a way for you to just "pull" the updates from Firefox to Tor Browser or will you need to build every UI element from scratch?
We don't need to build every UI element from scratch. Mozilla has some pre-set widgets (moz-toggle, moz-checkbox, etc) which we can use for our own settings. I think the components listed in the acorn design desktop web page are more or less in line with the widgets available to developers. In general, if we use the mozilla widgets/components we can inherit all the styling and behaviour with very little work.
For anything that is more custom, like the bridge grid (also know as "bridge cards"), I think we will still be able to use our own custom elements. And I believe we can mostly reuse the styling, markup and code that we already have. Maybe with some shuffling around, but it wouldn't need to be a full rebuild.
I'm asking this just so I understand if you'd need 1) full mockups of every screen or maybe 2) just mockups of parts of Settings that are specific from Tor Browser.
We definitely do not need full mockups. Based on what I wrote in #259 (comment 3353960), I only want mockups for replacing:
Notes:
about:preferences#profiles). Unless you know already, I think we can wait and see what happens in Firefox first. I don't think these dialogs will be that hard to convert.So, overall, I don't need many mockups since a chunk of the changes will be obvious to switch over, and we're going to inherit most of the styling from Mozilla anyway. So just do as many mockups as you find useful for yourself!
I've related this issue to #44714 (closed), since I think this change caused that problem, based on this comment:
Unfortunately it seems that because of the
about:blankloading changes occurred recently in Firefox RR, a race condition prevents the fallback from working correctly.
On android the TorProvider uses TorProcessAndroid in toolkit/components/tor-launcher/TorProcessAndroid.sys.mjs, which is what communicates with the android integration.
henry (f2031d01) at 17 Mar 10:54
fixup! TB 40597: Implement TorSettings module
... and 8 more commits
in
TorAndroidIntegration.javathere is aBootstrapStateChangeListenerinterface and assorted calls. Already uses the Stage api internally so it works but do we want to rename it to Stage as well. Should be fast and easy, and then just a few minor changes inTorControllerGV.ktas well😄
TBH I'm not entirely sure how much of the android naming is meant to line up with the shared backend. E.g. in this case it would probably more like TorConnectStageChangeListener, since not all stages are "bootstrap"-related stages. And I imagine there are other things that are similarly mis-aligned.
I'll leave it up to the android developers to implement these renaming changes since it is kind of outside my domain, and I'm not sure it is worth your time to rename stuff right now.
Explained by #44702 (comment 3362174).
mullvad-browser - !fixups to mullvad-browser-specific commits, new features, security backportsbase-browser and tor-browser - !fixups to base-browser-specific commits or new features to be shared with tor-browser
base-browser-specific commits which need to be cherry-picked to the base-browser and tor-browser branches here/request_review all the relevant reviewersAdaptation of tor-browser!1903.
No errors due to the button migration, no new identity anywhere.
I wonder if you could change get AIFeature in TranslationsParent.sys.mjs to return
return { isEnabled: false };
It seems to be the only property that is currently read. Probably needs a follow up though.