Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: KittyCAD/modeling-app
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.50.0
Choose a base ref
...
head repository: KittyCAD/modeling-app
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.51.0
Choose a head ref

Commits on Mar 22, 2025

  1. Fix so that only comments doesn't format to empty (#5944)

    jtran authored Mar 22, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    de2b1b3 View commit details
  2. Enable tests to run on pushes to 'all-e2e' branch (#5945)

    * Enable tests to run on pushes to 'all-e2e' branch
    
    * Document branch behavior
    jacebrowning authored Mar 22, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0d0dd10 View commit details
  3. Add fixme to a file-tree test (#5941)

    pierremtb authored Mar 22, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    cfbb037 View commit details

Commits on Mar 24, 2025

  1. Support paths to names rather than just raw idents (#5778)

    * Support paths to names rather than just raw idents
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    nrc and github-actions[bot] authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    dddcd5f View commit details
  2. Declare std kwarg functions in KCL and migrate circle (#5955)

    * Support calling KCL std KW fns, and move circle to KCL std
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * Doc comments on parameters
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * Update grammar
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * Change use of counterClockWise to ccw
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    ---------
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    nrc authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    3b2abe5 View commit details
  3. Bump @types/node from 22.13.10 to 22.13.13 in /packages/codemirror-ls…

    …p-client in the patch group (#5962)
    
    Bump @types/node in /packages/codemirror-lsp-client in the patch group
    
    Bumps the patch group in /packages/codemirror-lsp-client with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).
    
    
    Updates `@types/node` from 22.13.10 to 22.13.13
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/node"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1b98897 View commit details
  4. Bump the major group in /rust/kcl-language-server with 4 updates (#5966)

    * Bump the major group in /rust/kcl-language-server with 4 updates
    
    Bumps the major group in /rust/kcl-language-server with 4 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser), [@vscode/vsce](https://github.com/Microsoft/vsce) and [glob](https://github.com/isaacs/node-glob).
    
    
    Updates `@typescript-eslint/eslint-plugin` from 6.21.0 to 8.27.0
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.27.0/packages/eslint-plugin)
    
    Updates `@typescript-eslint/parser` from 6.21.0 to 8.27.0
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.27.0/packages/parser)
    
    Updates `@vscode/vsce` from 2.30.0 to 3.3.0
    - [Release notes](https://github.com/Microsoft/vsce/releases)
    - [Commits](microsoft/vscode-vsce@v2.30.0...v3.3.0)
    
    Updates `glob` from 10.4.5 to 11.0.1
    - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
    - [Commits](isaacs/node-glob@v10.4.5...v11.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: major
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: major
    - dependency-name: "@vscode/vsce"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: major
    - dependency-name: glob
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    dependabot[bot] and github-actions[bot] authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4dce161 View commit details
  5. Update 2020 snapshots after helix change (#5970)

    * Update 2020 snapshots after helix change
    
    * Another one :djkhaled:
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    pierremtb and github-actions[bot] authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c3e12e5 View commit details
  6. Use app token to sync 'all-e2e' branch (#5968)

    jacebrowning authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    65c455a View commit details
  7. Feature: Implement read write access checking on Project Directory an…

    …d report any issues in home page (#5676)
    
    * chore: skeleton to detect read write directories and if we have access to notify user
    
    * chore: adding buttont to easily change project directory
    
    * chore: cleaning up home page error bar layout and button
    
    * fix: adding clearer comments
    
    * fix: ugly console debugging but I need to save off progress
    
    * fix: removing project dir check on empty string
    
    * fix: debug progress to save off listProjects once. Still bugged...
    
    * fix: more hard coded debugging to get project loading optimizted
    
    * fix: yarp, we got another one bois
    
    * fix: cleaning up code
    
    * fix: massive bug comment to warn devs about chokidar bugs
    
    * fix: returning error instead of throwing
    
    * fix: cleaning up PR
    
    * fix: fixed loading the projects when the project directory changes
    
    * fix: remove testing code
    
    * fix: only skip directories if you can access the project directory since we don't need to view them
    
    * fix: unit tests, turning off noisey localhost vitest garbage
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * fix: deleted testing state
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
    Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
    4 people authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    fdeb2b3 View commit details
  8. Add edge and segment selection in point-and-click Helix flow (#5866)

    * WIP: Add edge and segment selection in point-and-click Helix flow
    Fixes #5393
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Working edge based helix edit
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Add utility function for shared code between revolve and helix
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Use updateModelingState in codemod
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Add skip: true for edge helix to be consistent with axis as options
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Add support for sweepEdge and tests
    
    * Lint
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Clean up snapshots
    
    * Fix up tests after ccw change
    
    * Use displayName: 'CounterClockWise' cause ccw not cutting it
    
    * Fix tsc
    
    * Update 2020 snapshots after helix change
    
    * Update 2020 snapshots after helix change
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Another one :djkhaled:
    
    * Clean up
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    pierremtb and github-actions[bot] authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    89dd4fb View commit details
  9. Extract extrude to variables and format onboarding code (#5949)

    * Extract extrude to variables and format onboarding code
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * add spaces between sketches and extrudes
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: jgomez720 <114548659+jgomez720@users.noreply.github.com>
    3 people authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7c9f124 View commit details
  10. Fix: Ignore KCL changes when loading settings and fixed useEffect to …

    …use .current (#5126)
    
    * fix: fixed use effect logic to use .current, fixed useEffect file watcher to not watch .kcl files when loading settings
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * bump
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * bump
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * bump
    
    * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
    
    * fix: merge wrote this back...
    
    * fix: deleted unused variable init
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * bump
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
    3 people authored Mar 24, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8c3408f View commit details

Commits on Mar 25, 2025

  1. Remove all tooltip delays throughout the app (#5969)

    franknoirot authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f7f7d9f View commit details
  2. Fix to update the code in the editor before executing (#5976)

    * Fix spelling
    
    * Fix to update the code in the editor before executing
    jtran authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    58dc338 View commit details
  3. Codify dependencies to run web end-to-end tests (#5926)

    jacebrowning authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    81f92bc View commit details
  4. Add utilities to check platform to determine if a test should run (#5983

    )
    
    * Add tests for utility to bypass unreliable tests
    
    * Limit skip to just Windows
    
    * Ignore unit tests from Playwright
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    jacebrowning and github-actions[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c28bad2 View commit details
  5. bump kcl friends (#5993)

    Signed-off-by: Jess Frazelle <github@jessfraz.com>
    jessfraz authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e4edffa View commit details
  6. [bug] Fix edit parameter flow and test (#5997)

    * Fix callstack blowup in edit flow
    
    * Avoid dumb timeout issue with command registration in test
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Use a safer way to wait for modeling command registration in test
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * De-flake create parameter test step
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    franknoirot and github-actions[bot] authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    41f45af View commit details
  7. Disable automated snapshot commits (#6002)

    jacebrowning authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c0cdcb1 View commit details
  8. ci: Fix e2e workflow to always use condition (#5994)

    Fix e2e workflow to always use condition
    jtran authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    58861cd View commit details
  9. Update main.kcl (#5989)

    * Update main.kcl
    
    Improving parameter naming in I beam
    
    * Update kcl-samples simulation test output
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Josh Gomez <114548659+jgomez720@users.noreply.github.com>
    3 people authored Mar 25, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a155656 View commit details

Commits on Mar 26, 2025

  1. Ignore unit tests when running Playwright Electron (#5996)

    * Ignore unit tests when running Playwright Electron
    
    * Skip a couple more Windows tests for now
    jacebrowning authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    736533a View commit details
  2. Give a warning when using per-project default units (#5956)

    * Give a warning when using per-project default units
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * Factor non-settings out of MetaSettings
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    
    * Fix formatting
    
    * Fix code pane e2e test
    
    * Fix callstack blowup in edit flow
    
    * Avoid dumb timeout issue with command registration in test
    
    * Use a safer way to wait for modeling command registration in test
    
    ---------
    
    Signed-off-by: Nick Cameron <nrc@ncameron.org>
    Co-authored-by: Nick Cameron <nrc@ncameron.org>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
    Co-authored-by: Frank Noirot <frankjohnson1993@gmail.com>
    5 people authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c53fa42 View commit details
  3. Add edit flow for point-and-click Chamfer and Fillet (#5946)

    * WIP: Add edit flow for Fillet
    Fixes #5521
    
    * Support sweepedge fillet and add edit tests
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Lint and cleanup
    
    * Add edit flow for Chamfer
    Fixes #5950
    
    * Change to shared prepareToEdit function
    
    * Clean up
    
    * Lint
    
    * Clean up of types and use of getEdgeCutConsumedCodeRef
    
    * Find pipeIndex instead of hardcode
    
    * Add error for non-pipe fillet and test it
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Fix lint
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Utility function to reduce code reuse across fillet and chamfer
    
    * Clean up test diff
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Lint
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Remove change not needed
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Fix typo in toast
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * Remove ['segment', 'sweepEdge'] const as it was causing some sort of circ dep
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    pierremtb and github-actions[bot] authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b6fe660 View commit details
  4. Prevent overwriting the commit status on main (#6009)

    jacebrowning authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0c4826c View commit details
  5. Bump KCL in prep for release (#6010)

    jtran authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    0677474 View commit details
  6. update all kcl-samples w/ format (#5999)

    jgomez720 authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    fa16fce View commit details
  7. Feature: Release named views to all users (#5814)

    * chore: cleanup to get named views released!
    
    * fix: fixed gizmo, client side camera sync and remove DEV flag
    
    * yarp
    
    * chore: implementing E2E tests for creating a named view
    
    * fix: cleaning up and commenting E2E tests for named views
    
    * fix: we did it bois, the skip ceral i zation bricked my E2E test :(
    
    * fix: auto formatter
    
    * fix: snapshot uuid matching because rust will randomly generate thme
    
    * fix: auto fmt
    
    * fix: trying to resolve typescript issues
    
    * fix: handling NamedView vs CameraViewState type checking
    
    * fix: no idea I just mapped export to 3d export because we have no 2d export yet...
    
    * fix: random file I wrote because my editor was too slow
    
    * fix: git merge did not do what I wanted
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * fix: linter errors
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    ---------
    
    Co-authored-by: 49fl <ircsurfer33@gmail.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
    4 people authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1753047 View commit details
  8. Set bot user info to amend commits (#6011)

    jacebrowning authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d27b887 View commit details
  9. Feature: Traditional menu actions in desktop application (#5892)

    * chore: skeleton for building and creating menus. Need electron to renderer interface to dynamically set the menu
    
    * chore: skeleton typing for communication between nodes and web side
    
    * chore: more skeleton for the different roles within the menu options, need more type safety
    
    * chore: adding more skeleton and templates of what the menus could be
    
    * chore: implemented first pass for helpRole links
    
    * fix: syntax issue stopped the build step
    
    * feature: loading different menus based on your page
    
    * feature: Home page file role implemented
    
    * chore: handling the build workflow for the signin page
    
    * fix: moving edit actionst to the edit menu
    
    * chore: adding preferences to the file role
    
    * chore: redoing help roles based on the question mark widget
    
    * fix: auto fmt
    
    * chore: examples of accelerator strings for Menu.MenuItems keyboard shortcuts!
    
    * chore: oddly specific toggle API for disabling MenuItems from JS. No rules!
    
    * fix: do not implement a custom label disable thingy, use id on menu and use the native APIga
    
    * fix: auto fmt
    
    * fix: adding some typechecks and auto fmt fixes
    
    * fix: trying to fix custom type?
    
    * fix: nvm we back, the lsp on my editor borked for a second
    
    * fix: adding one more level to the custom type for the labels
    
    * chore: cleaning up type definitions to read easier
    
    * fix: resolving yarn lint errors
    
    * chore: adding file sign out
    
    * chore: adding more file bar actions
    
    * chore: ready for PR draft
    
    * fix: preemptive GC collectoin bug fix if somehow a user interacts with a menu while it is being GCed
    
    * fix: linking the OG source
    
    * fix: set application menu to null to avoid default electron menu
    
    * chore: trying to add more typescript
    
    * chore: BIG workflow changes... better typing, less IPC junk
    
    * fix: remapping the icp functions to the cb option select...
    
    * chore: all og events are rehooked up with new workflow pattern
    
    * feat: adding more options to the native bar!
    
    * fix: todo
    
    * chore: cleaning up some menus and adding more
    
    * fix: desktop vs browser and lint errors
    
    * fix: typescript did not like sample electorn JS code for the basic templates with isMac conditionals...
    
    * fix: PR clean up
    
    * fix: more PR cleanup
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * fix: added the new help menu to the default sign in and modeling page
    
    * fix: disabled two menu actions within sign in page since they will not do anything.
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * fix: mergining main, auto fixes
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * fix: fixed ipc renderer off/remove listener bug
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * fix: report a bug to refresha and report a bug
    
    * fix: new type for webContents send payload that does not brick TS
    
    * fix: removing import file from url since it is not working in the command palette for manual user input
    
    * fix: removing old comment
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * chore: adding some E2E tests.
    
    * chore: added E2E tests for each file menu
    
    * fix: auto fixes
    
    * chore: adding more edit role E2E tests
    
    * chore: e2e test
    
    * chore: adding help role e2e test
    
    * A snapshot a day keeps the bugs away! 📷🐛
    
    * chore: e2e test for all the menu options you can interact with in the frontend
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    nadr0 and github-actions[bot] authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    bb98302 View commit details
  10. Fix error: unknown sketch function circle (#6012)

    jtran authored Mar 26, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4b2c745 View commit details
Showing 544 changed files with 107,048 additions and 42,547 deletions.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
source_up_if_exists

use flake .
21 changes: 12 additions & 9 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: E2E Tests
on:
push:
branches: [ main ]
branches:
- main
- all-e2e # this bypasses `fixme()` using `orRunWhenFullSuiteEnabled()`
pull_request:
schedule:
- cron: 0 * * * * # hourly
@@ -15,7 +17,6 @@ permissions:
pull-requests: write
actions: read


jobs:

conditions:
@@ -67,14 +68,16 @@ jobs:
- name: Display conditions
shell: bash
run: |
# For debugging purposes.
# For debugging purposes
set -euo pipefail
echo "GITHUB_REF: $GITHUB_REF"
echo "GITHUB_HEAD_REF: $GITHUB_HEAD_REF"
echo "GITHUB_BASE_REF: $GITHUB_BASE_REF"
echo "significant: ${{ steps.path-changes.outputs.significant }}"
echo "should-run: ${{ steps.should-run.outputs.should-run }}"
prepare-wasm:
# seperate job on Ubuntu to build or fetch the wasm blob once on the fastest runner
# separate job on Ubuntu to build or fetch the wasm blob once on the fastest runner
runs-on: runs-on=${{ github.run_id }}/family=i7ie.2xlarge/image=ubuntu22-full-x64
needs: conditions
steps:
@@ -159,7 +162,6 @@ jobs:
name: prepared-wasm
path: |
rust/kcl-wasm-lib/pkg/kcl_wasm_lib*
snapshots:
name: playwright:snapshots:ubuntu
@@ -243,7 +245,7 @@ jobs:
retention-days: 30
overwrite: true

- name: check for changes
- name: Check for changes
if: ${{ needs.conditions.outputs.should-run == 'true' && github.ref != 'refs/heads/main' }}
shell: bash
id: git-check
@@ -255,7 +257,8 @@ jobs:
fi
- name: Commit changes, if any
if: ${{ needs.conditions.outputs.should-run == 'true' && steps.git-check.outputs.modified == 'true' }}
# TODO: find a more reliable way to detect visual changes
if: ${{ false && needs.conditions.outputs.should-run == 'true' && steps.git-check.outputs.modified == 'true' }}
shell: bash
run: |
git add e2e/playwright/snapshot-tests.spec.ts-snapshots e2e/playwright/snapshots
@@ -341,7 +344,7 @@ jobs:
run: yarn tronb:vite:dev

- name: Install vector
if: contains(matrix.os, 'ubuntu')
if: ${{ needs.conditions.outputs.should-run == 'true' && contains(matrix.os, 'ubuntu') }}
shell: bash
run: |
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev > /tmp/vector.sh
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -141,13 +141,13 @@ jobs:
if: ${{ github.event_name != 'release' && github.event_name != 'schedule' }}
run: yarn playwright install chromium --with-deps

- name: run unit tests
- name: Run unit tests
if: ${{ github.event_name != 'release' && github.event_name != 'schedule' }}
run: xvfb-run -a yarn test:unit
env:
VITE_KC_DEV_TOKEN: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}

- name: check for changes
- name: Check for changes
if: ${{ github.event_name != 'release' && github.event_name != 'schedule' }}
id: git-check
run: |
28 changes: 22 additions & 6 deletions .github/workflows/update-e2e-branch.yml
Original file line number Diff line number Diff line change
@@ -14,16 +14,32 @@ permissions:
jobs:
update-branch:
runs-on: ubuntu-latest

steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.MODELING_APP_GH_APP_ID }}
private-key: ${{ secrets.MODELING_APP_GH_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@v4
- shell: bash
with:
token: ${{ steps.app-token.outputs.token }}

- name: Sync with main
run: |
# checkout our branch
# Create the branch
git checkout all-e2e || git checkout -b all-e2e
# fetch origin
# Reset to main
git fetch origin
# reset to main
git reset --hard origin/main
# force push it
# Get a new SHA to prevent overwriting the commit status on main
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit --amend --message="[all-e2e] $(git log --max-count=1 --pretty=%B)"
# Overwrite the branch
git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/${{ github.repository }}.git
git push --force origin all-e2e
32 changes: 23 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -20,8 +20,12 @@ $(WASM_PACK):
###############################################################################
# BUILD

RUST_SOURCES := $(wildcard rust/*) $(wildcard rust/**/*)
TYPESCRIPT_SOURCES := $(wildcard src/**/*.tsx) $(wildcard src/**/*.ts)
CARGO_SOURCES := rust/.cargo/config.toml $(wildcard rust/Cargo.*) $(wildcard rust/**/Cargo.*)
RUST_SOURCES := $(wildcard rust/**/*.rs)

REACT_SOURCES := $(wildcard src/*.tsx) $(wildcard src/**/*.tsx)
TYPESCRIPT_SOURCES := tsconfig.* $(wildcard src/*.ts) $(wildcard src/**/*.ts)
VITE_SOURCES := $(wildcard vite.*) $(wildcard vite/**/*.tsx)

.PHONY: build
build: build-web build-desktop
@@ -32,13 +36,13 @@ build-web: public/kcl_wasm_lib_bg.wasm build/index.html
.PHONY: build-desktop
build-desktop: public/kcl_wasm_lib_bg.wasm .vite/build/main.js

public/kcl_wasm_lib_bg.wasm: $(RUST_SOURCES)
public/kcl_wasm_lib_bg.wasm: $(CARGO_SOURCES)$(RUST_SOURCES)
yarn build:wasm

build/index.html: $(TYPESCRIPT_SOURCES)
build/index.html: $(REACT_SOURCES) $(TYPESCRIPT_SOURCES) $(VITE_SOURCES)
yarn build:local

.vite/build/main.js: $(TYPESCRIPT_SOURCES)
.vite/build/main.js: $(REACT_SOURCES) $(TYPESCRIPT_SOURCES) $(VITE_SOURCES)
yarn tronb:vite:dev

###############################################################################
@@ -73,19 +77,29 @@ run-desktop: install build-desktop ## Start the desktop app
###############################################################################
# TEST

GREP ?= ""
E2E_WORKERS ?= 1
E2E_FAILURES ?= 1
E2E_GREP ?= ""

.PHONY: test
test: test-unit test-e2e

.PHONY: test-unit
test-unit: install ## Run the unit tests
@ nc -z localhost 3000 || ( echo "Error: localhost:3000 not available, 'make run-web' first" && exit 1 )
@ curl -fs localhost:3000 >/dev/null || ( echo "Error: localhost:3000 not available, 'make run-web' first" && exit 1 )
yarn test:unit

.PHONY: test-e2e
test-e2e: install build-desktop ## Run the e2e tests
yarn test:playwright:electron --workers=1 --grep=$(GREP)
test-e2e: test-e2e-desktop

.PHONY: test-e2e-web
test-e2e-web: install build-web ## Run the web e2e tests
@ curl -fs localhost:3000 >/dev/null || ( echo "Error: localhost:3000 not available, 'make run-web' first" && exit 1 )
yarn chrome:test --headed --workers=$(E2E_WORKERS) --max-failures=$(E2E_FAILURES) --grep=$(E2E_GREP)

.PHONY: test-e2e-desktop
test-e2e-desktop: install build-desktop ## Run the desktop e2e tests
yarn test:playwright:electron --workers=$(E2E_WORKERS) --max-failures=$(E2E_FAILURES) --grep=$(E2E_GREP)

###############################################################################
# CLEAN
60 changes: 0 additions & 60 deletions docs/kcl/circle.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/kcl/circleThreePoint.md
Original file line number Diff line number Diff line change
@@ -10,10 +10,10 @@ Construct a circle derived from 3 points.

```js
circleThreePoint(
sketchSurfaceOrGroup: SketchOrSurface,
p1: [number],
p2: [number],
p3: [number],
sketchSurfaceOrGroup: SketchOrSurface,
tag?: TagDeclarator,
): Sketch
```
@@ -23,10 +23,10 @@ circleThreePoint(

| Name | Type | Description | Required |
|----------|------|-------------|----------|
| `sketchSurfaceOrGroup` | [`SketchOrSurface`](/docs/kcl/types/SketchOrSurface) | Plane or surface to sketch on. | Yes |
| `p1` | [`[number]`](/docs/kcl/types/number) | 1st point to derive the circle. | Yes |
| `p2` | [`[number]`](/docs/kcl/types/number) | 2nd point to derive the circle. | Yes |
| `p3` | [`[number]`](/docs/kcl/types/number) | 3rd point to derive the circle. | Yes |
| `sketchSurfaceOrGroup` | [`SketchOrSurface`](/docs/kcl/types/SketchOrSurface) | Plane or surface to sketch on. | Yes |
| [`tag`](/docs/kcl/types/tag) | [`TagDeclarator`](/docs/kcl/types#tag-declaration) | Identifier for the circle to reference elsewhere. | No |

### Returns
2 changes: 1 addition & 1 deletion docs/kcl/consts/std-math-E.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ std::math::E: number = 2.71828182845904523536028747135266250_
### Examples

```js
exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 30,
2 changes: 1 addition & 1 deletion docs/kcl/consts/std-math-PI.md
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ std::math::PI: number = 3.14159265358979323846264338327950288_
```js
circumference = 70

exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> circle(center = [0, 0], radius = circumference/ (2 * PI))

example = extrude(exampleSketch, length = 5)
2 changes: 1 addition & 1 deletion docs/kcl/consts/std-math-TAU.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ std::math::TAU: number = 6.28318530717958647692528676655900577_
### Examples

```js
exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 50,
2 changes: 1 addition & 1 deletion docs/kcl/helix.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/kcl/index.md
Original file line number Diff line number Diff line change
@@ -61,7 +61,6 @@ layout: manual
* [`bezierCurve`](kcl/bezierCurve)
* [`ceil`](kcl/ceil)
* [`chamfer`](kcl/chamfer)
* [`circle`](kcl/circle)
* [`circleThreePoint`](kcl/circleThreePoint)
* [`close`](kcl/close)
* [`cm`](kcl/cm)
@@ -145,3 +144,5 @@ layout: manual
* [`cos`](kcl/std-math-cos)
* [`sin`](kcl/std-math-sin)
* [`tan`](kcl/std-math-tan)
* **std::sketch**
* [`circle`](kcl/std-sketch-circle)
4 changes: 2 additions & 2 deletions docs/kcl/std-math-cos.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ Compute the cosine of a number (in radians).


```js
cos(num: number(rad)): number(_)
cos(@num: number(rad)): number(_)
```


@@ -27,7 +27,7 @@ cos(num: number(rad)): number(_)
### Examples

```js
exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 30,
4 changes: 2 additions & 2 deletions docs/kcl/std-math-sin.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ Compute the sine of a number (in radians).


```js
sin(num: number(rad)): number(_)
sin(@num: number(rad)): number(_)
```


@@ -27,7 +27,7 @@ sin(num: number(rad)): number(_)
### Examples

```js
exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 50,
4 changes: 2 additions & 2 deletions docs/kcl/std-math-tan.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ Compute the tangent of a number (in radians).


```js
tan(num: number(rad)): number(_)
tan(@num: number(rad)): number(_)
```


@@ -27,7 +27,7 @@ tan(num: number(rad)): number(_)
### Examples

```js
exampleSketch = startSketchOn("XZ")
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> angledLine({
angle = 50,
55 changes: 55 additions & 0 deletions docs/kcl/std-sketch-circle.md

Large diffs are not rendered by default.

Loading