Files
tubestation/browser/components/tabbrowser/moz.build
Rolf Rando 1ff1ef6aba Bug 1946322 Land SmartTabGrouping utility class and tabbrowser code for Smart Tab Grouping r=tabbrowser-reviewers,dao,tarek
Landing in moz-central the utility SmartTabGrouping class that enables smart tab grouping of browser tabs.

This includes some cleanup in the toolkit/../ml /code, including adding more tests.

We are slimming test data tsv files by using 5 dimensional embeddings instead of 500 dim.

There is still some algorithm code in  /tabbrowser/SmartTabGrouping  because it is tied up with tabs. We could maybe move some to toolkit/../ml if required but it is a little tricky.

With this patch landed, some clustering access would be available in the console by typing: gBrowser.smartTabGrouping()

@ngrato will have a separate patch to enable the UI.

Differential Revision: https://phabricator.services.mozilla.com/D237112
2025-02-14 17:33:50 +00:00

26 lines
747 B
Plaintext

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
with Files("**"):
BUG_COMPONENT = ("Firefox", "Tabbed Browser")
JAR_MANIFESTS += ["jar.mn"]
EXTRA_JS_MODULES += [
"AsyncTabSwitcher.sys.mjs",
"GroupsList.sys.mjs",
"NewTabPagePreloading.sys.mjs",
"OpenInTabsUtils.sys.mjs",
"SmartTabGrouping.sys.mjs",
"TabsList.sys.mjs",
"TabUnloader.sys.mjs",
]
BROWSER_CHROME_MANIFESTS += [
"test/browser/smarttabgrouping/browser.toml",
"test/browser/statuspanel/browser.toml",
"test/browser/tabMediaIndicator/browser.toml",
"test/browser/tabs/browser.toml",
]