From 1bb547870e32f73141db35e1e676ad64f9b8a24f Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 20 May 2026 13:39:11 +0200 Subject: [PATCH] add "temp" for temporary projects Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- internal/ui/home/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ui/home/update.go b/internal/ui/home/update.go index 8500486..a6bd846 100644 --- a/internal/ui/home/update.go +++ b/internal/ui/home/update.go @@ -138,14 +138,14 @@ func sanitizeName(s string) string { } func IsValidProjectName(s string) bool { - if s == "tmp" { + if s == "tmp" || s == "temp" || s == "temporary" { return true } return s != "" && s == sanitizeName(s) } func OpenProject(projectDir, name string) (*Project, error) { - if name == "tmp" { + if name == "tmp" || name == "temp" || name == "temporary" { dir := tempDir() if err := os.MkdirAll(dir, 0o755); err != nil { return nil, err