Commit Graph

4652 Commits

Author SHA1 Message Date
github-actions[bot] 11b62f3824 Update image digests (#2189)
Signed-off-by: specklebot <devops@speckle.systems>
Co-authored-by: specklebot <devops@speckle.systems>
2024-04-09 10:05:32 +01:00
Kristaps Fabians Geikins 9d91c0da22 fix(fe2): index.html 404 being cached (#2199) 2024-04-08 21:21:48 +02:00
Kristaps Fabians Geikins e384f2d299 fix(fe2): low level fatal server errors not being logged to RUM (#2197)
* fix(fe2): low level fatal server errors not being logged to RUM

* undo nuxt config changes
2024-04-08 14:12:35 +03:00
Kristaps Fabians Geikins 57a7d2206b fix(viewer): broken import to dep (#2196) 2024-04-08 11:14:36 +03:00
Alexandru Popovici d7f0325192 Extension Access Changes (#2193)
* Removed the concept of Providers entirely. Now extentions specify explicity extention types or archypes in their inject lists. Removed the concept of core-extensions entirely. All extensions are now equal. The concept of CameraProvider was replaced by SpeckleCamera which the SpeckleRenderer now uses and relie on the default camera controller extension to seed it.

* Fixed some compile errors

* Fixed compile errors. Had to make Extension concrete, but meh, it's fine I guess

* fix viewer types

* Removed generic arguments since they're no longer needed

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-04-05 18:07:02 +03:00
Alexandru Popovici 5127d21c02 Update viewer readme file with the new documentation (#2195) 2024-04-05 16:56:26 +03:00
Dimitrie Stefanescu 6447f078e7 Merge pull request #2144 from specklesystems/benjamin/readme
Update link to the web app in the README
2024-04-05 11:12:51 +01:00
Alexandru Popovici 79cd985cc7 Textures of all types can now only be loaded by providing an Asset type. Asset now has a mandatory string id. Assets no longer caches the IBL PMREM texture, but the HDRI textures themselves because the PMREMs were only stored in video memory and when read from cache with a different viewer instance they would fail resulting in null IBL (#2192) 2024-04-04 15:16:32 +03:00
Kristaps Fabians Geikins fcc2cea130 feat(fe2): send reqId to DD + allow reading distinctId from user profile dialog (#2190) 2024-04-03 15:59:47 +03:00
Alexandru Popovici 4ee8a3f8f6 Fixed an issue with material indices edges were not being computed correctly. Added test (#2188) 2024-04-03 11:50:55 +03:00
Alexandru Popovici 9c481a20f5 WEB-695 Batching Maintenance (#2182)
* Starting to tackle WBX-397 by taking a different approach on computing draw ranges

* WIP

* Range computation is more or less done. Material indices still need a more robust approach

* Range material indices figured out mostly by trating them as edges in a graph. Also some profiling to max out pergf

* Added forward and backwards material index edges in order to be able to directly look them up rather than searching for them in an array

* Extended the new draw range integration approach to instanced batches

* Added vitest and wrote a first test for the DrawRange integration approach. Fixed some cicular dependencie which were messing up vitest runtime.

* A bunch of more tests

* Removed unused dep

* ci(viewer): test the viewer in CircleCI

* Include test-viewer as a dependency of later jobs

* Small updates

* Removed old range integration from all three batches

* Working on making the range update integration work on an array at a time

* Update range integration now works on entire arrays at a time. Almost twice as fast this way. Updates tests

* DrawRanges now also flattens the computed draw ranges, so we got rid of the old ugly way of flattening the ranges. Update MeshBatch, PointBatch and InstancedMeshBatch

* More adjustment to point batch

* Implemented a common PrimitiveBatch which can be used for any typical primitive based rendering (triangles, lines, points) as abstract. Our Mesh and Point batch will use most of the common implementation. Updated MeshBatch to extend PrimitiveBatch

* Updated PointBatch to extend PrimitiveBatch

* Tried making the instaned mesh batch extend the primitive batch but there was no point, they too different to make sense. Got rid of the pointless circular dependency between the instaned batch and mesh

* fixed viewer build

* Removed unused code and execution time measurements

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-04-02 15:48:01 +03:00
Dimitrie Stefanescu 752a9197c2 Merge pull request #2185 from specklesystems/alex/WEB-745
WEB-745
2024-04-02 11:59:58 +01:00
Dimitrie Stefanescu 34214edcde Merge pull request #2186 from specklesystems/alex/preview-aspect-ratio
Fixed preview-image incorrect aspect
2024-04-01 18:09:40 +01:00
AlexandruPopovici cc21424801 Forced a resize in the preview-service so that the projection matrix get forcefully updated 2024-04-01 20:05:35 +03:00
Kristaps Fabians Geikins 99ddf3d043 chore: prettier precommit fix 2024-04-01 15:42:10 +00:00
Kristaps Fabians Geikins cabce9e384 feat(fe2): removing prefetch of panoramic previews 2024-04-01 15:28:58 +00:00
Kristaps Fabians Geikins e60e9e40ba feat(fe2): removing prefetch of panoramic previews 2024-04-01 15:17:06 +00:00
Kristaps Fabians Geikins 9302d7e565 chore: set devcontainer to target node 18 2024-04-01 15:15:26 +00:00
Kristaps Fabians Geikins 19fcdfcdf6 feat(fe2): optimizing preview image loading for a better LCP score (#2178)
* feat(fe2): optimizing preview image loading for better LCP

* added requestIdleCallback polyfill

* feat(fe2): load previews directly w/o blob urls

* enabling direct previews & improving image caching/preloading

* minor extra optimization

* hydration mismatch fix
2024-04-01 15:03:28 +03:00
AlexandruPopovici d25416d44a Fixed WEB-745 2024-04-01 13:15:17 +03:00
Kristaps Fabians Geikins c81d6f281d dd error ctx improvements 2024-03-29 21:58:10 +02:00
Kristaps Fabians Geikins 76bfd9121f feat(fe2): better error tracking to DataDog (#2183)
* feat(fe2): better error tracking to DataDog

* minor adjustment
2024-03-29 17:03:33 +02:00
Kristaps Fabians Geikins 7e96d433f9 gracefully handling objectloader unauth req 2024-03-29 15:58:11 +02:00
Kristaps Fabians Geikins 94b0b5f5e0 fix(server): cross server sync not respecting token (#2181)
* fix(server): cross server sync not respecting token

* minor adjustment

* getting rid of token positional arg
2024-03-29 15:21:06 +02:00
Kristaps Fabians Geikins 764c85da05 fix(fe2): fix login not working due to unsupported regex on Safari (#2180)
* fix(fe2): fix login not working due to unsupported regex on Safari

* added logging message for iain
2024-03-29 11:06:43 +02:00
Kristaps Fabians Geikins 8fcc1e2bb8 chore: re-enable rover checks (#2179) 2024-03-28 17:00:30 +01:00
Kristaps Fabians Geikins 59f6c85ae3 fix(fe2): switch back to RollingUpdate deployment 2024-03-28 16:55:24 +02:00
Kristaps Fabians Geikins e82b9024da Update prevent404Cache.ts 2024-03-28 15:52:10 +02:00
andrewwallacespeckle 17c285b18f fix(fe2): add bg-foundation to segmentation dialogs (#2171)
* Add background to segmentation dialog

* Consistent backgrounds

* Remove console warning around survicate
2024-03-28 13:25:42 +00:00
Kristaps Fabians Geikins 3990d9c58b Update deployment.yml 2024-03-28 14:35:01 +02:00
Kristaps Fabians Geikins c7d21fbee4 fix(fe2): prevent 404 asset requests being cached (#2177)
* fix(fe2): prevent 404 asset requests being cached

* moving back to RollingUpdate
2024-03-28 14:11:49 +02:00
Gergő Jedlicska 3b1405dfba feat: recreate the deployment for FE2 to get around caching issues (#2176) 2024-03-28 13:26:52 +02:00
Kristaps Fabians Geikins dd82e94a2f random readme change to trigger deployment 2024-03-28 12:36:44 +02:00
Kristaps Fabians Geikins b2b1c9cc6a fix: disable rover checks for now (#2175) 2024-03-28 12:09:41 +02:00
Kristaps Fabians Geikins e782a82e10 fix(fe2): more resilient route definition resolution that also works … (#2174)
* fix(fe2): more resilient route definition resolution that also works on 404s

* improvements
2024-03-28 11:33:55 +02:00
github-actions[bot] 4947573584 Update image digests (#2172)
Signed-off-by: specklebot <devops@speckle.systems>
Co-authored-by: specklebot <devops@speckle.systems>
2024-03-28 08:57:01 +00:00
Kristaps Fabians Geikins 689fdfe686 fix(fe2): survicate preventing the app from loading when adblock is on (#2173) 2024-03-28 10:35:51 +02:00
andrewwallacespeckle 6ba9bd248a Update deployment.yaml (#2170) 2024-03-27 16:33:19 +02:00
andrewwallacespeckle 19a48f7dff feat(fe2): add survicate nps survey (#2154)
* Initial Plugin

* Add survey id. Working - with errors

* Check Onboarding cookie

* Removing existing feedback request

* Working Survicate for testing

* Remove old feedback Banner/Dialog

* Update env

* feat(server): projects query optimization

* added version count resolution

* PR Comments

* Fix brittle date

* Add client suffix

* Changes from call with Fabians

* Final changes

* Skip initialization if the survicateWorkspaceKey is empty or undefined

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-03-27 14:26:34 +00:00
Iain Sproat 6ff83588ca chore(circleci): remove dui3 test (#2169) 2024-03-27 12:14:46 +00:00
Iain Sproat 8842a8f840 chore(deps): bump express to 4.19.2 (#2166)
* chore(deps): bump express to 4.19.2
- address https://security.snyk.io/vuln/SNYK-JS-EXPRESS-6474509

* chore(deps): update express used by speckle-server
2024-03-26 10:23:04 +00:00
Iain Sproat 49eb3768fb chore(deps): bump tar to 6.2.1 (#2162)
- resolves SNYK-JS-TAR-6476909
2024-03-26 09:35:23 +00:00
Kristaps Fabians Geikins f650d8645f fix(fe2): further datadog view name resolution improvements (#2164)
* fix(fe2): further datadog view name resolution improvements

* minor improvement

* auto accept invite fix
2024-03-26 10:18:54 +02:00
andrewwallacespeckle 45b958397f feat(fe2): vimeo video wrapper component and update links from youtube (#2155)
* Swap Onboarding videos from YouTube to Vimeo

* New VideoWrapper Component

* Update name to VimeoEmbed
2024-03-25 16:53:39 +00:00
andrewwallacespeckle 1f48de66f3 Fix console warnings around form elements (#2157) 2024-03-25 16:20:59 +00:00
Alexandru Popovici aeaf43bd6d Fix for #WBX-435 (#2148) 2024-03-25 15:45:05 +02:00
andrewwallacespeckle f2f4380374 feat(fe2): dont zoom out when quick measuring in perpendicular mode (#2160)
* WIP - To confirm

* Check for measure mode in selection.ts

* Remove un-needed change

* Only disable when in perpendicular mode

* Update naming
2024-03-25 13:35:04 +00:00
Kristaps Fabians Geikins 3fcd788c81 fix(fe2): further datadog view name improvements (#2161)
* fix(fe2): further datadog view name improvements

* minor fix
2024-03-25 15:18:39 +02:00
Iain Sproat fc667dbbae chore(deps): bump webpack-dev-server from 4.9.0 to 4.15.2 (#2159)
- address https://github.com/specklesystems/speckle-server/security/dependabot/225
2024-03-25 12:45:15 +00:00
Kristaps Fabians Geikins 2a0e1b899e fix(fe2): overriding some view names that datadog resolves incorrectly (#2158) 2024-03-25 11:40:17 +02:00