From a824c1eb7572d60e639413531028eb59d89456dd Mon Sep 17 00:00:00 2001 From: Z User Date: Sun, 18 Oct 2026 17:43:10 +0000 Subject: [PATCH] [IMP] OneCAD rebrand: OneCAD wordmark + direct-to-workspace launch, no splash hold, no external links (docs/GitHub removed, local reports), all visible strings + locales OneCAD --- .gitignore | 1 + REBRAND.md | 32 +++++++++ apps/solidcraft-web/index.html | 39 ++++++----- apps/solidcraft-web/src/main.rs | 31 ++++++--- assets/locales/cs.json | 50 ++++++------- assets/locales/de.json | 46 ++++++------ assets/locales/en.json | 50 ++++++------- assets/locales/es.json | 50 ++++++------- assets/locales/fr.json | 50 ++++++------- assets/locales/gl.json | 50 ++++++------- assets/locales/it.json | 50 ++++++------- assets/locales/ja.json | 54 +++++++-------- assets/locales/ko.json | 46 ++++++------ assets/locales/pt-BR.json | 50 ++++++------- assets/locales/ru.json | 16 ++--- assets/locales/tr.json | 50 ++++++------- assets/locales/uk.json | 50 ++++++------- assets/locales/zh.json | 50 ++++++------- assets/styles/web/loading.css | 4 +- crates/ui-egui/src/agent_chat/acp.rs | 2 +- crates/ui-egui/src/agent_chat/acp_client.rs | 2 +- crates/ui-egui/src/agent_chat/api_client.rs | 6 +- crates/ui-egui/src/crash_ui.rs | 2 +- crates/ui-egui/src/edit_clipboard.rs | 6 +- crates/ui-egui/src/edit_clipboard_tests.rs | 2 +- crates/ui-egui/src/file_load.rs | 6 +- crates/ui-egui/src/help.rs | 29 ++++---- crates/ui-egui/src/home.rs | 8 +-- crates/ui-egui/src/issue_report.rs | 77 ++++++--------------- crates/ui-egui/src/keymap.rs | 4 +- crates/ui-egui/src/recovery_ui.rs | 2 +- crates/ui-egui/src/toolbar.rs | 16 ++--- crates/ui-egui/src/toolbar_custom.rs | 2 +- 33 files changed, 472 insertions(+), 461 deletions(-) create mode 100644 REBRAND.md diff --git a/.gitignore b/.gitignore index 0a9913f0..fff26498 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /.claude/worktrees/ /target-snapshot __pycache__/ +dist/ diff --git a/REBRAND.md b/REBRAND.md new file mode 100644 index 00000000..94141d8f --- /dev/null +++ b/REBRAND.md @@ -0,0 +1,32 @@ +# OneCAD rebrand map (identity layer) + +OneCAD is the OneBSpace fork of SolidCraft. Since the 20.0.1.0.6 build the rebrand is +**source-level** for everything the user can see or click; only the compatibility layer keeps +upstream names (so `.solidcraft` files, the `window.solidcraft` JS API and the crate layout stay +upstream-compatible). Files tagged `OneBSpace (OneCAD)` are downstream-only deltas. + +## Rebranded in source (user-visible) + +| Layer | Change | +|---|---| +| App bar | upstream vector mark dropped; `OneCAD` wordmark text (`toolbar.rs`), shown in every width | +| Start page | title `SolidCraft` → `OneCAD`; the outbound links (Documentation, Report an Issue, What's New) are removed (`home.rs`) | +| Launch flow | the start page no longer shows on launch — the app opens straight into the workspace (`main.rs`); the house button still shows Home | +| Loading splash | upstream `loading-logo.svg` image is not shipped; the splash is a plain `OneCAD` wordmark (`index.html` + `loading.css`) and the 3.6 s minimum hold is gone (`LOADING_MIN_MS = 0`) | +| Help menu | `Documentation` (docs.solidcraft.io) and `Report an Issue…` (GitHub draft) items removed; About / Keyboard Shortcuts / Crash Reports stay | +| About window | `About OneCAD`, OneCAD description, OneCAD diagnostics header | +| Issue/crash reports | fully local: no GitHub URL is opened anywhere; "Open GitHub draft" replaced by a clipboard `Copy report` (`issue_report.rs`); the app-bar bug button tooltip no longer mentions GitHub | +| Visible strings | status lines, recovery dialog, clipboard text (`OneCAD sketch geometry: …`), AI-chat errors, settings copy — `SolidCraft` → `OneCAD` in code literals and in every `assets/locales/*.json` value | +| Web page | `OneCAD`, social-card meta and PWA manifest/icons dropped from the bundle (as before) | + +## Stays upstream (compatibility & scale) + +- **Format tag `solidcraft/N`** inside the `.solidcraft` ZIP container and the `.solidcraft` + extension (the one_cad registry associates `extensions: ['solidcraft']`). +- **`window.solidcraft` JS API global** — the public browser API surface the one_cad bridge drives. +- **VFS paths** (`/opfs/`, `/downloads/`, plus the OneCAD additions `/odoo/…`) and OPFS/local-storage keys. +- **Crate/binary names and Cargo workspace layout** — untouched; ~876 files mention "solidcraft"; + renaming them would make every upstream sync a merge conflict. (`SOLIDCRAFT_COMMIT` / + `SOLIDCRAFT_BUILD_DATE` env names stay; their About text renders as OneCAD.) +- Desktop-only updater internals (registry key, installer file names) keep upstream strings — + unreachable from the web build. diff --git a/apps/solidcraft-web/index.html b/apps/solidcraft-web/index.html index c1068d5b..ba288b15 100644 --- a/apps/solidcraft-web/index.html +++ b/apps/solidcraft-web/index.html @@ -3,27 +3,14 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <title>SolidCraft - - - - - - - - - - - - - - - + OneCAD + + - @@ -33,15 +20,31 @@ + + -
Loading SolidCraft…
+
OneCADLoading OneCAD…