Skip to content

Commit 5488b1d

Browse files
committed
feat: Added a more descriptive workspace rearrange string, b=no-bug, c=common, workspaces
1 parent ef22f08 commit 5488b1d

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

l10n

Submodule l10n updated 37 files

src/zen/common/zen-sets.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ document.addEventListener(
102102
gZenWorkspaces.changeWorkspaceIcon();
103103
break;
104104
case 'cmd_zenReorderWorkspaces':
105-
gZenUIManager.showToast('zen-workspaces-how-to-reorder', {
105+
gZenUIManager.showToast('zen-workspaces-how-to-reorder-title', {
106106
timeout: 10000,
107+
descriptionId: 'zen-workspaces-how-to-reorder-desc',
107108
});
108109
break;
109110
case 'cmd_zenOpenWorkspaceCreation':

src/zen/workspaces/ZenWorkspaceCreation.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989
this.appendChild(this.constructor.fragment);
9090
this.initializeAttributeInheritance();
9191

92+
this.style.visibility = 'collapse';
93+
9294
this.inputName = this.querySelector('.zen-workspace-creation-name');
9395
this.inputIcon = this.querySelector('.zen-workspace-creation-icon-label');
9496
this.inputProfile = this.querySelector('.zen-workspace-creation-profile');
@@ -170,6 +172,7 @@
170172
if (gZenVerticalTabsManager._hasSetSingleToolbar) {
171173
gURLBar.textbox.style.visibility = 'collapse';
172174
}
175+
this.style.visibility = '';
173176
gZenUIManager.motion.animate(
174177
this.elementsToAnimate,
175178
{
@@ -299,6 +302,8 @@
299302
gURLBar.textbox.style.opacity = 0;
300303
}
301304

305+
gZenUIManager.updateTabsToolbar();
306+
302307
const workspace = await gZenWorkspaces.getActiveWorkspace();
303308
await gZenWorkspaces._organizeWorkspaceStripLocations(workspace, true);
304309
await gZenWorkspaces.updateTabsContainers();

src/zen/workspaces/zen-workspaces.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
transition:
5454
filter 0.2s,
5555
opacity 0.2s,
56-
width 0.1s,
57-
transform 0.1s;
56+
width 0.1s;
5857

5958
&[active='true'],
6059
&:hover,
@@ -68,7 +67,8 @@
6867
}
6968

7069
&[dragged='true'] {
71-
transform: scale(1.05);
70+
outline: 1px solid var(--zen-colors-primary);
71+
outline-offset: -1px;
7272
}
7373
}
7474

0 commit comments

Comments
 (0)