[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.1.0esr-16.0-1] fixup! BB 43902: Modify the new sidebar for Base Browser.



Title: GitLab

morgan pushed to branch tor-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 3ba7fa9c
    by Henry Wilkes at 2026-08-18T12:48:38+00:00
    fixup! BB 43902: Modify the new sidebar for Base Browser.
    
    BB 45169: Allow the history item in the sidebar, but hide it by default.
    

2 changed files:

Changes:

  • browser/components/sidebar/SidebarManager.sys.mjs
    ... ... @@ -15,7 +15,11 @@ const PINNED_PROMO_PREF = "sidebar.verticalTabs.dragToPinPromo.dismissed";
    15 15
     // New panels that are ready to be introduced to new sidebar users should be added to this list;
    
    16 16
     // ensure your feature flag is enabled at the same time you do this and that its the same value as
    
    17 17
     // what you added to .
    
    18
    -const DEFAULT_LAUNCHER_TOOLS = "aichat,syncedtabs,history,bookmarks,opentabs";
    
    18
    +// By default, we only include "bookmarks". Most options are non-functional in
    
    19
    +// Tor Browser. For "history", by default the user will not have any history nor
    
    20
    +// will they accumulate any in permanent private browsing. Though, a user may
    
    21
    +// still customize the sidebar to add "history" back. tor-browser#45169.
    
    22
    +const DEFAULT_LAUNCHER_TOOLS = "bookmarks";
    
    19 23
     const lazy = {};
    
    20 24
     ChromeUtils.defineESModuleGetters(lazy, {
    
    21 25
       BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.sys.mjs",
    

  • browser/components/sidebar/browser-sidebar.js
    ... ... @@ -140,9 +140,6 @@ var SidebarController = {
    140 140
               gleanEvent: Glean.history.sidebarToggle,
    
    141 141
               gleanClickEvent: Glean.sidebar.historyIconClick,
    
    142 142
               recordSidebarVersion: true,
    
    143
    -          // In permanent private browsing, the history panel can be opened, but
    
    144
    -          // we hide the sidebar button to control this. tor-browser#43902.
    
    145
    -          visible: !PrivateBrowsingUtils.permanentPrivateBrowsing,
    
    146 143
             }),
    
    147 144
           ],
    
    148 145
           [
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx