Skip to content

Commit 8901df1

Browse files
authored
Merge pull request #845 from web3dev1337/fix/dashboard-ultrawide-baseline
fix: make dashboard text pure white
2 parents 27b6efc + fa45313 commit 8901df1

2 files changed

Lines changed: 71 additions & 21 deletions

File tree

client/dashboard.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class Dashboard {
261261
<div class="dashboard-create-desc">Set up a new workspace environment to begin building.</div>
262262
</div>
263263
<button id="dashboard-add-workspace-btn" class="btn-primary workspace-create-empty-btn dashboard-create-btn">
264-
Create Workspace
264+
+ Create Workspace
265265
</button>
266266
</div>
267267
` : '';
@@ -309,16 +309,15 @@ class Dashboard {
309309
return `
310310
<div class="dashboard-wrapper">
311311
<div class="dashboard-topbar">
312-
${canReturnToWorkspaces ? `<button class="dashboard-topbar-btn" id="dashboard-back-btn" title="Back to workspaces">← Back</button>` : '<div></div>'}
312+
${canReturnToWorkspaces ? `<button class="dashboard-topbar-btn" id="dashboard-back-btn" title="Back to workspaces">← Back to workspaces</button>` : '<div></div>'}
313313
${showProcessBanner ? `<div id="dashboard-process-banner" class="process-banner" title="WIP and queue status"></div>` : '<div></div>'}
314314
</div>
315315
316316
<div class="dashboard-header-modern">
317317
<div class="dashboard-title-group">
318-
<div class="dashboard-title-icon" style="font-size:24px;">🏠</div>
318+
<div class="dashboard-title-icon" aria-hidden="true"></div>
319319
<div>
320320
<h1>Agent Workspace</h1>
321-
<p>Select a workspace to begin development</p>
322321
</div>
323322
</div>
324323
</div>
@@ -3481,7 +3480,7 @@ class Dashboard {
34813480
</button>
34823481
<div class="bento-action-group">
34833482
<button class="btn-icon workspace-rename-btn" title="Rename workspace">
3484-
3483+
✏️
34853484
</button>
34863485
<button class="btn-icon workspace-delete-btn btn-danger-icon" title="Delete workspace">
34873486
🗑️
@@ -3583,16 +3582,14 @@ class Dashboard {
35833582
setupEventListeners() {
35843583
// Back button to return to the current tabbed workspace view (when available)
35853584
document.getElementById('dashboard-back-btn')?.addEventListener('click', () => {
3586-
this.orchestrator.hideDashboard();
3585+
this.returnToWorkspaceView();
35873586
});
35883587

35893588
// Workspace card click handlers
35903589
document.querySelectorAll('.workspace-open-btn').forEach(btn => {
35913590
btn.addEventListener('click', (e) => {
35923591
e.stopPropagation();
3593-
const card = e.target.closest('.workspace-card');
3594-
const workspaceId = card.dataset.workspaceId;
3595-
this.openWorkspace(workspaceId);
3592+
this.returnToWorkspaceView();
35963593
});
35973594
});
35983595

@@ -3651,7 +3648,7 @@ class Dashboard {
36513648
this._escHandler = (e) => {
36523649
if (e.key !== 'Escape' || !this.isVisible) return;
36533650
if (this.orchestrator.tabManager?.tabs?.size) {
3654-
this.orchestrator.hideDashboard();
3651+
this.returnToWorkspaceView();
36553652
}
36563653
};
36573654
document.addEventListener('keydown', this._escHandler);
@@ -3785,6 +3782,10 @@ class Dashboard {
37853782
wizard.show(options);
37863783
}
37873784

3785+
returnToWorkspaceView() {
3786+
this.orchestrator.hideDashboard();
3787+
}
3788+
37883789
async createEmptyWorkspaceQuick() {
37893790
try {
37903791
const existingIds = new Set(this.workspaces.map(ws => ws.id));

client/styles.css

Lines changed: 60 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14276,15 +14276,17 @@ body.dependency-onboarding-active #dependency-setup-modal {
1427614276
}
1427714277

1427814278
.dashboard-title-icon {
14279-
width: 44px;
14280-
height: 44px;
14281-
border-radius: 12px;
14282-
background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-pressed) 100%);
14283-
color: white;
14284-
display: flex;
14285-
align-items: center;
14286-
justify-content: center;
14287-
box-shadow: 0 8px 16px rgba(31, 111, 235, 0.25);
14279+
width: 28px;
14280+
height: 28px;
14281+
border-radius: 50%;
14282+
background: conic-gradient(from 180deg at 50% 50%, #52d3ff 0deg, #4b92ff 180deg, #52d3ff 360deg);
14283+
flex-shrink: 0;
14284+
box-shadow: 0 0 20px rgba(82, 211, 255, 0.7);
14285+
animation: dashboard-title-orb-spin 4s linear infinite;
14286+
}
14287+
14288+
@keyframes dashboard-title-orb-spin {
14289+
100% { transform: rotate(360deg); }
1428814290
}
1428914291

1429014292
.dashboard-title-group h1 {
@@ -14478,8 +14480,8 @@ body.dependency-onboarding-active #dependency-setup-modal {
1447814480

1447914481
/* Dashboard Layout */
1448014482
.dashboard-wrapper {
14481-
max-width: 1800px;
14482-
margin: 0 auto;
14483+
max-width: none;
14484+
margin: 0;
1448314485
padding: 0 var(--space-lg) var(--space-lg);
1448414486
display: flex;
1448514487
flex-direction: column;
@@ -14554,6 +14556,22 @@ body.dependency-onboarding-active #dependency-setup-modal {
1455414556
font-weight: 600 !important;
1455514557
font-size: 0.82rem !important;
1455614558
white-space: nowrap;
14559+
border: 1px solid color-mix(in srgb, var(--accent-success) 72%, rgba(255, 255, 255, 0.14)) !important;
14560+
background:
14561+
linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 40%),
14562+
linear-gradient(180deg, color-mix(in srgb, var(--accent-success) 58%, white 42%) 0%, color-mix(in srgb, var(--accent-success) 88%, #09110b 12%) 100%) !important;
14563+
color: #09110b !important;
14564+
box-shadow:
14565+
inset 0 1px 0 rgba(255, 255, 255, 0.42),
14566+
0 8px 18px rgba(0, 0, 0, 0.22) !important;
14567+
}
14568+
14569+
.dashboard-create-btn:hover {
14570+
background:
14571+
linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%),
14572+
linear-gradient(180deg, color-mix(in srgb, var(--accent-success) 66%, white 34%) 0%, color-mix(in srgb, var(--accent-success) 92%, #09110b 8%) 100%) !important;
14573+
color: #09110b !important;
14574+
transform: translateY(-1px);
1455714575
}
1455814576

1455914577
/* Bento Cards */
@@ -14741,6 +14759,37 @@ body.dependency-onboarding-active #dependency-setup-modal {
1474114759
border: 1px solid var(--border-color);
1474214760
}
1474314761

14762+
.dashboard-wrapper,
14763+
.dashboard-wrapper :is(
14764+
h1,
14765+
h2,
14766+
h3,
14767+
h4,
14768+
h5,
14769+
h6,
14770+
p,
14771+
span,
14772+
strong,
14773+
small,
14774+
code,
14775+
label,
14776+
button:not(.dashboard-create-btn),
14777+
a,
14778+
.dashboard-create-title,
14779+
.dashboard-create-desc,
14780+
.workspace-meta,
14781+
.port-card-port,
14782+
.dashboard-project-group-title,
14783+
.dashboard-project-group-count,
14784+
.dashboard-project-tile-name,
14785+
.dashboard-project-tile-subtitle,
14786+
.dashboard-project-tile-live,
14787+
.quick-link-label
14788+
) {
14789+
color: #fff !important;
14790+
opacity: 1 !important;
14791+
}
14792+
1474414793
@media (max-width: 1200px) {
1474514794
.dashboard-main-content {
1474614795
grid-template-columns: 1fr;

0 commit comments

Comments
 (0)