Commit Graph

4272 Commits

Author SHA1 Message Date
24edb66b3c WIP: #7249 Convert new variable name to camelCase automatically (#7546)
convert new variable name to camelcase automatically
2025-06-20 07:45:24 -04:00
903ba33c46 Make the Playwright API reporter more generic (#7534) 2025-06-19 20:19:53 -04:00
c5bf6ad42d Add ellipsis to match the other Loading components (#7526) 2025-06-20 00:09:25 +00:00
eeaa71142a Convert units of tolerance for CSG functions (#7540)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-06-20 07:14:30 +12:00
0d1fc1b513 Fix network machines indicator alignment (#7535)
* Fix network machines indicator alignment
By integrating it better with the new API

* Update snapshots

* Update snapshots

* Add networkMachineStatus only behind isDesktop

* Update snapshots

* Small cleanup

* Fix test-id

* Update snapshots

* Lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-19 16:48:09 +00:00
d510e58ebc Point staging version link to corresponding commit on GitHub (#7529)
* Add the 'Download the app' button back on web
Fixes #7527

* Fix staging release link in desktop app
Fixes #7513

* Update snapshots

* Update snapshots

* Update snapshots

* Add ref parsing logic and unit test

* Oops

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-19 11:30:28 -04:00
23a01e86e6 Add edit flow for Parameters to Feature Tree (#7536)
* Add edit flow to named parameters, show their value in feature tree

* Amend a feature tree test to include editing a parameter

* Enforce disallowing "create new variable" in edit parameter flow

* Add wrapping behavior! Sorry forgot to commit this

* Update src/machines/commandBarMachine.ts

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-19 11:14:37 -04:00
9dd6e3e852 KCL: Support non-ASCII identifiers (#7525)
Both human and LLMs want to write KCL code in non-English languages. This is important and we should support it.

Note that errors are currently a bit broken with non-ASCII identifiers, see #4327
2025-06-19 14:10:21 +00:00
9eaacc2a51 KCL: involuteCircular can use diameter in addition to radius (#7519)
Mechanical engineers prefer using diameter over radius.
2025-06-19 14:09:24 +00:00
de6e0f6b18 Add the 'Download the app' button back on web (#7528)
* Add the 'Download the app' button back on web
Fixes #7527

* Update snapshots

* Update snapshots

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-19 12:56:37 +00:00
d02a9f59ae #6629 Make undo redo work without code pane being open (#7511)
* move useHotkey for undo/redo into App

* _editorView should be private

* get editorView should be a real get method for consistency

* resolve tsc errors

* fmt

* setView, setState are not exposed

* make undo work without editorview when kcl pane is closed

* lint

* circular deps

* resolve circular deps

* fix undo being 1 step late

* unrelated console.warn removed

* fix undo when code pane is closed during editing

* cleanup

* allow undo to get beyond when code editor has been mounted

* fix up clearHistory

* add test for testing  Undo with closed code pane
2025-06-19 11:26:51 +00:00
92f930dfc0 Improve release template regarding updater checks (#7532)
* Improve release template regarding updater checks

* Break it up and change update label
2025-06-19 09:32:22 +00:00
e651e0c2cf load wasm from custom port (#7514)
* load wasm from custom port

* Jon's suggestion
2025-06-19 09:20:01 +00:00
6358eed7e4 Release KCL 82 (#7531) kcl-82 2025-06-19 01:03:13 +00:00
05bc96babc chore: improving some css and layout issues 2025-06-18 16:58:45 -05:00
5fcc99dc3f chore: css to know what region you are renaming or adding a new file in 2025-06-18 16:55:25 -05:00
7fbc71ef9f chore: more css updates 2025-06-18 16:02:14 -05:00
ba5b113224 chore: css fixes based on Frank's design 2025-06-18 15:39:31 -05:00
6442e4a059 fix: implemented adding files and folders at the activeIndex level instead of selected 2025-06-18 15:28:02 -05:00
e14bfdfb65 fix: fmt 2025-06-18 15:07:30 -05:00
dddc7e3873 fix: big add file and folder logic 2025-06-18 13:58:53 -05:00
950aa13cdf fix: placeholders and showing them for add file or foldeR 2025-06-18 12:48:28 -05:00
ff3a0f697b fix: updating icons 2025-06-18 10:18:34 -05:00
f1d9380146 fix: handling blur,focus for the containers to start tabbing and using arrow keys 2025-06-18 08:28:09 -05:00
06f0276569 fix: testing with multiples! 2025-06-17 17:01:04 -05:00
cec90e7732 fix: need to fix some major event typescript handling 2025-06-17 16:50:17 -05:00
e2b2b80737 fix: more tsc fixes 2025-06-17 16:44:38 -05:00
6234e23bfc fix: more ts fixes 2025-06-17 16:40:25 -05:00
af34dc70ef fix: on context menu open 2025-06-17 16:35:25 -05:00
40198b0a2b fix: renaming handlers 2025-06-17 16:34:07 -05:00
e2b49e3fd9 fix: more tsc error fixing 2025-06-17 16:28:04 -05:00
c7c3d4b055 fix: fixing linter and ts issues 2025-06-17 16:24:15 -05:00
fe581ff1d2 Replace lower-right controls with a full status bar (#7443)
* Resurrect this branch with an initial commit

* Add telemetry to global default items

* Add credit progress bar to status bar

* Add selection info to status bar

* Add help menu to "local" side

* Rename statusBarItem utils

* Delete LowerRightControls, now unused

* fix lints

* Update snapshots

* Add test-id to network health indicator, which all E2E tests rely on

* Update src/components/StatusBar/StatusBar.tsx

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>

* Fix a couple little issues with the e2e tests

* Fix gizmo e2e tests (it moved) and network health test (it should not be on home page)

* More tweaks to accomodate changes to network health indicator

We made use of two test ID's to make Playwright aware of the state, one
of which was on the icon. Now that we want to normalize usage of the
status bar along a more limited API, that became a not possible. This
just tweaks some test code that relied on that fact.

* Fix lints

* Update snapshots

* Re-run CI

* Update snapshots

* Update snapshots

* Test fixes, label logic tweaks

* Update snapshots

* Update snapshots

* Fix up last few tests hopefully. Relative path syntax failed on windows

* Relative paths are behaving badly on Windows, use the old code here

* Update snapshots

* Update snapshots

* Tweak y-value to work on all platforms, ubuntu didn't like 438

* Fix tooltip and popover alignment on NetworkMachineIndicator

* Remove dire warning comment

* Update src/components/StatusBar/defaultStatusBarItems.tsx

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>

* @lee-at-zoo-corp feedback, pull hooks out of UI code

* Re-run CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
v1.0.6
2025-06-17 20:29:27 +00:00
d25ecfc480 fix: open in new window 2025-06-17 15:24:18 -05:00
ff0b6884f9 fix: deleting folders 2025-06-17 14:11:09 -05:00
deab6732f2 fix: deleting file or folder 2025-06-17 14:10:02 -05:00
b301fbba22 KCL: Remove stale extrudeTwist docs (#7503)
Thanks Greg
2025-06-17 18:39:34 +00:00
0c702e4bab Use nightly rustfmt in CI (#7509)
* Use nightly rustfmt in CI

* Fix current code to be nightly formatted
2025-06-17 18:30:33 +00:00
4cb918423e fix: force renaming with extensions since they can rename their file out of view :( 2025-06-17 13:04:15 -05:00
f2374d7afd chore: renaming files with the systemio 2025-06-17 12:42:55 -05:00
b6adb797e2 fix: blocking arrow keys on renaming 2025-06-17 12:13:49 -05:00
5e972eb18f fix: renaming folders! 2025-06-17 12:08:37 -05:00
6ac164d15c chore: saving off some progress for the renaming, need a new systemiomachine actor 2025-06-17 11:06:32 -05:00
12a4b444c1 fix: fmt 2025-06-17 09:35:54 -05:00
c1dafdd913 fix: saving off renaming progress 2025-06-17 09:35:38 -05:00
25b9a34640 Nit: Name the various 'upload-artifact' CI steps (#7498)
This makes it easier to read GH actions and find the artifacts you're looking for.
2025-06-17 14:34:27 +00:00
14ef435b1b fix: moved path into the file entry 2025-06-17 09:09:19 -05:00
199fffc442 fix: fmt 2025-06-17 08:52:45 -05:00
48f68f6c08 fix: context menu selection outline 2025-06-17 08:12:19 -05:00
f0fb45404d fix: dang 2025-06-17 07:52:56 -05:00