Commit Graph

3350 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 76e179ab08 Merge branch 'main' into dim/viewer-redux 2022-08-11 13:50:44 +03:00
Dimitrie Stefanescu ac0339871d Merge branch 'main' into dim/viewer-redux 2022-08-11 12:12:15 +03:00
Kristaps Fabians Geikins 0427f5cfd1 feat(server): new base email template + implementation for invites emails (#903)
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2022-08-11 11:00:01 +03:00
AlexandruPopovici 03defca1a8 827 Added RTE to points and point clouds. Fixed an issue with point coulds where if the object had a render material with a black diffuse color it would make all the point cloud black, regardless of the vertex colors. 2022-08-10 14:33:20 +03:00
Iain Sproat 427050a15d chore(pre-commit): Add shellcheck to pre-commit hook (#850)
* chore(pre-commit): adds shellcheck
* Resolves shellcheck linting issues in existing files
2022-08-09 15:00:51 +01:00
AlexandruPopovici 24a2f20973 A small improvement to the line width marching part of the line shader. This helps a bit with situations where we have to draw 0.00Xmm width lines 2022-08-09 16:26:05 +03:00
Iain Sproat 1c5964fc41 Add Hadolint to pre-commit (#848)
* Adds hadolint as pre-commit step
* Addresses all hadolint comments
  * Use noninteractive apt-get frontend and clean after install
  * dockerfile RUN statements are consolidated to prevent additional layers
  * installed packages have pinned versions
* build(circleci): use speckle pre-commit runner with built-in hadolint
* Integrate pre-commit with husky bash script for git pre-commit hooks
  * catches errors in bash
  * if pre-commit is installed, it is run
  * if optional additional binaries are installed, further pre-commit steps are run
* Update README with revised developer instructions
* Adds a pre-commit yarn script
2022-08-09 13:47:02 +01:00
Dimitrie Stefanescu 4b1691c69f feat(filtering): ghost/hide nonmatching objects on filtering with props 2022-08-09 15:14:28 +03:00
Dimitrie Stefanescu eda97af834 feat(filtering): color by number props 2022-08-09 14:59:10 +03:00
AlexandruPopovici 0e9843aba8 #828 Implemented automatic draw range setting after autocompleting draw ranges. This will make sure that hidden objects will not have their shadows draw, as well as you cannot pick hidden objects. Additionally I also made hidden lines not pickable 2022-08-09 14:11:30 +03:00
Dimitrie Stefanescu a4d568477a feat(filtering): colors by category string props and other improvements on the get object filters/props 2022-08-09 12:49:49 +03:00
AlexandruPopovici 81a7af38c7 #828 Got the IBO shuffling approach working. MeshBatch now has a new method which gets called instead of the old autocompleteDrawRanges. This method orders the draw groups, compresses them into as few as possible (1 per material), re-shuffles the index buffer, then finally updates the rvs batch data information with the new indices after re-shuffling. This way we cut down drastically on redundant draw calls when applying multiple materials on batches 2022-08-08 17:27:23 +03:00
Dimitrie Stefanescu 627eb50ec9 feat(filtering): wip colors 2022-08-06 21:30:46 +03:00
Dimitrie Stefanescu 4a29483871 feat(filtering): adding ghosting option to show/hide 2022-08-06 11:59:09 +03:00
Dimitrie Stefanescu 87755320a2 feat(filtering): tree-based isolation & visibility filtering 2022-08-06 11:45:30 +03:00
Dimitrie Stefanescu a6009070fb feat(filtering): isolation is back 2022-08-06 09:45:39 +03:00
Dimitrie Stefanescu 3801403bd7 feat(filtering): wip 2022-08-05 14:57:21 +03:00
Fabians abe160cc8d fix(viewer): build shouldnt clear dist in between both ESM & CJS builds 2022-08-05 13:58:37 +03:00
Kristaps Fabians Geikins 0cc69fece8 fix(frontend): workaround for @speckle/viewer not found error when running dev server (#892) 2022-08-05 13:08:39 +03:00
Dimitrie Stefanescu 221bde0f21 chore(viewer): leaves more breathing and thinking room 2022-08-05 12:33:36 +03:00
Gergő Jedlicska 39ff677e10 fix(server dockerfile): fix wait not available in the final runtime image 2022-08-05 10:45:06 +02:00
Dimitrie Stefanescu 7862dce1c1 Merge pull request #891 from specklesystems/fabians/821-viewer-embed-cleanup
fix(frontend): wraping fix in comment slideshow
2022-08-04 21:13:26 +01:00
Dimitrie Stefanescu 83464b5505 fix(frontend): wraping fix in comment slideshow 2022-08-04 23:12:45 +03:00
Dimitrie Stefanescu 76954315dc Merge pull request #885 from specklesystems/fabians/821-viewer-embed-cleanup
feat(frontend): viewer help styling
2022-08-04 15:31:59 +01:00
Dimitrie Stefanescu bfcd8a3297 feat(frontend): viewer help styling 2022-08-04 17:30:30 +03:00
Dimitrie Stefanescu 5d178f270a Merge pull request #878 from specklesystems/fabians/821-viewer-embed-cleanup
Embed Extras
2022-08-04 14:42:41 +01:00
Dimitrie Stefanescu 92dba76b88 feat(frontend): removes stale code 2022-08-04 16:02:11 +03:00
Dimitrie Stefanescu 4acd10eb39 feat(frontend): refactors nextComment 2022-08-04 16:00:44 +03:00
Kristaps Fabians Geikins b966f20fdb refactor(server): typescript support (#874)
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2022-08-04 14:21:39 +02:00
Kristaps Fabians Geikins d27e7fb671 fix(frontend): various minor FE fixes + gitguardian config (#879)
* fixed delayed pwd too weak error + gitguardian config

* registration btn disabled when loading
2022-08-04 12:37:22 +02:00
Gergő Jedlicska 214db9a9bb fix(frontend container): add default value for FILE_SIZE_LIMIT_MB (#880)
this prevents breaking the existing deployments which do not provide this env variable
2022-08-04 11:59:57 +02:00
AlexandruPopovici f30e7e29d0 Fixed a small issue with triangulation which is already fixed on main, but no here 2022-08-04 12:56:42 +03:00
AlexandruPopovici 70aef88db0 #827 Added HIDDEN filter type. It's nice because it's just another material with it's visible flag disabled, so it works the exact same way as any other filter type 2022-08-04 12:51:18 +03:00
Dimitrie Stefanescu 085370e8c6 feat(frontend): review changes 2022-08-04 11:55:09 +03:00
Dimitrie Stefanescu 186f193186 fix(frontend): review changes 2022-08-04 11:38:24 +03:00
Dimitrie Stefanescu 729b4fe777 feat(frontend): adds extra embed options + refactors layout (expansion panels) 2022-08-04 11:34:35 +03:00
Dimitrie Stefanescu e7c203f130 feat(frontend): centered next & prev buttons for comment slideshow 2022-08-04 10:52:51 +03:00
Dimitrie Stefanescu 2a07733b77 feat(frontend): various
adds basic "help" for the 3d viewer, parametrizes extra stuff, adds comment slideshow mode, fixes
transparency, etc.
2022-08-04 10:14:08 +03:00
AlexandruPopovici ac13491887 #827 Fixed an issue with the camera not focusing correctly on objects from streams that were moved from their original position 2022-08-03 19:57:12 +03:00
AlexandruPopovici ed8d577bc5 Implemented moving streams (as a whole) in the sandbox from the UI. As in change their 3D position in real time 2022-08-03 19:03:43 +03:00
AlexandruPopovici af342b3e3e #827. Finished with multiple streams loading/unloading in the same seesion. Things seem to work correctly, and also there's almost no memory leaking at all upon loading/unloading 2022-08-03 16:58:39 +03:00
Gergő Jedlicska 71a2d89483 fixFrontendNginxPipefail (#870)
* fix(frontend nginx): fix pipefail not found in prod base image

* fix(frontend nginx entrypoint): add pipefail to entrypoint script
2022-08-03 10:02:09 +02:00
Dimitrie Stefanescu a463403f3f feat(frontend): extra transparency fixes, added reply in speckle button for embedded comment threads, etc. 2022-08-03 10:25:15 +03:00
Dimitrie Stefanescu 3e8ed8cd1d feat(frontend): adds extra query params + transparency fix 2022-08-03 09:48:09 +03:00
AlexandruPopovici 9435d71e70 #827 Fixed issues with lighting and shadows after last update 2022-08-02 23:40:43 +03:00
AlexandruPopovici ac35b8e9d2 Merge branch 'alex/viewer-redux' into alex/viewer-redux-multi-tree 2022-08-02 19:01:35 +03:00
AlexandruPopovici 582d9c0af8 Merged with main 2022-08-02 18:59:52 +03:00
AlexandruPopovici c90fe75356 #827 Implemented most of multi-stream adding to the viewer. Mostly works, just needs some quality of life changes + making sure stuff doesn't leak too bad when removing 2022-08-02 18:47:59 +03:00
AlexandruPopovici 168f88298d #827 Enabled shadow recieving for transparent objects as well 2022-08-02 13:45:22 +03:00
AlexandruPopovici bdd51cfcf5 #827 Fixed an issue with raycaster not having a null check. Removed massive redundancy in applyin filters. Now filters apply 30-40 times faster. More improvement can be done, but this was a low hanging fruit 2022-08-02 13:12:16 +03:00