1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-07 23:00:01 +02:00

feat: Added a more descriptive workspace rearrange string, b=no-bug, c=common, workspaces

This commit is contained in:
Mr. M 2025-06-11 17:05:00 +02:00
parent ef22f08115
commit 5488b1d62e
No known key found for this signature in database
GPG key ID: 6292C4C8F8652B18
4 changed files with 11 additions and 5 deletions

2
l10n

@ -1 +1 @@
Subproject commit 9b84c28c9e46b188d93b98c38cf644acda59bdaa
Subproject commit bd878687ab8509747761395e8eb8853d804dd3a8

View file

@ -102,8 +102,9 @@ document.addEventListener(
gZenWorkspaces.changeWorkspaceIcon();
break;
case 'cmd_zenReorderWorkspaces':
gZenUIManager.showToast('zen-workspaces-how-to-reorder', {
gZenUIManager.showToast('zen-workspaces-how-to-reorder-title', {
timeout: 10000,
descriptionId: 'zen-workspaces-how-to-reorder-desc',
});
break;
case 'cmd_zenOpenWorkspaceCreation':

View file

@ -89,6 +89,8 @@
this.appendChild(this.constructor.fragment);
this.initializeAttributeInheritance();
this.style.visibility = 'collapse';
this.inputName = this.querySelector('.zen-workspace-creation-name');
this.inputIcon = this.querySelector('.zen-workspace-creation-icon-label');
this.inputProfile = this.querySelector('.zen-workspace-creation-profile');
@ -170,6 +172,7 @@
if (gZenVerticalTabsManager._hasSetSingleToolbar) {
gURLBar.textbox.style.visibility = 'collapse';
}
this.style.visibility = '';
gZenUIManager.motion.animate(
this.elementsToAnimate,
{
@ -299,6 +302,8 @@
gURLBar.textbox.style.opacity = 0;
}
gZenUIManager.updateTabsToolbar();
const workspace = await gZenWorkspaces.getActiveWorkspace();
await gZenWorkspaces._organizeWorkspaceStripLocations(workspace, true);
await gZenWorkspaces.updateTabsContainers();

View file

@ -53,8 +53,7 @@
transition:
filter 0.2s,
opacity 0.2s,
width 0.1s,
transform 0.1s;
width 0.1s;
&[active='true'],
&:hover,
@ -68,7 +67,8 @@
}
&[dragged='true'] {
transform: scale(1.05);
outline: 1px solid var(--zen-colors-primary);
outline-offset: -1px;
}
}