Commit graph

254 commits

Author SHA1 Message Date
Stuart
57c0672624 CMMS embedding: AI Assistant editor-buffer bridge
Some checks failed
Test Build / Node v22 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v26 (push) Has been cancelled
App.tsx gains a postMessage listener (gated on window.CMMS_SCAD_CONFIG) that
answers 'cmms-ai-editor-get-buffer' with model.source and applies an
'cmms-ai-editor-apply' rewrite via model.source = new_source. Lets the CMMS
AI Assistant read and rewrite the live editor buffer. Standalone use is
untouched.
2026-09-03 11:02:14 +10:00
0e80cde156 CMMS embedding: follow the CMMS light/dark theme
Some checks failed
Test Build / Node v26 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v22 (push) Has been cancelled
window.CMMS_SCAD_CONFIG.dark (set by edit.php from theme_is_dark()) now
drives: the primereact theme (runtime <link> to a bundled
primereact-theme-{light,dark}.css instead of a static light import), the
Monaco editor theme (vs-dark / light), and a body.cmms-dark class that
overrides the light-hardcoded bits in public/index.html. Standalone use
is unchanged (light).
2026-08-31 11:36:54 +10:00
1c7f05f404 Surface dxf_warning from scad_save/scad_save_new as a toast
Some checks failed
Test Build / Node v26 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v22 (push) Has been cancelled
2026-08-29 17:27:48 +10:00
f471e0245a Add CMMS embedding hooks: load a .scad attachment via window.CMMS_SCAD_CONFIG,
Some checks failed
Test Build / Node v22 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v26 (push) Has been cancelled
save the current source back to CMMS via a new "Save to CMMS" button

Mirrors the window.CAD_EDITOR_CONFIG pattern already used by the cad-editor
fork. Load: on boot, if CMMS_SCAD_CONFIG.loadUrl is set, fetch it and seed
the editor with that content instead of restoring the app's own URL-
fragment/localStorage state - reloading always shows the current CMMS
attachment, not a stale local edit. Save: POSTs the current editor source
as plain text to CMMS_SCAD_CONFIG.saveUrl (public/attachment.php's new
scad_save/scad_save_new action) - the server re-renders the DXF companion
itself via render_scad_to_dxf(), so there's one OpenSCAD render
implementation, not a second one duplicated in the browser's WASM engine.

