Commit Graph

2365 Commits

Author SHA1 Message Date
AlexandruPopovici fcea53ddd2 Implemented the concept of RenderTree which just extends the functionality of the general purpose WorldTree. Moved all geometry conversions to a seaprate source where no async, no fetches, no special things happen, with the intent of possibly moving this to a webworker in the future 2022-06-03 16:37:06 +03:00
AlexandruPopovici 59ad804227 working on tree parsing 2022-06-02 17:18:07 +03:00
pre-commit-ci[bot] 70971152a0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-05-26 15:35:17 +00:00
AlexandruPopovici 0853a5acb2 Fixed an issue with selecting lines which are inside block instances. However that still doesn't work properly because the actual geometry isn't getting tested at pick time due to some issues inside SelectionHelper 2022-05-26 17:41:06 +03:00
Fabians b12d51463d Merge branch 'alex/viewer-redux' of github.com:specklesystems/speckle-server into alex/viewer-redux 2022-05-26 16:55:58 +03:00
Fabians be87f88ff6 viewer asset support 2022-05-26 16:55:09 +03:00
AlexandruPopovici e43f7136b8 #746 Fixed some issues regarding selecting lines and the visual response looks 2022-05-26 16:03:52 +03:00
AlexandruPopovici 482862d896 Fixes regarding block instances and selecting stuff 2022-05-26 14:56:26 +03:00
AlexandruPopovici c55f73185f Merged with main. Fixed an issue with geometry baking 2022-05-26 11:46:19 +03:00
AlexandruPopovici 448ae95d8b Added a sample hdr to the assets 2022-05-26 11:01:11 +03:00
AlexandruPopovici abf636c946 #746. Used vector buffers in the speckle materials to avoid pointless nursery pressure. Some lint-related fixes 2022-05-26 10:20:44 +03:00
Dimitrie Stefanescu df238a6992 Merge pull request #774 from specklesystems/dim/angle-previews
fix(frontend): weird bug fix for legacy track on previews (see comment in code)
2022-05-25 16:28:50 +01:00
Dimitrie Stefanescu 82b5c449b2 fix(frontend): weird bug fix (see comment in code) 2022-05-25 16:26:52 +01:00
Dimitrie Stefanescu 5b5084b87f Merge pull request #772 from specklesystems/dim/angle-previews
Angle previews improvements
2022-05-25 15:47:08 +01:00
Dimitrie Stefanescu 6154e911b0 fix(frontend): implements concurrent img loading 2022-05-25 15:42:10 +01:00
Dimitrie Stefanescu a222119d32 fix(frontend): concurrent img loading 2022-05-25 15:40:10 +01:00
AlexandruPopovici 168838b059 Fixed lint errors 2022-05-25 17:34:14 +03:00
Dimitrie Stefanescu 404eea12e9 fix(server): removes console.logs 2022-05-25 15:17:25 +01:00
Dimitrie Stefanescu 6a695eab56 Merge pull request #760 from specklesystems/dim/angle-previews
feat(frontend): animated preview images
2022-05-25 14:59:07 +01:00
pre-commit-ci[bot] d609a5e420 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-05-25 13:41:06 +00:00
Dimitrie Stefanescu 3b983ee382 feat(frontend): touch events for 3d previews 2022-05-25 14:39:34 +01:00
Alexandru Popovici 12d3a216b6 Fixed transformation order for arcs. Fixed origin not being scaled accordingly (#769) 2022-05-25 16:31:10 +03:00
Gergő Jedlicska 1b3f653eca build(preview-service): remove ghost dependencies from preview service (#770) 2022-05-25 14:24:03 +02:00
AlexandruPopovici f2fdf545b7 Added automatic loader selection based on file extension. Changed the default environment in the sandbox 2022-05-25 12:29:39 +03:00
Kristaps Fabians Geikins f48aba7632 fix(frontend): branch stale cache bug when creating/deleting them (#767)
* fix(frontend): branch stale cache bug when creating/deleting them

* fix(frontend): making user avatar hover menu not close on content click
2022-05-25 11:50:09 +03:00
Gergő Jedlicska a4a7cb35b9 feat(fileimports): update container timeout
update timeout in helm chart
2022-05-24 19:14:11 +02:00
AlexandruPopovici 99dd44eb07 Added viewer params 2022-05-24 18:28:14 +03:00
Kristaps Fabians Geikins 1c1fadb754 fix(frontend): fixed toolbars/navbars/action bars showing the wrong content randomly (#762) 2022-05-24 17:02:10 +03:00
Alexandru Popovici 40f7487cfd Acos fix (#766)
* Fixed an issue where floating point precision would lead to acos returning NaN

* Wrong paranthesis close
2022-05-24 16:46:45 +03:00
AlexandruPopovici 284877c443 Added AuthToken for the sandbox 2022-05-24 16:37:38 +03:00
Fabians 758d4fb125 attempted viewer build fix 2022-05-24 15:59:56 +03:00
Gergő Jedlicska 7d7427671c feat(helm chart): make sure the helm chart includes the required namespace for the app (#765) 2022-05-24 11:31:39 +02:00
AlexandruPopovici 439201ce0e Merged with main 2022-05-24 12:12:30 +03:00
AlexandruPopovici 71ce007a08 #746. Added remaining material extensions and replaced them where required. 2022-05-24 12:08:28 +03:00
Gergő Jedlicska 8ffd2e74c0 feat(fileimports): increase timeout of ifc fileimports operation (#763) 2022-05-24 10:01:54 +02:00
Dimitrie Stefanescu b71bbe6379 feat(frontend): added rotation prop, defaulted to "opt-in"; opted in commit and stream preview cards 2022-05-24 00:34:16 +01:00
Dimitrie Stefanescu ab98402eba feat(frontend): no more flickering! 2022-05-24 00:31:25 +01:00
Dimitrie Stefanescu 51eb0c6474 feat(frontend): reduce flicker + implementation notes 2022-05-23 23:34:37 +01:00
Kristaps Fabians Geikins e5880e73f2 feat(backend): comment reply text xss fix (#761)
* feat(backend): comment reply text xss fix

* fix(root): pre-commit npx to yarn

* chore(server): added test
2022-05-23 17:44:28 +03:00
Dimitrie Stefanescu 785a83c03b feat(frontend): improved legacy mode handling (5 angles vs 24) 2022-05-23 11:58:33 +01:00
Kristaps Fabians Geikins ff0836275c chore(frontend): fixing three.js imports & getting rid of some duplicate packages (#759) 2022-05-23 11:46:05 +02:00
Dimitrie Stefanescu 174ce64004 feat(frontend): animated preview images
changes:
- preview service generates full 360 images now
- preview image component loads on hover
- preview image component backwards compat with non-360 image angles
- adds optional angle arguments in all preview routes & removes superflous route
2022-05-22 11:50:07 +01:00
AlexandruPopovici 81a4de69b2 #746. Figured out how to clamp the world space thick lines to any pixel value when they're screen size width becomes less than 1 pixel and they start to basically dissapear. 2022-05-20 15:57:57 +03:00
Gergő Jedlicska 638969cd01 gergo/yarn (#753)
* yarn first go

* fix frontend build cache loader

* yarn workspaces built server Docker

* build(yarn): add workspaces plugin config

* chore(package defs): clean package*.json -s

* chore(gitignore): ignore yarn error log

* build(yarn): update yarn lock

* build(preview-service webpack): add extra resolved path to preview service webpack config

because of yarn package hoisting, there are no package level node_modules folder anymore.

* build(docker): update dockerignore with yarn specific configs

* build(docker): update Dockerfiles for yarn workspaces utilization

* ci(circleci): update server test job to yarn

* ci(circle): disable cache restore

* ci(circleci): trying the node orb yarn-run

* ci(circleci): yarn-run again

* ci(circleci): disable node orb

* ci(circleci): change base node image for tests

* ci(circleci): add yarn cache

* ci(circleci): remove node install step

* ci(circleci): add server specific cache archives

* ci(circleci): test build and publish

* ci(circleci): change npm auth method to suit yarn

* ci(circleci): trying new builder image

* ci(circleci): another base image, maybe this works

* ci(circleci): force a specific docker engine version

* ci(circleci): add yarn version plugin and its changes

* ci(circleci): cleanup and remove temp branch config

* chore(package defs): moving from npm run to yarn

* explicitly specifying webpack4 as a frontend dep

* chore(package defs): replace npm with yarn everywhere

* docs(root readme): update with some yarn specific docs

* chore(root workspace): update dev scripts and package lock

* ci(circleci): enable package publish step with yarn

Co-authored-by: Fabians <fabis94@live.com>
2022-05-19 19:53:07 +02:00
AlexandruPopovici 1599970f22 #746 Made the new thick lines work with RTE 2022-05-19 13:05:34 +03:00
AlexandruPopovici 1eb44d00d9 Updated three.js version to 140. Thick lin raycasting now properly works in world space and also the threshold in world space is now accurate. 2022-05-18 11:53:50 +03:00
Gergő Jedlicska fb5f49c516 (ci) temp disable npm publish 2022-05-18 10:36:34 +02:00
AlexandruPopovici e574623a43 #746 Fixed an issue with RTE and basic line geometry. Group transforms were not baked into the high and low attributes. Now they work correctly 2022-05-17 22:42:06 +03:00
AlexandruPopovici a3c7dcf408 #746 Implemented RTE for basic line materials (non thick) 2022-05-17 17:53:49 +03:00
AlexandruPopovici 742d83296e #746 Added real time switching between thick and regular lines 2022-05-17 17:12:02 +03:00