Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3764 commits
Select commit Hold shift + click to select a range
9e0e7ba
code cleanup and fix eslint issues
Steve-KX-RL Apr 11, 2024
435917d
Initially don't show AI chatbot
Steve-KX-RL Apr 11, 2024
82675fe
Bump @vitest/coverage-v8 from 1.4.0 to 1.5.0
dependabot[bot] Apr 12, 2024
b698ed0
Merge remote-tracking branch 'remotes/origin/main' into global_scale
ptc-rdeleeuw Apr 12, 2024
265b68a
code cleanups
Steve-KX-RL Apr 12, 2024
afef6af
adding webxr button and started testing on vision pro
ptc-rdeleeuw Apr 15, 2024
d00f67d
merged main into feature
ktheo-ptc Apr 15, 2024
e8e914c
amended branch with correct code from prior merge commit
ktheo-ptc Apr 15, 2024
0431d6d
Clean up various uses of `port` and APIs that want `port`
hobinjk-ptc Apr 15, 2024
99a1463
code cleanup, rename map.js, event triggering redo
Steve-KX-RL Apr 15, 2024
1801db5
Merge remote-tracking branch 'origin/main' into azure-openai-integrat…
Steve-KX-RL Apr 15, 2024
d2d801f
Update index.js
Steve-KX-RL Apr 15, 2024
2209fb7
Merge pull request #670 from ptcrealitylab/notification-bug-fix
ktheo-ptc Apr 15, 2024
f5759f6
Merge pull request #690 from ptcrealitylab/azure-openai-integration-3
Steve-KX-RL Apr 15, 2024
8b4050e
fixed depth buffer issue on vision pro 1.1 by enabling anti aliasing
ptc-rdeleeuw Apr 16, 2024
b601345
fix eslint issues
ptc-rdeleeuw Apr 16, 2024
9cdc526
Update AI module to use cloud-proxy-based language service
dangond-ptc Apr 16, 2024
e60e3da
Merge pull request #696 from ptcrealitylab/language-service
dangond-ptc Apr 16, 2024
773dec2
added creation of notification container and adjusted style
ktheo-ptc Apr 16, 2024
6bc656c
Merge pull request #697 from ptcrealitylab/add-notification-container
ktheo-ptc Apr 16, 2024
f76083c
code cleanup
ptc-rdeleeuw Apr 18, 2024
508d5a5
disable webxr in native app
ptc-rdeleeuw Apr 18, 2024
6648bd9
changed more raycasting code to be compatible with the device and sce…
ptc-rdeleeuw Apr 19, 2024
18b0c17
Bump @microsoft/teams-js from 2.21.0 to 2.22.0
dependabot[bot] Apr 12, 2024
d619dd9
Bump vite from 5.2.8 to 5.2.10
dependabot[bot] Apr 22, 2024
41748ec
added vr button into develop menu
ptc-rdeleeuw Apr 22, 2024
e8c6616
Merge pull request #695 from ptcrealitylab/global_scale
ptc-rdeleeuw Apr 22, 2024
694c411
Hide video player when closing; Don't hide when hovering
hobinjk-ptc Apr 22, 2024
0f984d5
Keep showhide button text in sync on envelope open
hobinjk-ptc Apr 22, 2024
847a220
Add serverUrl to pose tracking api
hobinjk-ptc Apr 23, 2024
8e3604c
Fixed measurement tool cloth simulation
Steve-KX-RL Apr 25, 2024
acf6da5
Bump @vitest/coverage-v8 from 1.5.0 to 1.5.2
dependabot[bot] Apr 25, 2024
bb74339
fixes bug where analytics tool doesnt delete properly if you add it, …
benptc Apr 26, 2024
6510590
Merge pull request #706 from benptc/fix-delete-empty-analytics-tool
benptc Apr 26, 2024
e94bf43
GS Raycasting
Steve-KX-RL Apr 29, 2024
4821395
Hide videoPlayer's camera mesh along with its point cloud
hobinjk-ptc Apr 29, 2024
417804c
Bump @vitest/coverage-v8 from 1.5.2 to 1.5.3
dependabot[bot] Apr 30, 2024
6c54cd9
code cleanup
Steve-KX-RL May 1, 2024
ead6db3
Merge remote-tracking branch 'origin/main' into gs-upload-test-5
Steve-KX-RL May 1, 2024
bcab740
Merge pull request #708 from ptcrealitylab/gs-upload-test-5
Steve-KX-RL May 1, 2024
2a8bcc5
Bump vite from 5.2.10 to 5.2.11
dependabot[bot] May 2, 2024
fd47f36
Bump jsdoc from 4.0.2 to 4.0.3
dependabot[bot] May 2, 2024
6dd84c5
Fully rehydrate last motion study data if available
hobinjk-ptc Apr 30, 2024
3163488
Harvest removed regionCard for data
hobinjk-ptc Apr 30, 2024
e1b49b7
Revert to previous label update logic
hobinjk-ptc May 2, 2024
2c5d44d
Broaden same-region-card logic to include label
hobinjk-ptc May 2, 2024
b21343f
Keep pinned region cards sorted by start time
hobinjk-ptc May 2, 2024
76a3e3c
Add regionCard.updated to allow removing remotely-deleted cards
hobinjk-ptc May 3, 2024
c6a6b28
Bump @vitest/coverage-v8 from 1.5.3 to 1.6.0
dependabot[bot] May 6, 2024
d040bef
Added interface for person anonymisation.
ptc-mklaudiny May 8, 2024
ffe9812
Stops human tracking when analytics tool is closed. This removes some…
ptc-mklaudiny May 8, 2024
bf61e04
Merge branch 'main' into human_analytics_extra_data_from_reba
ptc-mklaudiny May 8, 2024
02b7329
Add part of solution for portrait videos; Flip iPad video to match te…
hobinjk-ptc May 2, 2024
0ed8d50
Add portrait detection based on new orientation field
hobinjk-ptc May 6, 2024
3ef7b10
Adds back controls
hobinjk-ptc May 6, 2024
c7e3406
Merge pull request #717 from ptcrealitylab/human_tracking_toggle_anon…
ptc-mklaudiny May 8, 2024
cb70007
Extracted common ergonomics data from reba calculation.
ptc-mklaudiny May 9, 2024
dbbd9b2
Update virtualizer recording callbacks
hobinjk-ptc May 3, 2024
6783f4b
Used more orientations from ergnomics data in reba calculation.
ptc-mklaudiny May 10, 2024
57b23a6
Moved calculation of ergonomics angles and 3D offsets from REBA calcu…
ptc-mklaudiny May 10, 2024
1be4913
Improved calculation of angles related to hands.
ptc-mklaudiny May 12, 2024
69964ae
Added trunk front bend angle.
ptc-mklaudiny May 13, 2024
6756adc
Merge branch 'main' into human_analytics_extra_data_from_reba
ptc-mklaudiny May 13, 2024
82c0f51
Added decomposition of bend/raise angles to front/side components for…
ptc-mklaudiny May 14, 2024
0db0035
Added calculation of 3d offsets for checking reaching by hands.
ptc-mklaudiny May 14, 2024
1907b8e
Moved application of joint validity flag from reba score calculation …
ptc-mklaudiny May 14, 2024
a5b7b06
Passed base ergonomic data to Pose.metadata for future exports.
ptc-mklaudiny May 14, 2024
997d327
Fixed unused variables.
ptc-mklaudiny May 15, 2024
cec1faa
Added custom REBA configuration which behaves closer to MURI of Volvo…
ptc-mklaudiny May 15, 2024
2c9613c
Merge pull request #719 from ptcrealitylab/human_analytics_extra_data…
ptc-mklaudiny May 15, 2024
7e43157
Fixed minor things for improved consistency and clarity.
ptc-mklaudiny May 16, 2024
0482c1a
Added initial version of Muri calculation (trunk is only full example).
ptc-mklaudiny May 20, 2024
f43d210
Added lens for Muri ergonomic assessment. Moved storing base ergonomi…
ptc-mklaudiny May 20, 2024
774e497
Finished initial version of Muri scoring for all types of strain.
ptc-mklaudiny May 22, 2024
db78a78
Added MURI score to region cards.
ptc-mklaudiny May 22, 2024
649673a
Added sum and sample count in REBA and MURI stats (this is useful whe…
ptc-mklaudiny May 22, 2024
0cd9a23
Added calculation of extra stats for muri scores.
ptc-mklaudiny May 22, 2024
009f584
Added calculation of histogram for score levels for individual Muri s…
ptc-mklaudiny May 24, 2024
c7b923c
Added correction for instability in calculation of some ergonomic ang…
ptc-mklaudiny May 26, 2024
59da7d2
Added fix for lower arm twist. It is not calculated when rotation axi…
ptc-mklaudiny May 26, 2024
d238a04
Added total stats over all steps to CSV export.
ptc-mklaudiny May 27, 2024
80c4eeb
Clarified calculation of MAX_MURI_SCORE.
ptc-mklaudiny May 29, 2024
aae4ef7
Merge pull request #722 from ptcrealitylab/human_analytics_muri_score
ptc-mklaudiny May 29, 2024
e1f19a2
Bump vite from 5.2.11 to 5.2.12
dependabot[bot] May 29, 2024
e9e8626
Toggle raycast on gaussian splatting in Developer's menu
Steve-KX-RL May 30, 2024
b71623f
Improved twist calculation for lower arm.
ptc-mklaudiny Jun 9, 2024
41508ec
Improved twist calculation for trunk.
ptc-mklaudiny Jun 9, 2024
0612c8d
Improved twist calculation for head.
ptc-mklaudiny Jun 9, 2024
d2203fb
Bump vite from 5.2.12 to 5.2.13
dependabot[bot] Jun 10, 2024
992f854
Improved names of some variables.
ptc-mklaudiny Jun 10, 2024
465b765
Merge pull request #726 from ptcrealitylab/human_analytics_twist_fix
ptc-mklaudiny Jun 11, 2024
935daa7
Bump vite from 5.2.13 to 5.3.1
dependabot[bot] Jun 14, 2024
bf0390d
Add raycasting against tools
dangond-ptc Jun 24, 2024
5fdf375
Merge pull request #732 from ptcrealitylab/toolRaycast
dangond-ptc Jun 24, 2024
8ad6c65
Now ignores promise rejections from tools instead of throwing an error
dangond-ptc Jun 24, 2024
a63012c
Merge pull request #733 from ptcrealitylab/raycastPromiseErrorHandling
dangond-ptc Jun 24, 2024
f485b14
Bump toolsocket to 2.1.2
dangond-ptc Jun 24, 2024
930dd9a
bump up z index of pointer lines to be above 3d tool content
benptc Jun 24, 2024
6da377b
keep glcanvas at same zindex for now
benptc Jun 24, 2024
d125443
Spatial cursor now raycasts against tools
dangond-ptc Jun 24, 2024
bdf5234
Merge pull request #734 from benptc/spatial-pointer-z-index
benptc Jun 24, 2024
35eece1
Merge pull request #735 from ptcrealitylab/cursorRaycastTools
dangond-ptc Jun 24, 2024
cc9ad43
Added ability to ignore frame raycasts for spatial cursor
dangond-ptc Jun 25, 2024
9fe7fe3
remove ai references, which are moved to spatial-ai-addon. adds full2…
benptc Jun 26, 2024
036f1c9
Re-enable frameNeedsToBeRendered in iOS app
hobinjk-ptc Jun 26, 2024
2c329af
remove ai dom elements from html - they get added programmatically in…
benptc Jun 26, 2024
9f19c7f
remove full2d menu ui for this commit - will reintroduce in a separat…
benptc Jun 26, 2024
82e9dc6
remove src/assistant files
benptc Jun 28, 2024
713556e
Bump vite from 5.3.1 to 5.3.2
dependabot[bot] Jun 28, 2024
d73ff86
fixes the hover lines from recentlyUsedBar to work with ai-addon
benptc Jun 28, 2024
c5472ba
Merge pull request #737 from benptc/ai-refactor
benptc Jun 28, 2024
1f8068d
Fix lint errors
hobinjk-ptc Jul 1, 2024
92cca2c
Bump vite from 5.3.2 to 5.3.3
dependabot[bot] Jul 3, 2024
d89e9a8
Bump vitest and @vitest/coverage-v8
dependabot[bot] Jul 9, 2024
199206b
adds captureScreenshot APIs to Splatting.js
benptc Jul 10, 2024
c8fb501
add options to pendingCapture for getting splat screenshot
benptc Jul 11, 2024
7536e7e
add captureScreenshot to Splatting and threejsScene, using promise-re…
benptc Jul 12, 2024
d569de8
Bump @vitest/coverage-v8 from 2.0.1 to 2.0.3
dependabot[bot] Jul 15, 2024
6ed93d9
Bump vite from 5.3.3 to 5.3.4
dependabot[bot] Jul 16, 2024
dab0271
Initial Table View
dangond-ptc Jun 20, 2024
2b9bf6f
Joint and step selection via tableview. Also per-lens tables
dangond-ptc Jul 18, 2024
9f45102
Removed obsolete TODOs
dangond-ptc Jul 18, 2024
370daf6
Merge pull request #749 from ptcrealitylab/tableView
dangond-ptc Jul 19, 2024
9c528ae
refactor duplicated screenshot code from threejsScene and splatting i…
benptc Jul 19, 2024
d44c5e1
update documentation of sceneCapture
benptc Jul 19, 2024
3aba373
Merge pull request #745 from benptc/camera-perspective-memory-bar
benptc Jul 19, 2024
5e99db6
calculate avatar beam endpoint using groundplane even if no occlusion…
benptc Jul 19, 2024
0434dec
comment out outdated ai api key sync line
benptc Jul 19, 2024
43250fa
reformat fixed avatar raycast function
benptc Jul 19, 2024
fadaa4f
Bump @vitest/coverage-v8 from 2.0.3 to 2.0.4
dependabot[bot] Jul 22, 2024
6a22299
Merge pull request #751 from benptc/fix-empty-world-beam-sync
benptc Jul 23, 2024
c7e6370
Bump vite from 5.3.4 to 5.3.5
dependabot[bot] Jul 25, 2024
a72ae3a
Spatial cursor rendering no longer raycasts against frames to avoid l…
dangond-ptc Jul 25, 2024
f087069
adds full2D API with showWindowTitleBar that allows native interactions
benptc Jul 25, 2024
6704901
improve documentation for full2d windowed tool / title bar functions
benptc Jul 25, 2024
a4ca9c8
Merge pull request #754 from benptc/full2d-cover
benptc Jul 25, 2024
e6ab711
Add buttons to iframe-broadcasted pointer event
hobinjk-ptc Aug 5, 2024
f7c7d76
Fix lint errors
hobinjk-ptc Aug 5, 2024
d43e51a
Bump @vitest/coverage-v8 from 2.0.4 to 2.0.5
dependabot[bot] Aug 5, 2024
d85bf5f
remove sendAiApiKeys since keys will be handled entirely on the backe…
benptc Aug 5, 2024
aa46d9e
Merge branch 'main' into language-service-refactor
benptc Aug 5, 2024
1ae0cd4
Update Splatting.js
Steve-KX-RL Aug 6, 2024
4122898
small lint error
Steve-KX-RL Aug 6, 2024
283acf3
Merge pull request #759 from benptc/language-service-refactor
benptc Aug 6, 2024
2c40ef3
Merge remote-tracking branch 'origin/main' into GS-raycasting-smooth-…
Steve-KX-RL Aug 6, 2024
e1b76c0
Refactor all math functions to MathUtils.js
Steve-KX-RL Aug 6, 2024
97568c1
Update MathUtils.js
Steve-KX-RL Aug 6, 2024
833213c
Merge pull request #760 from ptcrealitylab/GS-raycasting-smooth-cursor
Steve-KX-RL Aug 7, 2024
7626332
Bump @microsoft/teams-js from 2.22.0 to 2.26.0
dependabot[bot] Aug 8, 2024
6bea9fb
Bump vite from 5.3.5 to 5.4.0
dependabot[bot] Aug 8, 2024
83c8bc3
improve the window.resize event to trigger if userinterface is in an …
benptc Aug 8, 2024
85a63af
remove log message from resize
benptc Aug 8, 2024
e15190a
updates avatar raycast to raycast against CAD models in tools, while …
benptc Jul 30, 2024
f909758
Bump vite from 5.4.0 to 5.4.1
dependabot[bot] Aug 16, 2024
f80c752
only write navmesh to localstorage if it is less than a certain size
benptc Aug 20, 2024
2920b06
adds extra error handling to navmesh writing to localStorage
benptc Aug 20, 2024
69fe40f
cleanup documentation of navmesh localstorage write attempt
benptc Aug 20, 2024
47fa37d
refactors the async part of setBeamOn into prepareBeamToSend
benptc Aug 20, 2024
6f3febb
remove unnecessary async designations
benptc Aug 20, 2024
88f2f5d
Merge pull request #767 from benptc/navmesh-local-storage-cap
benptc Aug 20, 2024
6bc67b4
Merge pull request #756 from ptcrealitylab/raycast-beams-against-cad-…
benptc Aug 20, 2024
a293676
adds a rateLimitFps parameter to broadcasting the avatar position, wh…
benptc Aug 20, 2024
6856798
Added coloring to the analytics table view and explanatory images to …
dangond-ptc Aug 20, 2024
9ddc126
Remove trailing whitespace
dangond-ptc Aug 20, 2024
add7ae1
cleanup avatar lockOn optimization
benptc Aug 20, 2024
c1dbca5
Merge pull request #768 from ptcrealitylab/tableViewColoring
dangond-ptc Aug 20, 2024
76688e3
Bump vite from 5.4.1 to 5.4.2
dependabot[bot] Aug 21, 2024
122a0ae
Merge pull request #770 from benptc/optimize-lockOnMode
benptc Aug 26, 2024
6ef3126
adds a button if anyone is following you, which you can click to stop…
benptc Aug 28, 2024
68cb598
cleanup implementation of All Stop Following Me feature, so it lives …
benptc Aug 28, 2024
5d30158
fix bug in cleaned up leaderUI
benptc Aug 28, 2024
bf0e516
add cursor:pointer to leaderUI stop button
benptc Aug 29, 2024
3936b99
Merge pull request #772 from ptcrealitylab/stop-follow-button
benptc Aug 29, 2024
7e3dea7
Bump @microsoft/teams-js from 2.26.0 to 2.27.0
dependabot[bot] Aug 29, 2024
a4ad0af
Bump vite from 5.4.2 to 5.4.3
dependabot[bot] Sep 4, 2024
a9aec87
Bump @microsoft/teams-js from 2.27.0 to 2.28.0
dependabot[bot] Sep 4, 2024
7181cdb
lower the rate of sending avatar position/cursor/beam updates when ma…
benptc Sep 4, 2024
26cef4f
Merge pull request #776 from benptc/optimize-avatar-data-send-rate
benptc Sep 4, 2024
4f671e8
Bump vite from 5.4.3 to 5.4.4
dependabot[bot] Sep 11, 2024
e7f24a8
Bump vite from 5.4.4 to 5.4.5
dependabot[bot] Sep 13, 2024
307504f
Bump @vitest/coverage-v8 from 2.0.5 to 2.1.0
dependabot[bot] Sep 13, 2024
5cd9237
Bump @vitest/coverage-v8 from 2.1.0 to 2.1.1
dependabot[bot] Sep 16, 2024
f9b6c64
Bump vite from 5.4.5 to 5.4.6
dependabot[bot] Sep 17, 2024
6809796
Bump vite from 5.4.6 to 5.4.7
dependabot[bot] Sep 23, 2024
88fbbf9
Bump rollup from 4.21.0 to 4.22.4
dependabot[bot] Sep 24, 2024
b0f993b
Bump vite from 5.4.7 to 5.4.8
dependabot[bot] Sep 25, 2024
6a6eb61
Integrate MPMLink
hobinjk-ptc May 6, 2024
d2f57f0
Clean up whitespace
hobinjk-ptc Jun 6, 2024
0e6ce35
Refactor out color variables
hobinjk-ptc Jun 6, 2024
1341345
Wire up motionStudy sensors
hobinjk-ptc Jun 6, 2024
3ddc4c2
Add get/setTitle
hobinjk-ptc Jun 10, 2024
f47d97c
Add updateSummarizedState
hobinjk-ptc Jun 10, 2024
e9f482f
Add summary of timeline
hobinjk-ptc Jun 11, 2024
886de64
Guard export link generation; Reflect missing export link data in UI
hobinjk-ptc Jun 11, 2024
3a1118a
Update setSensor API
hobinjk-ptc Jun 13, 2024
b8f0146
Add isPointInsideWalls helper
hobinjk-ptc Jun 13, 2024
6e5b11d
Add LensProvider to manage a global list of lens creation functions
hobinjk-ptc Jun 13, 2024
acfff47
Allow associating region card with WC operation based on label
hobinjk-ptc Jun 24, 2024
fb56740
Wire up new operation attributes
hobinjk-ptc Jun 24, 2024
ac44ea1
Add experimental sensor-from-regionCard flow
hobinjk-ptc Jun 24, 2024
cf0ebd3
Adjust import button label
hobinjk-ptc Jun 25, 2024
4d53ab3
Sort operations
hobinjk-ptc Jun 25, 2024
f483abd
Fix MPMLink value formatting
hobinjk-ptc Jun 25, 2024
8cc1dd6
Wire up create step sensors button
hobinjk-ptc Jun 25, 2024
5e82041
Improve video url validation
hobinjk-ptc Jun 25, 2024
71141d9
WIP: hardcode process plan retrieval
hobinjk-ptc Jun 25, 2024
4354fb7
Fix testing
hobinjk-ptc Jul 1, 2024
dd5d138
Adjust hull calculation to be smaller
hobinjk-ptc Jul 1, 2024
b86aa80
Rename region card proc. plan section
hobinjk-ptc Jul 1, 2024
5cafdd4
Dynamically hide region card sections based on lens
hobinjk-ptc Jul 1, 2024
8592789
Store and propagate sensor color
hobinjk-ptc Jul 1, 2024
129c075
Guard against missing ai functionality
hobinjk-ptc Jul 1, 2024
4885a7b
Factor processing time into planned duration
hobinjk-ptc Jul 2, 2024
cae8fa6
WIP: aligned mean joint position error
hobinjk-ptc Jul 18, 2024
323e1c5
WIP: hook up active lens
hobinjk-ptc Jul 18, 2024
fe93764
Disable always scoring poses
hobinjk-ptc Aug 5, 2024
5bc2121
Provide pose to new spatial sensors
hobinjk-ptc Aug 5, 2024
689f7f6
Add ability to synchronize playback of matching region cards
hobinjk-ptc Aug 6, 2024
c3fbd9f
Fix initial active lens
hobinjk-ptc Sep 6, 2024
d46e49a
Allow passing null textures to bindTexture
hobinjk-ptc Sep 9, 2024
819467e
Remove unused FBXLoader
hobinjk-ptc Sep 18, 2024
8348b31
Fix strict mode violation
hobinjk-ptc Sep 18, 2024
7c37752
Add exclusions to coverage calculation
hobinjk-ptc Sep 18, 2024
2969b44
Disable controls if they'd be rotated out of wack
hobinjk-ptc Sep 30, 2024
2473ec5
Moderately clean up code
hobinjk-ptc Oct 1, 2024
6bc3c4b
Clean up logging
hobinjk-ptc Oct 1, 2024
d2230e1
Fix typo
hobinjk-ptc Oct 1, 2024
9fd282a
Bump @vitest/coverage-v8 from 2.1.1 to 2.1.2
dependabot[bot] Oct 3, 2024
256ed90
Support loading plans by name
hobinjk-ptc Oct 3, 2024
24d6779
Prefer using setTitle over direct access
hobinjk-ptc Oct 4, 2024
9e47217
Only overwrite title if title changed
hobinjk-ptc Oct 4, 2024
7bedc40
Only setPoses if poses change; Always setWindchillData
hobinjk-ptc Oct 4, 2024
1216fa2
Guard against missing poses/values
hobinjk-ptc Oct 4, 2024
009ad88
Micro-optimize rgba functions
hobinjk-ptc Oct 4, 2024
ff28e4a
Optimize drawSensors when there are no sensors
hobinjk-ptc Oct 4, 2024
a0dd29e
Guard against missing sensors entirely
hobinjk-ptc Oct 7, 2024
c0ef98b
Table View now blocks keyboard shortcuts, updates colors, scrolls to …
dangond-ptc Oct 7, 2024
0dc93a7
Removed blocking approach to ensuring keypresses don't trigger shortc…
dangond-ptc Oct 7, 2024
9c27ccf
Merge pull request #793 from ptcrealitylab/tableViewImprovements
dangond-ptc Oct 7, 2024
a0a2d8e
Improve updateSummarizedState guard
hobinjk-ptc Oct 9, 2024
be32670
Bump @microsoft/teams-js from 2.28.0 to 2.29.0
dependabot[bot] Oct 7, 2024
fff9bbd
Add Value/Waste time to csv export
hobinjk-ptc Oct 14, 2024
89ceb16
Wrap region card label in quotes to make it csv-safe
hobinjk-ptc Oct 14, 2024
c169bc1
Truncate numbers in csv export
hobinjk-ptc Oct 14, 2024
67a9f65
Bump @vitest/coverage-v8 from 2.1.2 to 2.1.3
dependabot[bot] Oct 15, 2024
df5d562
Bump vite from 5.4.8 to 5.4.9
dependabot[bot] Oct 15, 2024
0321bf8
Bump ml-matrix from 6.11.1 to 6.12.0
dependabot[bot] Oct 16, 2024
4b532e2
Fix infinite loop in sorting function
hobinjk-ptc Oct 18, 2024
444a09b
Bump jsdoc from 4.0.3 to 4.0.4
dependabot[bot] Oct 21, 2024
1f54b55
Bump @microsoft/teams-js from 2.29.0 to 2.30.0
dependabot[bot] Oct 22, 2024
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
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = false

[*.{js,css,html}]
indent_style = space
indent_size = 4

[{.*,package.json,.travis.yml}]
indent_style = space
indent_size = 2
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
thirdPartyCode/
frames/resources/
frames/pushMe.hyperesources/
frames/objectDefaultFiles/pep.min.js
docs/
dist/
.eslintrc.js
99 changes: 99 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
module.exports = {
"env": {
"browser": true,
"es2020": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"Stats": "readonly",

"Block": "writable",
"BlockLink": "writable",
"CRAFTING_GRID_HEIGHT": "writable",
"CRAFTING_GRID_WIDTH": "writable",
"DEBUG_DATACRAFTING": "writable",
"Frame": "writable",
"Logic": "writable",
"LogicGUIState": "writable",
"Objects": "writable",
"SEA3D": "writable",
"TEMP_DISABLE_MEMORIES": "writable",
"THREE": "writable",
"ToolSocket": "writable",
"TWEEN": "writable",
"WebKitPoint": "writable",
"acceptUDPBeats": "writable",
"boundListeners": "writable",
"cc": "writable",
"cout": "writable",
"createNameSpace": "writable",
"d3": "writable",
"editingAnimationsMatrix": "writable",
"globalCanvas": "writable",
"globalDOMCache": "writable",
"globalProgram": "writable",
"globalFrameScaleAdjustment": "writable",
"globalNodeScaleAdjustment": "writable",
"globalStates": "writable",
"httpPort": "writable",
"defaultHttpPort": "writable",
"hull": "writable",
"io": "writable",
"objects": "writable",
"overlayDiv": "writable",
"overlayDiv2": "writable",
"p5": "writable",
"pocketBegin": "writable",
"pocketDropAnimation": "writable",
"pocketFrame": "writable",
"pocketItem": "writable",
"pocketItemId": "writable",
"pocketNode": "writable",
"publicDataCache": "writable",
"realityEditor": "writable",
"realityElements": "writable",
"rotateX": "writable",
"rotationXMatrix": "writable",
"rr": "writable",
"shadowObjects": "writable",
"targetDownloadStates": "writable",
"timeCorrection": "writable",
"timeForContentLoaded": "writable",
"visibleObjectTapDelay": "writable",
"visibleObjectTapInterval": "writable",
"webkitConvertPointFromPageToNode": "writable",
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
},
"rules": {
"no-prototype-builtins": "off",
"no-redeclare": [
"error",
{"builtinGlobals": false}
],
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_",
},
],
"no-inner-declarations": "off",
},
"overrides": [{
"files": [
"src/constructors.js",
"src/device/utilities.js",
"src/objects.js",
"src/states.js",
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
}
}]
};
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
25 changes: 25 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run pre-test-setup
- run: npm run build --if-present
- run: npm test
env:
CI: true
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# idea editing tools
.idea
.editorconfig

