feat: Live folders, p=#11921

Co-authored-by: Slowlife01 <slowlife1165@gmail.com>
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
Co-authored-by: reizumi <reizumichan@protonmail.com>
This commit is contained in:
Slowlife
2026-02-21 06:17:05 +07:00
committed by GitHub
parent 97078b42ac
commit c28d6520d6
43 changed files with 2421 additions and 22 deletions

View File

@@ -758,6 +758,15 @@ class nsZenPinnedTabManager extends nsZenDOMOperatedFeature {
pinHasChangedUrl(tab) {
if (tab.hasAttribute("zen-pinned-changed")) {
const showSublabel = tab.hasAttribute("zen-show-sublabel");
if (showSublabel) {
tab.removeAttribute("zen-show-sublabel");
const label = tab.querySelector(".zen-tab-sublabel");
window.document.l10n.setArgs(label, {
tabSubtitle: "zen-default-pinned",
});
}
return;
}
if (tab.group?.hasAttribute("split-view-group")) {