Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

fix(kanban): show the New-project (welcome) screen above the board (#80)

eneskirca4a8c7180b9bb
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsx
index 690c82e18..3c71c9ad7 100644
--- a/src/renderer/canvas/Canvas.tsx
+++ b/src/renderer/canvas/Canvas.tsx
@@ -7508,6 +7508,7 @@ export function Canvas() {
onReopen={reopenProject}
onDeleteClosed={deleteProject}
onClose={hasProjects ? () => setWelcomeOpen(false) : undefined}
+ overBoard={kanbanOpen}
/>
)}
diff --git a/src/renderer/components/WelcomeScreen.tsx b/src/renderer/components/WelcomeScreen.tsx
index 486260327..fb64bf810 100644
--- a/src/renderer/components/WelcomeScreen.tsx
+++ b/src/renderer/components/WelcomeScreen.tsx
@@ -17,6 +17,12 @@ interface WelcomeScreenProps {
* — adds a close button, Escape, and click-outside. Omitted for the permanent no-projects screen.
*/
onClose?: () => void
+ /**
+ * Raise the screen above the kanban board overlay (z 25). Without this, opening "+" while a
+ * project is in kanban view left the (z 5) welcome screen painted BEHIND the opaque board, so
+ * nothing appeared. No effect on the canvas, where the welcome screen already sits on top.
+ */
+ overBoard?: boolean
}
/** Start screen with quick actions — shown when there are no projects, or on demand via "+". */
@@ -28,7 +34,8 @@ export function WelcomeScreen({
closedProjects = [],
onReopen,
onDeleteClosed,
- onClose
+ onClose,
+ overBoard
}: WelcomeScreenProps) {
useEffect(() => {
if (!onClose) return
@@ -41,7 +48,7 @@ export function WelcomeScreen({
return (
<div
- className="welcome"
+ className={overBoard ? 'welcome welcome--over-board' : 'welcome'}
onClick={onClose ? (e) => e.target === e.currentTarget && onClose() : undefined}
>
{onClose && (
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index d93f63822..24cc15869 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -2259,6 +2259,13 @@ body,
background: var(--canvas-bg);
}
+/* Opened via "+" while a project is in kanban view: the board overlay (z 25) is opaque and would
+ hide the default z-5 welcome screen. Lift it above the board + controls (26) + banners (27), but
+ keep it below the tab bar (30) so tabs stay reachable — same relative stacking as on the canvas. */
+.welcome--over-board {
+ z-index: 28;
+}
+
.welcome__brand {
display: flex;
align-items: center;