Every new code path is gated on window.CMMS_SCAD_CONFIG being present, so
standalone/upstream use is unaffected.
2026-08-29 17:23:55 +10:00
Torsten Paul
012111f06b
Merge pull request #159 from openscad/dependabot/github_actions/github-actions-eefdb6dedd
Some checks failed
Test Build / Node v22 (push) Has been cancelled
Test Build / Node v24 (push) Has been cancelled
Test Build / Node v26 (push) Has been cancelled
chore(ci): bump actions/setup-node from 6 to 7 in the github-actions group across 1 directory
2026-07-16 11:56:32 +02:00
dependabot[bot]
d87218981b
chore(ci): bump actions/setup-node
Bumps the github-actions group with 1 update in the / directory: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 6 to 7
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-16 09:50:50 +00:00
Torsten Paul
81ef9fe4cd
Merge pull request #158 from Rotzbua/fix_ci
Fix ci
2026-07-16 11:50:10 +02:00
Torsten Paul
da95fb90a6
Merge pull request #157 from Rotzbua/fix_pr_template
fix: remove unnecessary copy of PR template
2026-07-16 11:45:56 +02:00
Rotzbua
b9781b394c
fix: dependencies for working CI 2026-07-16 11:37:23 +02:00
Rotzbua
38514d82ca
feat: reproducible CI test
Run the test workflow on explicit Node version 18, 20, 22, and 24 instead of the changing alias LTS/latest.
2026-07-16 11:06:28 +02:00
Rotzbua
d5013de67a
fix: remove unnecessary copy of PR template
duplicate of `PULL_REQUEST_TEMPLATE/default.md`
2026-07-16 10:00:57 +02:00
Torsten Paul
81020b22e5
Merge pull request #149 from openscad/dependabot/github_actions/github-actions-674967a53d
chore(ci): bump actions/upload-artifact from 6 to 7 in the github-actions group
2026-03-01 20:22:31 +01:00
dependabot[bot]
908bd461b5
chore(ci): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 6 to 7
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 09:53:55 +00:00
Torsten Paul
658e7fe392
Merge pull request #140 from openscad/dependabot/github_actions/github-actions-88dfb18256
chore(ci): bump actions/upload-artifact from 5 to 6 in the github-actions group
2026-01-01 15:57:08 +01:00
dependabot[bot]
51877458aa
chore(ci): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 09:06:28 +00:00
Torsten Paul
95915f2fab
Merge pull request #139 from gorbiz/fix/disable-monaco-android
Disable Monaco editor on Android user agents
2025-12-19 23:50:34 +01:00
Karl Svartholm
08367a73d8 Disable Monaco editor on Android user agents 2025-12-19 21:58:49 +01:00
Torsten Paul
3858c9f9c5
Merge pull request #136 from openscad/dependabot/github_actions/github-actions-76468cb07f
chore(ci): bump actions/checkout from 5 to 6 in the github-actions group
2025-12-01 12:44:49 +01:00
dependabot[bot]
8c892ff833
chore(ci): bump actions/checkout from 5 to 6 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 11:11:22 +00:00
Torsten Paul
97b859bdc2 Update PULL_REQUEST_TEMPLATE. 2025-11-10 00:56:01 +01:00
Torsten Paul
2dd482e2fd
Add pull request template for OpenSCAD Playground 2025-11-09 23:10:14 +01:00
Torsten Paul
04b0ca706d
Merge pull request #133 from openscad/dependabot/github_actions/github-actions-b98f4931f4
chore(ci): bump the github-actions group with 2 updates
2025-11-01 14:08:17 +01:00
dependabot[bot]
3e421597ec
chore(ci): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 09:07:13 +00:00
Torsten Paul
75bbe2d611
Merge pull request #125 from openscad/dependabot/github_actions/github-actions-9fefc21f71
chore(ci): bump the github-actions group with 2 updates
2025-10-01 16:54:06 +02:00
dependabot[bot]
f5c4475bc8
chore(ci): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 14:45:01 +00:00
Torsten Paul
869a4c1888
Merge pull request #123 from JohnnyTheTank/122/Replace-Makefile-w-something-that-reads-the-libs-metadata
Replace Makefile w/ something that reads the libs metadata
2025-10-01 16:32:35 +02:00
Jonathan Hornung
a74eec74ee Fixes failing test #122 2025-08-16 18:21:01 +02:00
Jonathan Hornung
401991d6ea Restore libs-config.json - undo accidental deletion 2025-08-16 08:34:01 +02:00
Jonathan Hornung
7ba32a9219 Remove libs-config.json file to streamline configuration management 2025-08-16 08:32:12 +02:00
Jonathan Hornung
52930445fc using webpack #122 2025-08-16 08:29:59 +02:00
Jonathan Hornung
b8d8f545b0 Replace Makefile w/ something that reads the libs metadata
Fixes #122
2025-08-15 08:57:49 +02:00
Torsten Paul
3da8d92aea
Merge pull request #105 from Rotzbua/feat_module
feat: migrate from commonjs to module
2025-04-20 22:04:44 +02:00
Torsten Paul
46882112a4 Use Ubuntu 24.04 as test runner. 2025-04-20 21:57:31 +02:00
Torsten Paul
4cbb2c7594 Merge branch 'feat_module' of github.com:Rotzbua/openscad-playground into Rotzbua-feat_module 2025-04-20 21:56:33 +02:00
Torsten Paul
e0282681d6
Merge pull request #118 from openscad/ochafik-export-stl-default
Export to STL by default
2025-04-20 21:51:24 +02:00
ochafik
090a50ee84 Export to STL by default 2025-04-20 21:46:01 +02:00
Torsten Paul
03d0589575
Merge pull request #117 from ochafik/jest-no-sandbox
Disable chrome sandbox on puppeteer test to fix CI
2025-04-20 21:39:52 +02:00
ochafik
bc42ea250b Update jest.config.js 2025-03-26 00:05:03 +00:00
ochafik
e413b191be shuffle puppeteer no-sandbox flag around 2025-03-25 23:56:02 +00:00
ochafik
400b840e55 Disable chrome sandbox on puppeteer test for CI 2025-03-25 23:32:19 +00:00
Torsten Paul
4b591c4bfc Update default WASM_BUILD_URL to pinned version on the openscad file server 2025-03-25 17:26:14 +00:00
Rotzbua
c8268c262e
feat: migrate from commonjs to module 2025-01-02 21:00:27 +01:00
ochafik
56173552af Fix 3mf export flow through material dialog 2024-12-31 18:50:38 +00:00
ochafik
e087b87c19 Fix type lints in editor 2024-12-31 18:50:38 +00:00
Rotzbua
7ffedccf2e chore(editor): update to latest version 2024-12-31 16:50:39 +00:00
ochafik
6a9529aab7 Multimaterial: trim strings, skip empties 2024-12-31 16:43:15 +00:00
ochafik
5e48ffbf34 Add blurhash previews to make (re)loading more entertaining 2024-12-31 16:43:15 +00:00
ochafik
60ed786e22 Fix typo 2024-12-31 16:43:15 +00:00
ochafik
a0015af28e Replace rollup w/ webpack for the web worker 2024-12-31 16:06:51 +00:00
Rotzbua
a4a33d2541 chore(deps): update loader 2024-12-28 22:56:24 +00:00