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…