feat(prefs): dev build defaults and skip version migration #181

Merged
forbes merged 2 commits from feat/dev-build-defaults into main 2026-02-12 23:22:01 +00:00
Owner

Summary

Dev builds get their own tuned defaults and no longer show the persistent version migration dialog.

Changes

  • CMakeLists.txt: Set PACKAGE_VERSION_SUFFIX to "dev" so isDevelopmentVersion() returns true for local/CI dev builds
  • src/Gui/Dialogs/DlgVersionMigrator.cpp: Skip version migration dialog for dev builds (early return alongside the existing usingCustomDirectories() check)
  • src/Main/MainGui.cpp: Set UserParameterTemplate to the KindredCreate preference pack cfg so first-run installs start with Catppuccin Mocha theme defaults
  • package/rattler-build/build.sh and build.bat: Pass -DPACKAGE_VERSION_SUFFIX:STRING="" to cmake so release builds produce non-dev binaries

Checklist

  • Commit messages follow conventional commits
  • Code follows project style (clang-format for C++, black for Python)
  • Changes are tested locally
  • Documentation updated (if applicable)
## Summary Dev builds get their own tuned defaults and no longer show the persistent version migration dialog. ## Changes - **`CMakeLists.txt`**: Set `PACKAGE_VERSION_SUFFIX` to `"dev"` so `isDevelopmentVersion()` returns true for local/CI dev builds - **`src/Gui/Dialogs/DlgVersionMigrator.cpp`**: Skip version migration dialog for dev builds (early return alongside the existing `usingCustomDirectories()` check) - **`src/Main/MainGui.cpp`**: Set `UserParameterTemplate` to the KindredCreate preference pack cfg so first-run installs start with Catppuccin Mocha theme defaults - **`package/rattler-build/build.sh`** and **`build.bat`**: Pass `-DPACKAGE_VERSION_SUFFIX:STRING=""` to cmake so release builds produce non-dev binaries ## Checklist - [x] Commit messages follow [conventional commits](https://www.conventionalcommits.org/) - [x] Code follows project style (clang-format for C++, black for Python) - [x] Changes are tested locally - [ ] Documentation updated (if applicable)
forbes added 1 commit 2026-02-12 18:07:06 +00:00
feat(prefs): dev build defaults and skip version migration
Some checks failed
Build and Test / build (pull_request) Has been cancelled
2b0c6774c0
- Set PACKAGE_VERSION_SUFFIX to "dev" so isDevelopmentVersion()
  returns true for local and CI dev builds.  Release build scripts
  (build.sh, build.bat) override this to "" via cmake -D flag.
- Skip the version migration dialog for dev builds in
  DlgVersionMigrator::exec(), alongside the existing
  usingCustomDirectories() check.
- Set UserParameterTemplate to the KindredCreate preference pack so
  first-run installs start with the Catppuccin Mocha theme defaults
  instead of bare FreeCAD defaults.
forbes added 4 commits 2026-02-12 23:21:51 +00:00
feat: add placeholder SVGs for all missing FreeCAD icons
Some checks failed
Build and Test / build (pull_request) Failing after 20m23s
b154c101af
Generate 1254 Catppuccin Mocha themed placeholder SVGs covering every
icon referenced in FreeCAD's .qrc resource files that did not already
have a kindred-icons override.

Each placeholder uses:
- The standard 32x32 viewBox with #313244 surface0 background
- A dashed border in the workbench accent color (e.g. yellow for
  Sketcher, blue for PartDesign, peach for BIM/Draft/Arch, etc.)
- An abbreviated label so the icon is identifiable at a glance

This brings total kindred-icons coverage from 190 to 1444 icons,
ensuring every FreeCAD icon resolves to a Catppuccin-themed version.
Merge branch 'main' into feat/placeholder-icons-for-missing-freecad-icons
All checks were successful
Build and Test / build (pull_request) Successful in 39m19s
1d33007d5e
Reviewed-on: #183
Merge branch 'main' into feat/dev-build-defaults
All checks were successful
Build and Test / build (pull_request) Successful in 37m26s
e98a20a660
forbes merged commit 9ad6ba5907 into main 2026-02-12 23:22:01 +00:00
forbes deleted branch feat/dev-build-defaults 2026-02-12 23:22:02 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#181