Commit Graph

6199 Commits

Author SHA1 Message Date
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 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
Mike 1b6569dbac Feat: Depreciate Webflow API call for tutorials (#3911) 2025-01-29 14:48:50 +01:00
Björn Steinhagen 3c7b6e2626 style: changing etabs short to edb (#3910) 2025-01-29 13:45:30 +00:00
andrewwallacespeckle 5bbbcfc9b1 feat(ui-components): New FormSelectMulti component (#3901)
* New SelectMulti with no headless

* Use FormSelectMulti in developer settings

* Fix build

* isMultiItemSelected

* minor

* Tidy up FormSelectBase useage
2025-01-29 10:51:10 +01:00
Alexandru Popovici 0cd9487040 fix(viewer-lib): Fixed RTE shaders on MacOS and iOS. Hope they don't break it again (#3907) 2025-01-29 11:01:26 +02:00
andrewwallacespeckle 7b2bf9490e fix(fe2): Up limit on objectKeys in ViewerSelectionObject (#3905)
* Up limit to 100

* Add comment
2025-01-28 17:50:52 +01:00
andrewwallacespeckle 11993c7896 fix(gendo): Fix GendoList subscription (#3904)
* Remove loading state from panel

* Remove subscribeToMore

* Remove limit from SelectionObject items

* Revert "Remove limit from SelectionObject items"

This reverts commit 4fb6f25e72321c0b2895e2ad3c1ef81f774b8d52.
2025-01-28 17:50:43 +01:00
Iain Sproat 32c310f849 fix(server/objects): solves database connection resource leak when client connections are prematurely closed (#3889) 2025-01-28 15:56:21 +01:00
andrewwallacespeckle fc634ebfe5 Add force onboarding FF (#3897) 2025-01-28 10:04:54 +01:00
Chuck Driesler 35b59ca4f2 chore(workspaces): drop defaultLogoIndex (#3898) 2025-01-28 08:56:13 +01:00
Alessandro Magionami 57751db6d7 fix(workspaces): make adminWorkspaceJoinRequests field nullable for non admin users (#3899) 2025-01-27 17:46:04 +01:00
Gergő Jedlicska 188c333921 fix(workspaces): non region enabled workspace project creation (#3847)
* fix(workspaces): non region enabled workspace project creation

* fix(projects): remove duplicate getProject repo function

This was the cause of the default project region switch bug, we had two
almost identical implementations...
2025-01-27 17:45:55 +01:00
Mike 3b901de000 Fix: Change Mange Members link to link to settings (#3891) 2025-01-27 09:44:12 +01:00
andrewwallacespeckle e05ce471ee Commit for testing (#3892) 2025-01-27 09:36:23 +01:00
Mike 60a05d3626 Feat: Add join requests to sidebar (#3894) 2025-01-27 09:33:24 +01:00
Mike a88e55db1d Fix: Align forgot password screens (#3895) 2025-01-24 22:11:36 +01:00
Alessandro Magionami 276c3a761c fix(emails): add ff for new email verification flow (#3893)
* fix(emails): add ff for new email verification flow

* test(emails): disable test with ff off
2025-01-24 19:39:55 +01:00
Mike 31445f7478 Fix: Active state for setting sidebar (#3890) 2025-01-24 17:17:56 +01:00
Gergő Jedlicska e5afa5c476 gergo/web 2498 server repo move script (#3881)
* feat: WIP move projects

* feat: move projects between servers
2025-01-24 16:40:40 +01:00
Gergő Jedlicska a282220a72 chore(server): fix nullable type for model author (#3883)
* chore(server): fix nullable type for model author

* updated fe2 gql types

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-01-24 16:40:25 +01:00