Compare commits

...
Author SHA1 Message Date
Richard Zink e150de3c93 Release v202611-00055 2026-11-17 14:05:16 +01:00
Richard ZinkandClaude Sonnet 5.5 a0c95a035c New project: preselect the workspace, label the factory folder
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 14:05:15 +01:00
5 changed files with 21 additions and 4 deletions

No files matched your search

+8
View File
@@ -3,6 +3,14 @@
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/); All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
until 1.0, minor versions may contain breaking changes. until 1.0, minor versions may contain breaking changes.
## [v202611-00055] – 2026-11-17
### Fixed
- **New project from a Git repository:** the wizard no longer clones into the factory area by default
("target folder already exists" when the factory had checked out the same repository); your workspace is
preselected, and the factory area is labelled as such in the folder list.
## [v202611-00053] – 2026-11-17 ## [v202611-00053] – 2026-11-17
### Fixed ### Fixed
+1 -1
View File
@@ -11,7 +11,7 @@
</p> </p>
<p align="center"> <p align="center">
<img alt="Version v202611-00054" src="https://img.shields.io/badge/version-v202611--00054-d69e2e?style=flat-square"> <img alt="Version v202611-00055" src="https://img.shields.io/badge/version-v202611--00055-d69e2e?style=flat-square">
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square"> <img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square">
<img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust"> <img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust">
<img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react"> <img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react">
+7 -2
View File
@@ -1830,8 +1830,13 @@ async fn list_roots(Extension(user): Extension<User>, State(app): State<AppState
.user_roots(Some(&user.id)) .user_roots(Some(&user.id))
.into_iter() .into_iter()
.map(|r| { .map(|r| {
let rel = r.strip_prefix(&ws).map(|p| p.display().to_string()).unwrap_or_default(); let name = match r.strip_prefix(&ws) {
json!({"path": r, "name": if rel.is_empty() { "/".to_string() } else { rel }}) Ok(p) if p.as_os_str().is_empty() => "/".to_string(),
Ok(p) => p.display().to_string(),
// Outside the workspace (e.g. the factory area): show where it is, not "workspace".
Err(_) => format!("{} (factory)", r.file_name().and_then(|n| n.to_str()).unwrap_or("")).replace(" ()", ""),
};
json!({"path": r, "name": name})
}) })
.collect(); .collect();
Json(json!(roots)) Json(json!(roots))
+1 -1
View File
@@ -193,7 +193,7 @@ export function NewSession({ onMenu, onCreated }: { onMenu: () => void; onCreate
if (!model && config?.default_model) setModel(config.default_model); if (!model && config?.default_model) setModel(config.default_model);
}, [config, model]); }, [config, model]);
useEffect(() => { useEffect(() => {
if (!rootPath && roots.length) setRootPath(roots[roots.length - 1].path); if (!rootPath && roots.length) setRootPath(roots[0].path);
}, [roots, rootPath]); }, [roots, rootPath]);
// Old software is analysed in deep mode; websites default to clean room. // Old software is analysed in deep mode; websites default to clean room.
useEffect(() => { useEffect(() => {
+4
View File
@@ -3,6 +3,10 @@
* under "unreleased"; scripts/release.sh renames the key to the release version. * under "unreleased"; scripts/release.sh renames the key to the release version.
*/ */
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = { export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
"202611-00055": {
en: ["Fixed: cloning a repository for a new project no longer ends up in the factory area"],
de: ["Behoben: Klonen eines Repositorys für ein neues Projekt landet nicht mehr in der Factory-Ablage"],
},
"202611-00054": { "202611-00054": {
en: ["README: new section explaining the code factory"], en: ["README: new section explaining the code factory"],
de: ["README: neuer Abschnitt zur Code-Factory"], de: ["README: neuer Abschnitt zur Code-Factory"],