# osx directory files
.DS_Store
.DS_Store

# documentation can be regenerated by running "bash generate_docs.sh"
docs/

node_modules/

*.swp

dist/

coverage/
/.vscode

/src/motionStudy/config.js
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at realityLab@ptc.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
42 changes: 42 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## How To Contribute

Thank you for your interest! We love all community contributions. They are
great ways to suggest new features, call attention to bugs, or see your work
come to life! There are a couple different ways to contribute:

### Talking in the Forum

The best place to go for all things Spatial Toolbox is our [forum at
forum.spatialtoolbox.vuforia.com](https://forum.spatialtoolbox.vuforia.com/).
There you can ask open-ended questions and discuss feature ideas without
commiting to filing a GitHub issue.

### Bugs and Features

If you do want to make an official tracked report or request, check out the
Issues list linked to in this repository's GitHub page. It's possible that
someone has already had the same idea or same problem.

If it's a new bug then please provide as much information as possible. First,
provide a description of the problem, e.g. "the tools on screen disappear after
pressing the pocket button." This includes the platforms and versions involved,
e.g. Spatial Toolbox 1.3.0 on an iPhone 10 talking to a Spatial Edge Server
running on Node 12 on Ubuntu 18.04. Next, any steps to reproduce the bug would
be wonderful. For example, "this happened most often when I created three
tools, restarted the server, then pressed the pocket button in my app."

If it's a new feature just let us know why it's the best and greatest feature
in the world. Maybe you'll convince a wandering contributor to submit a pull
request!

### Pull Requests

Submitting pull requests is a great way to contribute! For more information
about pull requests, check out [GitHub's
documentation](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-pull-requests).

It helps out your pull request if you make sure that your code is easy to read
and understand. One test we use for this is running eslint, a style checker for
JavaScript. You can either run [eslint
locally](https://eslint.org/docs/user-guide/command-line-interface) or check
out its results on the pull request itself.
Loading