Commit Graph

6218 Commits

Author SHA1 Message Date
Chuck Driesler 553ea7d3e7 chore(automate): mixpanel metrics by function id and type (#3960)
* chore(automate): mixpanel metrics for function id and type

* chore(automate): catch test env
2025-02-11 17:06:14 +01:00
Dimitrie Stefanescu 0e9db5dfc1 Merge pull request #3961 from specklesystems/andrew/remove-test-div-from-embed
fix(fe2): Remove debug loading code
2025-02-11 15:28:19 +00:00
andrewwallacespeckle fc5f680c12 Remove debug code 2025-02-11 13:21:08 +00:00
andrewwallacespeckle b8f76568e9 Add keydown.stop (#3959) 2025-02-11 11:09:01 +00:00
Dimitrie Stefanescu 80b4e52f20 Merge pull request #3958 from specklesystems/dim/viewer-hotfix
fix: uncorrects the correct disposal
2025-02-11 10:44:00 +00:00
Chuck Driesler e0577c5f92 fix(automate): redirect functions page (#3952) 2025-02-11 10:03:00 +00:00
Dimitrie Stefanescu cacc7aaabe fix: uncorrects the correct disposal 2025-02-11 09:56:07 +00:00
Iain Sproat 19b9cc68e7 fix(fileimport): remove references to object_children_closures table (#3956) 2025-02-11 09:55:05 +00:00
Dimitrie Stefanescu 10bda8b26a Merge pull request #3903 from specklesystems/mike/web-2526-update-loadobjectsasync-to-use-the-loader
Fix: Change loadObjectAsync to new loader
2025-02-10 19:56:30 +00:00
Dimitrie Stefanescu 1b529fb5ac feat: progress starts at 0, vs 1 2025-02-10 16:43:56 +00:00
Dimitrie Stefanescu 0a39db0236 feat: disposes of loaders on complete/cancel 2025-02-10 15:53:29 +00:00
Dimitrie Stefanescu c7f6e51c79 Merge branch 'mike/web-2526-update-loadobjectsasync-to-use-the-loader' of https://github.com/specklesystems/speckle-server into mike/web-2526-update-loadobjectsasync-to-use-the-loader 2025-02-10 15:18:24 +00:00
Dimitrie Stefanescu 6b2e1c3750 feat: beautfication 2025-02-10 14:40:00 +00:00
andrewwallacespeckle 209ae9582a Fix broken logic and add 3xl variant. (#3955) 2025-02-10 14:34:59 +00:00
Iain Sproat 5f7c5739c1 chore(frontend/logging): adjust logging level based on error content (#3939) 2025-02-07 15:13:42 +00:00
Gergő Jedlicska d8974bf84b fix(test): update new test file to no closures (#3951) 2025-02-07 14:23:40 +01:00
Gergő Jedlicska c4a6da410b feat(core): drop the closure table pls (#3900)
* feat(core): drop the closure table pls

* feat(core): remove closures feature flag

* feat(core): remove more closure stuff

* feat(core): only drop closure table if it exists
2025-02-07 14:06:53 +01:00
Mike 6e3f1c70e9 Fix: Hydration issues on general settings page (#3940) 2025-02-07 12:17:05 +01:00
Mike 95b774d200 Fix: Add stop directive to input (#3943) 2025-02-07 11:56:52 +01:00
Mike 9202fa5335 Fix: Clean up UI (#3948) 2025-02-07 11:56:39 +01:00
Mike 6075385d47 Feat: Remove Gendo Contest link (#3942) 2025-02-07 10:39:38 +01:00
Iain Sproat 2454af7237 chore(logging): log messages related to a request should include request ID - PART 2 (#3946)
* chore(logging): mixpanel should use logger with request context

* log with request when onUserCreated event is triggered
2025-02-06 17:51:10 +00:00
Iain Sproat ebc0f84c96 fix(server): previewUrl assumed project would always be found (#3947)
- adds guard against null project
2025-02-06 17:50:04 +00:00
Iain Sproat 0ce23be6f3 chore(logging): log messages related to a request should include request ID (#3945)
- this requires passing the request logger through to the method invoking the logger
2025-02-06 16:04:51 +00:00
Iain Sproat b982bee22e fix(gql): run yarn gqlgen (#3941) 2025-02-06 09:26:35 +00:00
Iain Sproat 947f8fd4fa fix(server/database streams): remove event listener on batch completion (#3938) 2025-02-05 15:16:22 +00:00
Iain Sproat a4521d46a1 fix(logging): user-input issues should not be logged as error level (#3935)
* fix(logging): reduce user-input issues being logged as error

* error logging middleware should better handle caught errors
2025-02-05 15:08:10 +00:00
Iain Sproat 9bbd6bea01 fix(logging): correct log levels for error types from auth flow (#3934) 2025-02-04 17:17:11 +00:00
Mike 8934179e36 Fix: Show workspace ID for workspace admins as well (#3933) 2025-02-04 16:47:27 +01:00
Alexandru Popovici 065c242ef5 fix(viewer-lib): Fixes two issues regarding very small scale streams (#3930)
- The orbit controller would not properly report changes in camera movement on a per frame basis becuase of a hardcoded epsilon which was not small enough for very small scenes. Now the epsilon is dynamically computed
- WASD-ing would jitter in very small scenes because of a too large normalization value sent to the position dampers. Now that value is also dynamically computed for small scenes
2025-02-04 17:10:07 +02:00
Iain Sproat 2d5ff8eda9 fix(server/logging): truncate data:image/png in logs (#3928) 2025-02-04 12:16:27 +00:00
Iain Sproat 752041dba6 fix(server & preview-service): apply fix #3921 to all db streams (#3929) 2025-02-04 11:40:00 +00:00
Alexandru Popovici f367a2ff02 Lines with Both displayStyle and renderMaterial Fix (#3913)
* fix(viewer-lib): Fixed the issue where v2 lines would not display properly when having both displayStyle and renderMaterial. Now displayStyle takes precedence

* chore(viewer-lib): Fixed typo
2025-02-04 13:03:22 +02:00
Iain Sproat 55315feb59 fix(server/diffdownload): fix the bug where client connection close events were not propogated to the database stream connection (#3921)
* WIP: trying to catch a bug

* great success

* reinstate gzip

* Remove feature flag

* remove stream-chain dependency

* remove superfluous logging lines

* re-align with original where possible

* re-align package.json

* More re-alignment with main branch before the previous 'fix'

* A smaller failing example
2025-02-04 11:09:53 +01:00
Chuck Driesler 272c136a17 WEB-2466 fix(automate): include workspace in function breadcrumb (#3926)
* fix(automate): repair workspace function breadcrumb

* fix(automate): use route helper correctly
2025-02-04 09:58:45 +00:00
Mike 9dd5989b14 Feat: Show workspace ID for server admins (#3927) 2025-02-04 10:35:15 +01:00
Alexandru Popovici b50f1fa43d fix(viewer-lib): Updates to WASD and orthographic projection: (#3922)
- Pressing WASDQE while in orthographic mode will no longer work. WASD-ing is disabled while in ortho
- Fixed an issue with toggling to ortho after dropping out of WASD caused by the origin beingvery close to the camera, making the orthographic size to be huge. Now when this happens, we get the minimum distance from the camera to the geometry and use that distance to compute the orthographic size. If no intersection is found, we just take the halfwy between min and max radius
2025-02-04 10:21:18 +02:00
Alexandru Popovici cff48b98c9 Comment Bubbles WASD Fix (#3920)
* feat(viewer-lib): Added  property to PointQueryResult which tells if the requested point is in frustum when projecting and unprojecting

* feat(frontend-2): Updated the comment bubbles screen location computation step to account for their anchor's inclusion in the camera's frustum
2025-02-03 17:10:24 +02:00
Mike Tasset 003497844f Merge branch 'main' into mike/web-2526-update-loadobjectsasync-to-use-the-loader 2025-02-03 13:51:07 +01:00
Mike Tasset 239f0c07b3 Updated loader styling 2025-02-03 11:39:46 +01:00
Mike 86c34890f3 Feat: Add contest link to Gendo panel (#3923) 2025-02-03 11:03:49 +01:00
Mike 8be048b913 Fix: Remove debounce on selection click (#3902) 2025-02-03 10:24:16 +01:00
Iain Sproat 4ee278393b fix(server/logging): healthcheck logs should be warn (#3917)
- they are routinely triggered, so should not be error level
2025-01-30 18:22:19 +01:00
Alexandru Popovici 118807139b Billboards Position Fix (#3919)
* fix(viewer-lib): Fixed the issue where billboarded objects from measurements were not getting their position updated properly

* fix(viewer-lib): Disabled orbit sphere frustum culling
2025-01-30 19:19:44 +02:00
Iain Sproat c59e6043bb fix(server/errors): derive errors from BaseError (#3918) 2025-01-30 18:15:56 +01:00
Mike 46cf4e44eb Add mixpane levents (#3916) 2025-01-30 16:50:02 +01:00
Chuck Driesler 4cbeeef0d0 Automate API Circuit breaker (#3914)
* fix(automate): invokeSafeJsonRequest

* fix(automate): correct fallback values
2025-01-30 15:26:12 +00:00
Alexandru Popovici a3d1e6adec Orbit WASDEQ Controls (#3875)
* Updated the fly controller to use the z up basis

* Fixed very important compiler error

* Removed the annoying delay when first holding down WASD keys before movement started

* Updated LegacyViewer to use the hybrid camera controls

* Added big baker

* Trying to figure out the essence of this

* Partly works

* Pivotal coordinates now work

* Smoothened out the math abit

* Fixed sandbox error

* Enabled the pivot sphere

* feat(viewer-lib): Fixed some issues with orbiting around cursor

* feat(viewer-lib): Updates to WEB-2313, orbiting around mouse cursor
Orbiting around mouse cursor now works correctly with an orthographic projection as well as when toggling between orthographic and perspective.
Disabled WASD navigation for now.
SmoothOrbitControls now has protected members instead of private allowing extension
Documented the important parts of the pivotal navigation code

* feat(viewer-lib): Mouse orbiting now takes clipping planes into consideration

* chore(viewer-lib): Fixed sandbox build error

* fix(viewer-lib): Handled WEB-2449 and WEB-2450
Additionally fixed an issue where changing the orbit pivot would trigger a hard render, adding the unneeded noise of AO re-convergence

* fix(viewer-lib): Fixed the issue with focusing and other camera animations caused by the introduction on the pivotal CS. Pivot sphere now shows only on orbit

* feat(viewer-lib): Updates on mouse orbiting:
- When clicking outside of the model, oribitig will switch to polar and use the last computed origin (which is still going to be based on the last pivot point)
Made the pivot sphere speckle blue
The pivot sphere now only shows when clicking on objects, when clicking outside of the model it will not show

* feat(viewer-lib): Update for WASD aka fly mode:
- Smoother combined navigation by using the immediate controler position and orientation as opposed the the goal ones
- Pivot sphere properly hides when in fly mode
- The bug where the camera would incorrectly jump when toggling between fly and oribit is now gone (or I cannot reproduce it anymore)

* fix(viewer-lib): Fixed sandbox compile error

* feat(viewer-lib): Added the hybrid fly orbit controller to the legacy viewer

* feat(viewer-lib): Added a slower movement speed to WASD navigation when camera is close to geometry

* fix(viewer-lib): Fixed the issue where opening the context menu while holding down a WASD key would make the camera move indefinetely

* Feat(viewer-lib): Update to WASD controls:
- Disabled cursor orbiting
- Added an option to allow for world space up/down with e/q keys. By default it's enabled
- Fixed the pan speed to work similar to WASD speed in two steps depending how close the camera is to geometry

* chore(viewer-lib): Tidied up a bit

* fix(viewer-lib): Fixed an ugly bug where the camera distance calculataion plane would flip, especially when WASD-ing, and mess up the min distance calculation which led the camera near plane to be way off

* chore(viewer-lib): Swapped E to up and Q to down

* Re-nabled cursor orbiting
2025-01-30 16:05:51 +02:00
Dimitrie Stefanescu 1f9f3f9897 feat(viewer): adds loading progress basics 2025-01-29 15:26:16 +00:00
Mike 1b6569dbac Feat: Depreciate Webflow API call for tutorials (#3911) 2025-01-29 14:48:50 +01:00