The project picker used to require at least one pre-existing project and would otherwise hard-error: "no projects visible to this user — create one in the Vikunja UI first". Now it always offers an extra numbered entry "Create a new project" and, when the user picks it, prompts for a title (required) + identifier (optional). Empty-list case routes straight to creation. Backed by a new client.CreateProject(ctx, *Project) method (`PUT /projects`); the e2e harness now uses that instead of the raw c.Do call it did before. Also fixed a latent bufio bug in StdPrompter.ReadLine that this work surfaced: every call created a fresh bufio.Reader, which read-ahead a buffer and threw it away on return. Second+ prompts read empty. Reuse one buffered reader on the StdPrompter instance. |
||
|---|---|---|
| .. | ||
| claim_test.go | ||
| helpers.go | ||
| init_test.go | ||
| main_test.go | ||
| prime_test.go | ||
| shared_test.go | ||
| tasks_test.go | ||