idea: tui needs a way to open an existing project and switch projects #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
currently only the default project is shown. but there must be a way to open an existing project with a proper folder picker that supports entering a valid path and to switch between different projects in the caching database. when a new project is added, a rebuild of the database must be automatically triggered.
Implemented in
5801e49.The TUI now has a projects overlay on
p(sidebar focus):BDS.Projects.set_active_projectand reloads the sidebar.oopens a folder-path prompt. A typed path is validated to be an existing directory, then opened as a project (BDS.Projects.create_projectwithdata_path, named after the folder) and activated — same backend flow as the GUI's Open Existing Blog.rebuild_databasepipeline through the shared shell-command backend, with progress in the TUI status line via the existing task polling.Covered by tests in test/bds/tui_test.exs (projects overlay describe block), spec updated in specs/tui.allium (rule ProjectSwitcher, allium check clean), translations added for de/fr/it/es. Build, full test suite, credo, deps.audit and dialyzer are all clean.