Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nadro/4655/bug fixing #5031

Open
wants to merge 64 commits into
base: franknoirot/4655/trackball-camera-setting
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
a77fa63
Point-and-click deletion of lofts, shells, and offset planes (#4898)
pierremtb Jan 9, 2025
23a42f0
Bump @kittycad/lib to v2.0.13 (#4988)
franknoirot Jan 9, 2025
c9860af
Fix Shell point-and-click picking the wrong face with piped extrudes …
pierremtb Jan 10, 2025
3e615df
Update Katie's name reference and link in onboarding (#4967)
franknoirot Jan 10, 2025
4fa7d2d
Feature: new axis and edge selection workflow for point and click rev…
nadr0 Jan 10, 2025
9334d64
Allow under-development commands in Nightly builds (#4995)
pierremtb Jan 10, 2025
aed62ff
Fix flaky playwright test 'Shell point-and-click sketch on face' (#5002)
pierremtb Jan 10, 2025
96174f3
Increase playwright retries to 5 (#5000)
pierremtb Jan 10, 2025
2b0ba37
Use Chromium instead of Chrome for Playwright Electron (#5001)
pierremtb Jan 10, 2025
ec07a6f
fix: up vector bug fix and camera reset fix. Pushing code to cleanup …
nadr0 Jan 10, 2025
2452f35
fix: deleting debugging code
nadr0 Jan 10, 2025
340481d
fix: removing debugging code
nadr0 Jan 10, 2025
670f846
fix: removing debugging console log
nadr0 Jan 10, 2025
6261083
Make the test executor a bit more patient (#5004)
iterion Jan 11, 2025
013cb10
Fix so that all artifact commands are returned regardless of caching …
jtran Jan 11, 2025
c6fad2e
Add new lint to disallow use of confusing isNaN (#4999)
jtran Jan 11, 2025
ac4a6c8
Point-and-click Sweep (first PR) (#4989)
pierremtb Jan 11, 2025
363ae10
Upgrade typescript-eslint from 5.62.0 to 8.19.1 and remove eslint-con…
jtran Jan 11, 2025
da7dfa1
Fix lost lints and add new ones (#5011)
jtran Jan 13, 2025
5f9a488
Developer workflow: added auto generated workspace file from vitest e…
nadr0 Jan 13, 2025
0531ea1
Change Dependabot PRs to always be made on Mondays (#5025)
jtran Jan 13, 2025
3ce4585
fix: removing console log debugs
nadr0 Jan 13, 2025
27a534e
fix: adding comment, restoring code from debugging
nadr0 Jan 13, 2025
00b94ea
Add packages to Dependabot updates (#5024)
jtran Jan 13, 2025
a0c95f0
fix: removed lookAt when the orientation is already set from the engi…
nadr0 Jan 13, 2025
b313d26
Bump @lezer/generator from 1.7.1 to 1.7.2 (#5018)
dependabot[bot] Jan 13, 2025
fc66d47
Bump handlebars from 6.2.0 to 6.3.0 in /src/wasm-lib (#5012)
dependabot[bot] Jan 13, 2025
c35dea5
Bump syn from 2.0.95 to 2.0.96 in /src/wasm-lib (#5015)
dependabot[bot] Jan 13, 2025
b65f793
Fix artifact types to be more accurate (#5022)
jtran Jan 13, 2025
0a5f309
Fix Cargo.lock to not have changes (#5034)
jtran Jan 13, 2025
859afa2
Upgrade all wasm-bindgen dependencies together (#5037)
jtran Jan 13, 2025
7806377
Disable auto-updater on non-versioned builds (#5042)
pierremtb Jan 13, 2025
e828307
turns on helix from edge (#5036)
jessfraz Jan 13, 2025
702e322
ci: Add yarn test of packages/codemirror-lang-kcl (#5035)
jtran Jan 14, 2025
bf9d01a
Bump xstate from 5.17.4 to 5.19.2 (#5027)
dependabot[bot] Jan 14, 2025
9737c25
Hook up chamfer UI with AST-mod (#4694)
max-mrgrsk Jan 14, 2025
59103a2
Remove Redundant Fillet Button State Test (#5009)
max-mrgrsk Jan 14, 2025
f91ad43
Bump @types/node from 20.14.9 to 22.10.6 in /packages/codemirror-lsp-…
dependabot[bot] Jan 14, 2025
8b60f75
custom axis and origin example for helix (#5057)
jessfraz Jan 14, 2025
c0c5c79
Bump typescript from 5.7.2 to 5.7.3 (#5021)
dependabot[bot] Jan 14, 2025
38513a1
Fix broken golden standard tests caused by changes to kcl-samples (#5…
lf94 Jan 15, 2025
c147a21
Minor bits and pieces (#5066)
nrc Jan 16, 2025
d4e9552
Add helix icon and start of toolbar/feature tree impl (#5062)
franknoirot Jan 16, 2025
0a1a6e5
3-point circle interactive component (#4982)
lf94 Jan 16, 2025
3f855d7
Make commands disable, not unregister, based on their machineActor (#…
franknoirot Jan 16, 2025
842ef5e
Feature: Allow orbit in sketch mode via setting (#4990)
nadr0 Jan 16, 2025
9be208e
Fix wasm bundle upload (upload-artifact@v4) (#5084)
pierremtb Jan 16, 2025
412e956
Per-file units (use per-file settings for conversion functions) (#5064)
nrc Jan 16, 2025
7b11047
Fix helix sweep, you can make springs! (#5089)
jessfraz Jan 16, 2025
d049bf3
Return key to go through Onboarding steps (#5086)
pierremtb Jan 16, 2025
4ea1d16
Loft command prompt focus fix (#5080)
pierremtb Jan 16, 2025
c0817b0
Auto retry on yarn install as it sometimes fail on windows (#5077)
pierremtb Jan 16, 2025
31e4d60
Refactor Fillet Playwright Test to the new Fixture-based Approach (#4…
max-mrgrsk Jan 17, 2025
0592d3b
Selection dry-run validation for Shell (#4775)
pierremtb Jan 17, 2025
0698432
Rust artifact graph (#5068)
jtran Jan 17, 2025
dac91d3
Add uniqueness check to "Create project" command (#5100)
franknoirot Jan 17, 2025
ac3f7ab
Rust: Remove iai benchmark tests (#5102)
adamchalmers Jan 17, 2025
df81b76
Bug fix follow-up for create project (#5105)
franknoirot Jan 17, 2025
9a537da
Show toolbar tooltips on hover only, hide when dropdowns are open (#5…
franknoirot Jan 18, 2025
4d24bf7
Add API Call ID log for debugging (#5107)
iterion Jan 20, 2025
a022b8e
Fix suggestion for updating function decl syntax for anon functions (…
nrc Jan 21, 2025
965cb18
Parse units on numeric literals and keep them in the AST (#5061)
nrc Jan 21, 2025
302d4be
fix: merging main
nadr0 Jan 21, 2025
bfec84f
fix: this fixes the bug because I was pointing to the getter not the …
nadr0 Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
ignore-words-list: crate,everytime,inout,co-ordinate,ot,nwo,atleast,ue,afterall
ignore-words-list: crate,everytime,inout,co-ordinate,ot,nwo,atleast,ue,afterall,ser
skip: **/target,node_modules,build,dist,./out,**/Cargo.lock,./docs/kcl/*.md,.yarn.lock,**/yarn.lock,./openapi/*.json,./packages/codemirror-lang-kcl/test/all.test.ts,tsconfig.tsbuildinfo
28 changes: 25 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,32 @@
},
"plugins": [
"css-modules",
"jest",
"jsx-a11y",
"react",
"react-hooks",
"suggest-no-throw",
"testing-library",
"@typescript-eslint"
],
"extends": [
"react-app",
"react-app/jest",
"plugin:css-modules/recommended"
"plugin:css-modules/recommended",
"plugin:jsx-a11y/recommended",
"plugin:react-hooks/recommended"
],
"rules": {
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-promises": "error",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"no-restricted-globals": [
"error",
{
"name": "isNaN",
"message": "Use Number.isNaN() instead."
}
],
"semi": [
"error",
"never"
Expand All @@ -25,6 +41,9 @@
"overrides": [
{
"files": ["e2e/**/*.ts"], // Update the pattern based on your file structure
"extends": [
"plugin:testing-library/react"
],
"rules": {
"suggest-no-throw/suggest-no-throw": "off",
"testing-library/prefer-screen-queries": "off",
Expand All @@ -33,6 +52,9 @@
},
{
"files": ["src/**/*.test.ts"],
"extends": [
"plugin:testing-library/react"
],
"rules": {
"suggest-no-throw/suggest-no-throw": "off",
}
Expand Down
2 changes: 1 addition & 1 deletion .github/ci-cd-scripts/playwright-electron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [[ ! -f "test-results/.last-run.json" ]]; then
fi

retry=1
max_retrys=4
max_retrys=5

# retry failed tests, doing our own retries because using inbuilt playwright retries causes connection issues
while [[ $retry -le $max_retrys ]]; do
Expand Down
17 changes: 13 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,36 @@
version: 2
updates:
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
directories:
- '/'
- '/packages/codemirror-lang-kcl/'
- '/packages/codemirror-lsp-client/'
schedule:
interval: 'weekly'
interval: weekly
day: monday
reviewers:
- franknoirot
- irev-dev
- package-ecosystem: 'github-actions' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: 'weekly'
interval: weekly
day: monday
reviewers:
- adamchalmers
- jessfraz
- package-ecosystem: 'cargo' # See documentation for possible values
directory: '/src/wasm-lib/' # Location of package manifests
schedule:
interval: 'weekly'
interval: weekly
day: monday
reviewers:
- adamchalmers
- jessfraz
groups:
serde-dependencies:
patterns:
- "serde*"
wasm-bindgen-deps:
patterns:
- "wasm-bindgen*"
2 changes: 1 addition & 1 deletion .github/workflows/build-and-store-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:


# Upload the WASM bundle as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wasm-bundle
path: src/wasm-lib/pkg
8 changes: 7 additions & 1 deletion .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,13 @@ jobs:
node-version-file: '.nvmrc'
cache: 'yarn' # Set this to npm, yarn or pnpm.

- run: yarn install
- name: yarn install
# Windows is picky sometimes and fails on fetch. Step takes about ~30s
uses: nick-fields/[email protected]
with:
timeout_minutes: 2
max_attempts: 3
command: yarn install

- run: yarn tronb:vite

Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/cargo-bench.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/codemirror-lang-kcl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CodeMirror Lang KCL

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
yarn-unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install
working-directory: packages/codemirror-lang-kcl

- run: yarn tsc
working-directory: packages/codemirror-lang-kcl

- name: run unit tests
run: yarn test
working-directory: packages/codemirror-lang-kcl
2 changes: 0 additions & 2 deletions docs/kcl/KNOWN-ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ once fixed in engine will just start working here with no language changes.
chamfer cases work currently.

- **Appearance**: Changing the appearance on a loft does not work.

- **Helix**: Currently sweeping a helix does not work.
51 changes: 46 additions & 5 deletions docs/kcl/helix.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/kcl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ layout: manual
* [`hollow`](kcl/hollow)
* [`import`](kcl/import)
* [`inch`](kcl/inch)
* [`int`](kcl/int)
* [`lastSegX`](kcl/lastSegX)
* [`lastSegY`](kcl/lastSegY)
* [`legAngX`](kcl/legAngX)
Expand Down
2 changes: 2 additions & 0 deletions docs/kcl/int.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ excerpt: "Convert a number to an integer."
layout: manual
---

**WARNING:** This function is deprecated.

Convert a number to an integer.

DEPRECATED use floor(), ceil(), or round().
Expand Down
Loading