Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2797 commits
Select commit Hold shift + click to select a range
b6050cd
another somewhat broken merge
dangond-ptc Feb 28, 2023
6f4af50
fix addToolAtScreenCenter when you tap on a tool button, to still add…
benptc Feb 28, 2023
208bc8c
Merge pull request #355 from ptcrealitylab/fix-tool-at-center
benptc Feb 28, 2023
a30a623
Display start and stop markers when selecting timeline highlight
hobinjk-ptc Mar 1, 2023
71e6164
Add missing return statement
hobinjk-ptc Mar 1, 2023
d0a6c8d
Finally a stable state, only minor bugs left
dangond-ptc Mar 1, 2023
79d6370
Merging master and tons of bug fixes, analytics tool loading performa…
dangond-ptc Mar 1, 2023
d00948c
Fixed bug that caused data recorded live and by a tool at the same ti…
dangond-ptc Mar 1, 2023
6f9e788
Fixed lint errors
dangond-ptc Mar 1, 2023
1ce35e2
Disabled scene graph synchronization for human pose objects. Their sc…
ptc-mklaudiny Feb 28, 2023
21cd3bf
Fix jsdoc parameter type ordering
dangond-ptc Mar 2, 2023
a1935f9
Avoiding export default and fixing other small issues
dangond-ptc Mar 2, 2023
c6da587
Merge pull request #358 from ptcrealitylab/analyticsUI
dangond-ptc Mar 2, 2023
74cb4d9
Add iPad-specific logic to isDesktop
hobinjk-ptc Mar 2, 2023
c8b9a68
Add log persist request to try to guarantee log persistence
hobinjk-ptc Mar 1, 2023
5fdf8ee
Refactor out postPersistRequest to utils
hobinjk-ptc Mar 1, 2023
da3788a
Rename AnalyticsMock -> AnalyticsMobile
hobinjk-ptc Mar 1, 2023
d07309b
Fix typo; Perform postPersistRequest on mobile
hobinjk-ptc Mar 1, 2023
4a479bc
WIP: region card csv
hobinjk-ptc Mar 2, 2023
32f4315
Improve pin and view button styles
hobinjk-ptc Mar 2, 2023
dc702fa
Add logic for unpinning; Update moveTo target for new styles
hobinjk-ptc Mar 2, 2023
ef17052
Adjust csv link position
hobinjk-ptc Mar 2, 2023
3c20b3d
Add basic timeline minimap
hobinjk-ptc Mar 2, 2023
a2b3360
Document edge-scrolling behavior
hobinjk-ptc Mar 2, 2023
2221d7d
Adjust cursor height
hobinjk-ptc Mar 2, 2023
78589ef
Performance improvements for history spaghetti generation
dangond-ptc Mar 2, 2023
7b62e73
eslint
dangond-ptc Mar 2, 2023
85b499f
Merge pull request #362 from ptcrealitylab/historicalPoseLoadingPerfo…
dangond-ptc Mar 2, 2023
6b14388
Made Analyzer Settings UI less dependent on other UI elements
dangond-ptc Mar 2, 2023
46ceaeb
Merge pull request #364 from ptcrealitylab/menuFix
dangond-ptc Mar 2, 2023
07b90f2
Remove outdated setDisplayRegion logic from regionCard unpinning
hobinjk-ptc Mar 3, 2023
de0c634
Delay icon preload
hobinjk-ptc Mar 3, 2023
62bfac3
ignore avatars from non-primary world, and increase keepObjectAlive h…
benptc Mar 3, 2023
ebd27e8
Hack: disable analytics settings ui on mobile
hobinjk-ptc Mar 2, 2023
c8292ae
fix rampant bug where frames are being initialized empty from the rel…
benptc Mar 3, 2023
7ed5570
Merge pull request #367 from ptcrealitylab/tighter-synchronization
benptc Mar 3, 2023
b39bb43
Merge branch 'master' into fullscreen-2d-mode
benptc Mar 3, 2023
5c01074
Add basic retry logic to history loading
hobinjk-ptc Mar 3, 2023
5a7e863
Add max acceleration to region cards
hobinjk-ptc Mar 3, 2023
9432b26
Add acceleration to csv
hobinjk-ptc Mar 3, 2023
18592af
Reset cursor position on starting selection/panning
hobinjk-ptc Mar 3, 2023
1fda89d
Rework analytics update
hobinjk-ptc Mar 3, 2023
afa90ac
Only save non-cursor animation states
hobinjk-ptc Mar 3, 2023
bbf1982
fix z index of blur div
benptc Mar 6, 2023
88d4847
temporarily disable spatial indicators
benptc Mar 6, 2023
0d48427
Merge pull request #369 from ptcrealitylab/temp-disable-beacons
benptc Mar 6, 2023
18dbd33
limit max font size in scan generation modal (on iPad)
benptc Mar 6, 2023
ea4a2c7
quick fix to make loading modal look ok on iPad or iPhone
benptc Mar 6, 2023
0068f90
Merge pull request #370 from ptcrealitylab/ipad-modal-font-size
benptc Mar 6, 2023
4ba6cf1
default floor to bottom of mesh if no geometry directly below; slow d…
benptc Mar 6, 2023
7324736
respond to reviewer comments
benptc Mar 7, 2023
bec4ebb
Merge pull request #371 from ptcrealitylab/misc-bugfixes
benptc Mar 7, 2023
513d9db
force ignore potential cacheing of the reloadObject and reloadFrame r…
benptc Mar 7, 2023
cdadb75
rename dontCache to bypassCache
benptc Mar 7, 2023
ec4e22a
Merge pull request #372 from ptcrealitylab/ignore-cache-reloadObject
benptc Mar 7, 2023
cee6f72
creates your avatar again if the server deletes it while you were ina…
benptc Mar 7, 2023
f855203
Merge pull request #373 from ptcrealitylab/reestablish-avatars
benptc Mar 7, 2023
c93c10d
Holodeck grid
dangond-ptc Mar 7, 2023
4064a34
Add support for regioncard labels
hobinjk-ptc Mar 8, 2023
d90ec87
Fix sign on scrolling
hobinjk-ptc Mar 8, 2023
66ec2b7
Draw off-screen arrow at laser pointer position
Steve-KX-RL Mar 9, 2023
41d59d5
Make worldIntersectPoint normalVector always point towards the same s…
Steve-KX-RL Mar 9, 2023
bb63eaa
GUI experiment -- spatial cursor click -> inner circle radius change
Steve-KX-RL Mar 9, 2023
d186411
Merge remote-tracking branch 'origin/master' into Steve-KX-Mar-9
Steve-KX-RL Mar 9, 2023
493dbc5
GUI experiment -- spatial cursor inner circle expand animation
Steve-KX-RL Mar 9, 2023
d07421b
Enabled sending empty body pose with a timestamp to notify other serv…
ptc-mklaudiny Mar 10, 2023
9ff1c6c
Laser pointer off screen arrow fix
Steve-KX-RL Mar 10, 2023
ede881e
add search tool with spatial cursor click
benptc Mar 13, 2023
2b1e978
remove sandbox attribute from iframes to allow embedding nested iframes
benptc Mar 13, 2023
9de8cc9
Merge branch 'master' into fullscreen-2d-mode
benptc Mar 13, 2023
0ba0dcd
cleanup fullscreenFull2D code
benptc Mar 13, 2023
a962318
undo change to sandbox attribute, for now
benptc Mar 13, 2023
9f433af
Merge pull request #378 from ptcrealitylab/fullscreen-2d-mode
benptc Mar 13, 2023
8f330f0
Merging master and resolving conflicts.
ptc-mklaudiny Mar 14, 2023
7fa4266
Bump eslint from 8.35.0 to 8.36.0
dependabot[bot] Mar 13, 2023
1fd28e5
Added joint coloring based on confidence to PoseObjectIdLens. Works f…
ptc-mklaudiny Mar 14, 2023
8ca8c6b
Added different skeleton rendering for original and fused human objec…
ptc-mklaudiny Mar 14, 2023
e0a676a
Added toggle to render child human pose objects (ones supporting fuse…
ptc-mklaudiny Mar 15, 2023
fbf1914
Merge pull request #376 from ptcrealitylab/Steve-KX-Mar-9
benptc Mar 15, 2023
9390acc
Laser pointer off screen arrow fix
Steve-KX-RL Mar 15, 2023
5000edc
Stopped rendering human poses which have not been updated recently.
ptc-mklaudiny Mar 16, 2023
1828e48
Fix RegionCard label persistence; Stop label keyboard event propagation
hobinjk-ptc Mar 16, 2023
2221e77
Never minimize pinned region cards
hobinjk-ptc Mar 17, 2023
ad3de33
Prevent fly mode from engaging while typing label
hobinjk-ptc Mar 17, 2023
7907cb0
Shorten large numbers
hobinjk-ptc Mar 17, 2023
0999d1e
Hide HumanPoseRenderers if all contained HumanPoseRenderInstances are…
hobinjk-ptc Mar 17, 2023
891f758
Fix display of csv link; Add padding to pinned region cards container
hobinjk-ptc Mar 20, 2023
cf1022d
Remove uv2 attribute from geometries when present
hobinjk-ptc Mar 16, 2023
d5df2ad
Merge pull request #380 from ptcrealitylab/Steve-KX-Mar-9
benptc Mar 20, 2023
3d996cd
Adjust handling of animation state
hobinjk-ptc Mar 20, 2023
13395ee
Clean up trailing whitespace
hobinjk-ptc Mar 20, 2023
416a993
option to update the groundplane grid color
benptc Mar 21, 2023
651e3cf
add onWindowResized listener and adjust various canvas sizes, tool di…
benptc Mar 22, 2023
b4a0e80
fix glRenderer onWindowResize event
benptc Mar 22, 2023
cc10b78
Merge pull request #386 from ptcrealitylab/dark-mode-support
benptc Mar 22, 2023
9e306e1
timeline updates width onWindowResize
benptc Mar 22, 2023
8202f7f
Sort persisted region cards by start time
hobinjk-ptc Mar 21, 2023
d25d5ff
Rename view -> show; Support showing/hiding region on timeline
hobinjk-ptc Mar 22, 2023
f72b8e3
Allow editing shown region cards on timeline
hobinjk-ptc Mar 22, 2023
452b506
Merge pull request #388 from ptcrealitylab/window-resize
benptc Mar 22, 2023
44f549f
Allow adding region cards during recording
hobinjk-ptc Mar 22, 2023
8bca217
Make getPosesInTimeInterval default to live instead of all
hobinjk-ptc Mar 23, 2023
3f83d38
Revert "Make getPosesInTimeInterval default to live instead of all"
hobinjk-ptc Mar 23, 2023
2410306
Filter out pinned region cards with no poses
hobinjk-ptc Mar 23, 2023
40f1655
Improve logic of getPosesInTimeInterval to swap based on filtered pos…
hobinjk-ptc Mar 23, 2023
464c835
Merge
dangond-ptc Mar 27, 2023
a03acbb
Comments for later
dangond-ptc Mar 27, 2023
5663bae
Added support for playing back with multiple overlapping poses
dangond-ptc Mar 27, 2023
0feb613
Made it so that animations only get clones within a second of the giv…
dangond-ptc Mar 27, 2023
03003fa
Adjusted animation current pose timestamp window
dangond-ptc Mar 27, 2023
93d5370
Fixed bug with displaying clones when setting cursor time
dangond-ptc Mar 27, 2023
9a55654
Removed extraneous log statement
dangond-ptc Mar 27, 2023
940bbec
backup method to load world_local into discoveryMap on cellular netwo…
benptc Mar 23, 2023
3f20856
minimize changes to system while enabling cellular/non-udp connectivity
benptc Mar 27, 2023
b05151f
guard against null msg when manually looking for world_local
benptc Mar 27, 2023
5538c9c
Merge pull request #393 from ptcrealitylab/cellular-support
benptc Mar 27, 2023
4055f8b
Merge pull request #392 from ptcrealitylab/multiPose
dangond-ptc Mar 28, 2023
66c4df4
Bump eslint from 8.36.0 to 8.37.0
dependabot[bot] Mar 29, 2023
bca4801
init vuforia even if no network permissions; remove popup for no netw…
benptc Mar 29, 2023
479484c
adds clarification about microphone access to modal
benptc Mar 29, 2023
8a5e82b
adds tall class to notification with longer description
benptc Mar 29, 2023
44b394b
slightly adjust loading progress bar position based on new height of …
benptc Mar 29, 2023
749f037
Merge pull request #395 from benptc/fix-local-network-req
benptc Mar 29, 2023
21df9a7
Export getRaycastCoordinates() helper function to be used in remote o…
Steve-KX-RL Mar 29, 2023
a0a51d2
Add API to get phone app's provider id
hobinjk-ptc Mar 29, 2023
832751e
Rename avatarUserProfiles, connectedAvatarNames; Add providerId to us…
hobinjk-ptc Mar 29, 2023
bc9a8cf
Unconditionally write user profile
hobinjk-ptc Mar 29, 2023
5f5d93d
change tool open animation
Steve-KX-RL Mar 30, 2023
8b96a4f
change tool close animation
Steve-KX-RL Mar 30, 2023
91fafa2
add temp anim div css
Steve-KX-RL Mar 30, 2023
ccc6d11
Fixed toogling of auxiliary poses for live visualisation again (but d…
ptc-mklaudiny Mar 31, 2023
f19f975
Adjusted spaghetti line to display only points from non-auxiliary pos…
ptc-mklaudiny Mar 31, 2023
78df597
Added toggling of auxiliary poses for playback of recorded data and s…
ptc-mklaudiny Mar 31, 2023
8ea3a08
Merge branch 'master' into human_tracking_multiple_cameras
ptc-mklaudiny Apr 3, 2023
db18448
Removed unused parameter.
ptc-mklaudiny Apr 3, 2023
45f0036
Merge pull request #391 from ptcrealitylab/human_tracking_multiple_ca…
ptc-mklaudiny Apr 3, 2023
98276e4
Added comments on how I obtained the hard-coded matrix3d end position…
Steve-KX-RL Apr 3, 2023
a5b4728
Merge pull request #397 from ptcrealitylab/change-tool-open-close-ani…
benptc Apr 3, 2023
b3c070f
WORKING envelope sync, no cleanup
benptc Mar 30, 2023
6d64048
refactor initNode and sendCreateNode into a createNode method instead…
benptc Mar 31, 2023
da7228a
cleanup envelope sync code
benptc Apr 3, 2023
1d81b44
Spatial cursor flickering bug
Steve-KX-RL Apr 3, 2023
496af1d
change spatial cursor to update relative to threejs scene, always
benptc Apr 3, 2023
8cdf52d
rename hasUpdated variable more clearly
benptc Apr 3, 2023
cc6a74d
Merge pull request #398 from benptc/envelope-sync
benptc Apr 3, 2023
26d7b18
Merge pull request #399 from ptcrealitylab/Spatial-cursor-flickering-bug
benptc Apr 3, 2023
6ee3fe5
Minor changes to accommodate a bug fix in server code.
ptc-mklaudiny Apr 4, 2023
2e54447
poseHasParent should be false when parent is null
hobinjk-ptc Apr 5, 2023
9c8d799
Remove trailing whitespace
hobinjk-ptc Apr 5, 2023
162f528
Additional fix of poseHasParent for live mode.
ptc-mklaudiny Apr 6, 2023
ed43b16
Updated AccelerationLens to work with multiple poses and use m/s^2 co…
dangond-ptc Apr 7, 2023
c50fb98
Addressing comments
dangond-ptc Apr 7, 2023
325df95
trigger onLocalizedWithinWorld immediately if already localized
benptc Apr 7, 2023
ccb9e4b
Bump eslint from 8.37.0 to 8.38.0
dependabot[bot] Apr 10, 2023
caffb19
Merge pull request #404 from benptc/localized-callback
benptc Apr 10, 2023
9b3fa67
Add basic recently-used-envelopes bar
hobinjk-ptc Apr 7, 2023
c7f87d1
Guard against multiple calls to analytics add/remove
hobinjk-ptc Apr 10, 2023
d5045e3
Store lastActive on envelopes
hobinjk-ptc Apr 10, 2023
36ec32a
Never add envelopes that would be hidden from recently used bar
hobinjk-ptc Apr 10, 2023
f8aa0a7
Adjust ruBar animations
hobinjk-ptc Apr 10, 2023
3fed2e8
Add border to mark open envelopes on bar
hobinjk-ptc Apr 10, 2023
7743a25
Always close any open envelopes before opening a new one
hobinjk-ptc Apr 10, 2023
ec4ae69
reimplement MINIMIZE_BUTTON for envelope, and use it to trigger blur …
benptc Apr 10, 2023
b3f80a2
Merge pull request #403 from ptcrealitylab/accelerationMultiPoseFix
dangond-ptc Apr 11, 2023
ee52f63
Merge branch 'master' into envelope-focus-blur
benptc Apr 11, 2023
3ab5bee
renders a temporary icon in the location of the tool iframe, if its f…
benptc Apr 11, 2023
7c50f79
cleanup envelope icon renderer
benptc Apr 11, 2023
2b3cd2d
recently used bar formatted for mobile
ktheo-ptc Apr 11, 2023
4b3fa5b
fix issue with onLocalized callback
benptc Apr 11, 2023
2c641cb
Adjust spacing for minimize button's existence
hobinjk-ptc Apr 11, 2023
d3c3a2b
Merge pull request #407 from benptc/envelope-focus-blur
benptc Apr 11, 2023
137611a
Merge pull request #409 from benptc/fix-localization-bug
benptc Apr 11, 2023
11cf237
toolbox desktop and mobile flags used to display UI for correct device
ktheo-ptc Apr 12, 2023
262841c
merge main with feature
ktheo-ptc Apr 12, 2023
ad86295
render the tool iframes on top of the glcanvas, so the fullscreen cha…
benptc Apr 12, 2023
848f34e
ru-container desktop styles updated
ktheo-ptc Apr 12, 2023
a225a36
Merge pull request #411 from benptc/z-index-reorder
benptc Apr 12, 2023
8ae4926
desktop layout updated
ktheo-ptc Apr 13, 2023
550d99f
Merge branch 'master' into ru-tools-ui-update
ktheo-ptc Apr 13, 2023
e491868
fixed bug where close and minimize buttons disappeared behind chat modal
ktheo-ptc Apr 14, 2023
2e8bb47
commented out scale transform in envelopeMenuButton:hover to fix butt…
ktheo-ptc Apr 14, 2023
6f95f10
Updated addToolAtScreenCenter() to work with the new off-center camer…
Steve-KX-RL Apr 14, 2023
0ff9205
Merge pull request #410 from ptcrealitylab/ru-tools-ui-update
ktheo-ptc Apr 14, 2023
9b14e40
change default tool scale from 0.5 to 1.0
benptc Apr 17, 2023
5adb0d7
closing envelope only closes the focused envelope, not all non-focuse…
benptc Apr 17, 2023
f03346e
hide X button if no focused envelopes; cleanup updateExitButton function
benptc Apr 17, 2023
ab1d927
Merge pull request #413 from benptc/ben-burckhardt-edits
benptc Apr 17, 2023
a353502
Add basic vehicleDeleted handling to RecentlyUsedBar
hobinjk-ptc Apr 18, 2023
ce281bf
fix refactored updateExitButton function
benptc Apr 18, 2023
7d5bee4
Merge branch 'master' into fix-env-buttons
benptc Apr 18, 2023
deed80c
Merge pull request #417 from benptc/fix-env-buttons
benptc Apr 18, 2023
b8c034d
properly update material numFrustums uniform when a frustum is removed
benptc Apr 18, 2023
de53671
Merge pull request #418 from benptc/disable-frustum-cutout
benptc Apr 19, 2023
6a51768
adds canvas to recentlyUsedBar that draws lines from icons to their t…
benptc Apr 19, 2023
1fcf898
Refactor out HumanPoseAnalyzer; Add support for multiple HPAs
hobinjk-ptc Apr 14, 2023
b69802b
Add support for new analytics envelope events
hobinjk-ptc Apr 14, 2023
67982da
Fix issue where history line hiding would exit early
hobinjk-ptc Apr 14, 2023
3214043
Clear up unused variable
hobinjk-ptc Apr 14, 2023
6d19a53
Improve logic around focus/blur/close
hobinjk-ptc Apr 14, 2023
1af98f0
Cache poseRenderInstances on a per-HPA basis
hobinjk-ptc Apr 17, 2023
d67314a
Adjust csv link positioning for minimize button
hobinjk-ptc Apr 17, 2023
05d755f
Remove unused tracking variable
hobinjk-ptc Apr 17, 2023
1a7fd4b
Properly reset poseRenderInstances
hobinjk-ptc Apr 17, 2023
fdb3d82
Remove draw's poseRenderInstance tracker
hobinjk-ptc Apr 17, 2023
41a007b
Encapsulate childHumanPosesVisible
hobinjk-ptc Apr 18, 2023
21b9c2c
Swap around settings between global and local
hobinjk-ptc Apr 19, 2023
0e30f4f
add animation to line from icon to tool
benptc Apr 19, 2023
9b25b0d
cleanup recentlyUsed hover animation
benptc Apr 19, 2023
75c87b8
fix bug when recently used line goes left/up instead of right/down
benptc Apr 19, 2023
ab15223
adjust perceived animation speed by adding multiple layers that draw …
benptc Apr 19, 2023
9898265
adjust speed of line
benptc Apr 19, 2023
584d1f7
add pointer-events:none to ru-canvas (used to draw lines from icons t…
benptc Apr 20, 2023
4964787
swaps out the [-] minimize button with a [-><-] collapse button
benptc Apr 20, 2023
fd24f17
Merge pull request #420 from benptc/recently-used-lines
benptc Apr 20, 2023
6039082
only show minimize button if the active envelope is not a full2D enve…
benptc Apr 20, 2023
addba1e
Enable human tracking on opening spatialAnalytics tool
hobinjk-ptc Apr 18, 2023
82ff53e
Update AnalyticsMobile mock methods; Remove unused toggle function
hobinjk-ptc Apr 18, 2023
300545f
Merge pull request #421 from benptc/new-minimize-icon
benptc Apr 20, 2023
b50d28a
envelopes open in minimized state for others; recently used bar prope…
benptc Apr 20, 2023
4533812
Merge pull request #422 from benptc/open-minimized-for-others
benptc Apr 20, 2023
3611ccd
emphasize the minimized icons by coloring them green
benptc Apr 20, 2023
7459f62
further emphasize the green color of icons; refactor styles to css
benptc Apr 20, 2023
e568973
Ignore requests to reopen first icon in recently-used bar
hobinjk-ptc Apr 20, 2023
5ebe683
load new icon-foreground.svg instead of icon.gif
benptc Apr 20, 2023
ea7ff1a
minimized tool icons are black with animated color gradient and a whi…
benptc Apr 21, 2023
ef25782
Remove untextured "mesh_0" from gltf
hobinjk-ptc Apr 21, 2023
868ffde
Merge pull request #424 from benptc/emphasize-icons
benptc Apr 21, 2023
4be3a51
Merge pull request #412 from ptcrealitylab/Spatial-Cursor-addToolAtSc…
benptc Apr 21, 2023
ca14eaa
Fixed the remote operator ESC key exit fly mode
Steve-KX-RL Apr 18, 2023
579760a
Merge pull request #415 from ptcrealitylab/Remote-operator-fly-mode-E…
benptc Apr 21, 2023
9915c96
change z-index of fullscreen tools to 1 instead of 100, so you can cl…
benptc Apr 21, 2023
33763f7
buttons at top of remote operator aligned
ktheo-ptc Apr 21, 2023
0fbdadb
make sure touch events work to click on other icons when a fullscreen…
benptc Apr 21, 2023
affbd1c
fix bug with envelopes closing when they shouldnt on other clients
benptc Apr 21, 2023
66fa1ef
Merge pull request #426 from benptc/move-drawing-behind-icons
benptc Apr 21, 2023
b8685a7
update the minimize button
benptc Apr 21, 2023
486a097
restored ru-icon sizes
ktheo-ptc Apr 21, 2023
0aa136a
merge master with feature
ktheo-ptc Apr 21, 2023
5113b66
setup listener that pop-up menu can use to hide when full2D open; fix…
benptc Apr 21, 2023
5ed1cdc
fix typo
benptc Apr 21, 2023
562ff2c
guard against error if tool icon not available
benptc Apr 21, 2023
2b96a8d
Fixed iOS add tool when spatial cursor outside of AreaTarget mesh bug
Steve-KX-RL Apr 21, 2023
7dd2657
Merge pull request #428 from ptcrealitylab/add-tool-at-screen-center-…
benptc Apr 21, 2023
e581292
Merge pull request #429 from benptc/ux-improvements
benptc Apr 21, 2023
b489c8d
Merge pull request #427 from ptcrealitylab/ru-tool-icon-adjustments
ktheo-ptc Apr 21, 2023
5cb5892
if a toolId is present in the URL, attempts to open the envelope when…
benptc Apr 21, 2023
1c2929c
guard against multiple openings of toolId from URL
benptc Apr 21, 2023
f92667e
Merge pull request #430 from benptc/open-toolId-from-url
benptc Apr 21, 2023
fbb8ad0
adds StackingOrder module to project, to manage different layers/stac…
benptc Apr 24, 2023
14870a2
move node-connection canvas further back in stacking order
benptc Apr 24, 2023
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
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
thirdPartyCode/
frames/resources/
frames/pushMe.hyperesources/
frames/objectDefaultFiles/pep.min.js
docs/
.eslintrc.js
98 changes: 98 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
module.exports = {
"env": {
"browser": true,
"es6": 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",
"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": 2018,
"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
24 changes: 24 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 build --if-present
- run: npm test
env:
CI: true
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# 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
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