@aion0/forge 0.2.30 → 0.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Dashboard.tsx +7 -3
- package/package.json +1 -1
package/components/Dashboard.tsx
CHANGED
|
@@ -239,14 +239,18 @@ export default function Dashboard({ user }: { user: any }) {
|
|
|
239
239
|
+ New Task
|
|
240
240
|
</button>
|
|
241
241
|
)}
|
|
242
|
-
{/*
|
|
243
|
-
<TunnelToggle />
|
|
242
|
+
{/* Preview + Tunnel */}
|
|
244
243
|
<button
|
|
245
244
|
onClick={() => setViewMode('preview')}
|
|
246
|
-
className={`text-[10px]
|
|
245
|
+
className={`text-[10px] px-2 py-0.5 border rounded transition-colors ${
|
|
246
|
+
viewMode === 'preview'
|
|
247
|
+
? 'border-[var(--accent)] text-[var(--accent)]'
|
|
248
|
+
: 'border-[var(--border)] text-[var(--text-secondary)] hover:text-[var(--text-primary)] hover:border-[var(--text-secondary)]'
|
|
249
|
+
}`}
|
|
247
250
|
>
|
|
248
251
|
Preview
|
|
249
252
|
</button>
|
|
253
|
+
<TunnelToggle />
|
|
250
254
|
{onlineCount.total > 0 && (
|
|
251
255
|
<span className="text-[10px] text-[var(--text-secondary)] flex items-center gap-1" title={`${onlineCount.total} online${onlineCount.remote > 0 ? `, ${onlineCount.remote} remote` : ''}`}>
|
|
252
256
|
<span className="text-green-500">●</span>
|
package/package.json
CHANGED