Commit Graph

103 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 889bb27631 fix(viewer): accounts for empty arrays when dechunking 2021-05-17 17:25:58 +01:00
Dimitrie Stefanescu 78cbf0b098 chore(viewer): corrects npm version 2021-05-13 19:00:38 +01:00
Dimitrie Stefanescu b77239b2b2 chore(viewer): bumps npm version 2021-05-13 18:53:27 +01:00
Dimitrie Stefanescu e0eba09d79 refactor(viewer): removes unused files & cleans up console logs 2021-05-13 18:51:43 +01:00
Dimitrie Stefanescu 1567c341ae feat(viewer): adds pointcloud support 2021-05-13 18:48:47 +01:00
Dimitrie Stefanescu 0ee8c86504 feat(viewer): last loaded url is stored locally and persisted between page refreshes
makes debugging easier!
2021-05-13 18:48:19 +01:00
Dimitrie Stefanescu 9afd842528 Merge pull request #234 from specklesystems/dim/dev
Adds Mesh Colours Support 🌈
2021-05-11 10:02:52 +01:00
Dimitrie Stefanescu c836e531ee fix(viewer): wraps up #218
and removes expired token. note: only public streams will work in the viewer example app
2021-05-10 22:41:43 +01:00
Dimitrie Stefanescu 2e72408d76 fix(viewer): style police: dangling code removal 2021-05-10 22:37:47 +01:00
Dimitrie Stefanescu 3e95142a36 feat(viewer): adds support for 🌈 meshes 2021-05-10 22:15:05 +01:00
Dimitrie Stefanescu 13502398f7 Merge pull request #233 from specklesystems/dim/dev
Named View Support
2021-05-10 18:35:45 +01:00
Dimitrie Stefanescu c7c740fb57 feat(viewer): bumps version 2021-05-10 17:17:40 +01:00
Dimitrie Stefanescu b1f963451f feat(viewer): adds handling for named views (partly closes #193) 2021-05-10 17:15:44 +01:00
dependabot[bot] 5651121f6f build(deps): bump hosted-git-info in /packages/viewer
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 21:08:04 +00:00
Dimitrie Stefanescu 72f739946b Merge pull request #223 from specklesystems/dependabot/npm_and_yarn/packages/viewer/url-parse-1.5.1
build(deps): bump url-parse from 1.4.7 to 1.5.1 in /packages/viewer
2021-05-07 16:19:44 +01:00
dependabot[bot] b3ca8308e8 build(deps): bump lodash from 4.17.20 to 4.17.21 in /packages/viewer
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 15:16:08 +00:00
dependabot[bot] f646a7d241 build(deps): bump url-parse from 1.4.7 to 1.5.1 in /packages/viewer
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 15:15:00 +00:00
Dimitrie Stefanescu f327aa5f8a improvement(viewer): selection events now emit actual object user metadata 2021-05-07 12:13:42 +01:00
Alan Rynne 6e93cff174 Merge pull request #206 from specklesystems/alan/curve-fix
Viewer: Curve conversion improvements
2021-04-30 17:24:49 +02:00
Matteo Cominetti d3eaa19216 fix: makes public streams visible to non logged users #105 2021-04-29 19:39:39 +01:00
Alan Rynne 6d293724ea fix(viewer): Fixed Arc conversion
Added PlaneToMatrix4 conversion (pos, rot, scale)
2021-04-29 11:58:58 +02:00
Alan Rynne 41f91e9bbb viewer: Fixed ellipse conversion 2021-04-28 14:05:14 +02:00
Dimitrie Stefanescu 23ef3e8f30 feat(viewer): adds method to customise camera max polar angle at runtime
this controls wether the camera can look from down upwards - by default this is off, but now it can
be easily re-enabled.
2021-04-26 21:11:03 +01:00
Dimitrie Stefanescu bff56f3fd4 feat(viewer): adds section box on/off events 2021-04-26 21:03:56 +01:00
Dimitrie Stefanescu acc5e75528 fix(viewer): adds null checks on obj doubleclick events 2021-04-26 20:57:22 +01:00
Dimitrie Stefanescu 5eeeae53a1 feat(viewer): adds selection & doubleclick events 2021-04-26 20:57:03 +01:00
Dimitrie Stefanescu 8ce8180130 fix(viewer): fixes some conversion errors & closes #151 2021-04-26 20:36:18 +01:00
Dimitrie Stefanescu 6ac66c5726 chore(viewer): bumps version 2021-04-23 20:03:56 +01:00
Dimitrie Stefanescu a5dcff873e feat(viewer): adds buttons for some of the new functionality in the example app 2021-04-23 20:02:08 +01:00
Dimitrie Stefanescu 3165b8ad01 feat(viewer): adds rotateTo func for top, bottom, side, etc. views 2021-04-23 19:47:29 +01:00
Dimitrie Stefanescu f3ada78463 feat(viewer): adds native screenshot capability (image/png) 2021-04-23 16:21:38 +01:00
Dimitrie Stefanescu c11630fc14 feat(viewer): adds several optional parameters to various functions
(1) post load function skipping; (2) zoom fit; (3) zoom transitions; (4) camera rotation;
2021-04-23 15:34:40 +01:00
Dimitrie Stefanescu e95962cd63 improvement(viewer): cleans up example file 2021-04-23 15:32:40 +01:00
Cristian Balas 09de8184a7 viewer.loadObject now returns after loading (#187) 2021-04-22 13:47:03 +03:00
Dimitrie Stefanescu 39cf15800a Merge pull request #156 from specklesystems/dim/loader-separation
Dim/loader separation
2021-03-26 20:05:42 +00:00
Dimitrie Stefanescu ff5c35a685 feat(viewer/frontend): shows alert if no objects were loaded in viewer 2021-03-26 19:56:36 +00:00
Dimitrie Stefanescu 34412f0d9c chore(viewer): bumps version 2021-03-26 19:55:16 +00:00
Dimitrie Stefanescu 52a9829752 improvement(viewer): emits a warning if no 3d objects are found during the load process 2021-03-26 18:43:09 +00:00
Dimitrie Stefanescu 846223fbb9 fix(viewer): allows non-auth requests to happen; error converted to console warning 2021-03-26 09:39:15 +00:00
Dimitrie Stefanescu e57e1c2672 Update readme.md 2021-03-25 19:21:46 +00:00
Dimitrie Stefanescu ed866b553a chore(packages): prepares package.json files for pub on npm for viewer & objectloader 2021-03-25 19:03:49 +00:00
Dimitrie Stefanescu e0641639da feat(loader): separated object loader into separate package 2021-03-25 17:27:29 +00:00
Dimitrie Stefanescu 54fbbb87b5 Merge pull request #132 from specklesystems/matteo/dev
Matteo/dev
2021-03-12 10:22:42 +00:00
Alan Rynne 0c832c69ea fix(viewer): Removed unnecessary warning 2021-03-11 12:39:03 +01:00
Alan Rynne 8e13907786 fix(viewer): Arc and circle radius bug 2021-03-11 12:27:49 +01:00
Matteo Cominetti 56d3ef22e6 chore: updates discourse.speckle.works links 2021-03-10 21:40:29 +00:00
Alan Rynne b90f1c157d fix(units): Arc and circle now use conversionFactor 2021-03-10 15:57:29 +01:00
Dimitrie Stefanescu 400f01baf6 fix(viewer): selecting curves now working as it should
split up selection handling logic per object type, and not supporting points because of bbox issues
and general zoom to object constraints (for now)
2021-02-25 19:08:27 +00:00
Dimitrie Stefanescu d15dddc3a0 improvement(viewer): removes hot try catch (keeps conversion stub as commented code) 2021-02-25 18:39:35 +00:00
Alan Rynne decfc63665 fix(viewer): Missing bbox delete in line 2021-02-25 11:49:28 +01:00