4.0.1
版本发布时间: 2024-03-08 01:59:30
piroor/treestyletab最新发布版本:4.0.8(2024-03-19 01:14:06)
- 4.0.1 (2024.3.8)
- Tabs containing sticky tabs are kept expanded when another tree is expanded, even if those tabs are sticked via API.
- 4.0 (2024.3.7)
- Improved performance on cases with large number of tabs. Now tabs only in the viewport are rendered.
- Pinned tabs and unpinned (normal) tabs are now placed under separate container elements:
#pinned-tabs-container > .tabs.pinned
and#normal-tabs-container > .virtual-scroll-container > .tabs.normal
. - Each rendered tab element now has
data-index
attribute corresponding totabs.Tab.index
. - Due to this design change, customization with CSS
counter
won't be work as expected anymore. You'll need to create something helper addon to do such customizations.
- Pinned tabs and unpinned (normal) tabs are now placed under separate container elements:
- Introduce new context menu commands and other triggers to stick arbitrary tabs to edges of the tab bar. It is similar to "Pin/Unpin Tab" but sticked tab keeps its tree.
- Indicate sharing state of tabs (camera, microphone and/or screen) with icons.
- Show dropshadow before normal tabs when the tab bar is scrolled.
- Show dropshadow after normal tabs when the tab bar is not fully scrolled.
- Use cached tree structure information more aggressively on Firefox startup, if the number of tabs, pinned status, and containers are matched.
- Add ability to control tabs opened from Firefox View.
- Suppress bookmarks folder auto creation for bookmarks from tabs, when multiple bookmarks are copied via the Library or something way.
- Move descendant tabs also correctly following to their parent, when a parent tab is moved to the top level via Firefox's horizontal tab bar.
- Apply the option to place opened tabs next to the last related child correctly, when multiple tabs are opened from a pinned tab.
- Avoid unexpected restoration of blank dialog windows by Ctrl-Shift-T on Firefox 116 and later.
- Restore tree structure more correctly for reopened tabs which were closed at a time.
- Lock scroll position temporary when a tree near the tab bar end is collapsed, just like as the case when tabs are closed.
- Open local files in tabs with blob: URL when they are dropped to the tab bar, instead of simply ignored.
- Never create needless multiple folders for bookmarks created from tabs tree.
- Most options are now treated as expert options and hidden by default.
- Many API improvements.
- Introduce a new message type
get-version
to know the version of TST itself. - Introduce new notification types
tabs-rendered
andtabs-unrendered
to observe tabs' rendered state. - Introduce a new message type
get-light-tree
to get minimal tree item information. - Introduce new values of
states
to know detection result determined by TST internally. - Introduce new message types
stick-tab
,unstick-tab
andtoggle-sticky-state
to control tabs' sticky state at tab bar edges. - Introduce new message types
register-auto-sticky-states
andunregister-auto-sticky-states
to stick tabs with specific state to tab bar adges automaitcally. - Introduce a new notification type
tab-sticky-state-changed
to observe a tab is sticked or unsticked. -
Introduce a new option
rendered:true
for the message typesget-tree
andget-light-tree
, to get information only about rendered tabs. - Support bulk messaging to TST (sending multiple messages at once) and bulk messaging from TST (receiving multiple messages at once for better performance.
- Add ability to minimize tree item information contained in notification type messages, to reduce messaging cost.
- Introduce new keywords
allVisibles
andnormalVisibles
for message typesget-tree
andget-light-tree
, to get specific state tree items. - Introduce new options
states
andstatesNot
for message typesget-tree
andget-light-tree
, to get specific tree items. - New insertion place of extra tab contents:
tab-above
andtab-below
are now available. - Introduce new message types
set-tooltip-text
andclear-tooltip-text
to set arbitrary tooltip text for each tab. -
Notification messages of
try-expand-tree-from-attached-child
now has an extra propertychild
corresponding to the added child tab.
- Introduce a new message type
- Most of improvements at this version is sponsored by the Waterfox project / BrowserWorks Ltd. Many thanks to Alex Kontos! (Announcement blog entry at Waterfox project)
- Improved performance on cases with large number of tabs. Now tabs only in the viewport are rendered.