Skip to content

Add manual project path fallback when picker is unavailable#16

Open
arafatkatze wants to merge 1 commit intomainfrom
arafatkatze/manual-project-path-fallback
Open

Add manual project path fallback when picker is unavailable#16
arafatkatze wants to merge 1 commit intomainfrom
arafatkatze/manual-project-path-fallback

Conversation

@arafatkatze
Copy link

@arafatkatze arafatkatze commented Mar 16, 2026

Summary

  • add a fallback in project-add flow that detects directory-picker-unavailable errors (headless Linux/macOS/Windows cases)
  • when picker is unavailable, show a warning toast and prompt for a manual repository path, then continue via projects.add
  • add unit tests for picker-unavailable detection and removed-project error parsing
  • document the headless remote limitation/fallback in AGENTS tribal knowledge

Why

Running Kanban over SSH/tunnel on headless hosts fails project creation today because native pickers (zenity/kdialog/osascript/PowerShell dialog) are unavailable.

Validation

  • npm --prefix web-ui run typecheck
  • npm --prefix web-ui run test -- --run src/hooks/use-project-navigation.test.ts
  • pre-commit suite (npm run check) passed during commit

@saoudrizwan
Copy link
Contributor

What kind of envrionment were you not able to open a file picker in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants