Commit Graph

190 Commits

Author SHA1 Message Date
andrewwallacespeckle 974598b1fd Check for showControls (#4024) 2025-02-18 15:44:17 +00:00
andrewwallacespeckle 91cb011ded feat(fe2): New user onboarding flow (#3932)
* CodeInput. verify-email page

* middleware

* Loading toast

* Countdown only for registration

* Improve middleware

* Fix middleware breaking auth flow

* Remove old notifications

* Remove old onboarding. New segmentation

* Remove skip button

* Block verify email when verified

* useUserEmails composable. Cancel addition

* Move user emails queries

* Fix fragments etc

* redirect updates

* HeaderWithEmptyPage

* Check env before enforcing

* Join workspace

* Updates

* Fix console warnings on login

* Fix register console warnings

* Working cache updates

* Verify secondary email

* Force onboarding off

* EMAIL WIP

* useIsJustRegistered state

* Improve isRequired

* Uneeded change

* Improved slots

* Updates from CR

* CR comments

* Only show message if forced

* Update onboarding middleware

* Update loading bar

* ref > computed to fix onboarding

* Resend tooltip. Better errors

* Add other to form.

* Email changes

* Updates to emails

* Remove force email FF

* Remove FF's

* Hide header on embed

* Update graphql.ts

* Re-add FF

* Update graphql.ts

* GQL Fragments

* Fix build
2025-02-14 10:20:14 +00:00
andrewwallacespeckle 8855bd4506 remove negative margin when embed (#3966) 2025-02-12 11:16:50 +00:00
andrewwallacespeckle fc5f680c12 Remove debug code 2025-02-11 13:21:08 +00:00
Dimitrie Stefanescu 10bda8b26a Merge pull request #3903 from specklesystems/mike/web-2526-update-loadobjectsasync-to-use-the-loader
Fix: Change loadObjectAsync to new loader
2025-02-10 19:56:30 +00:00
Dimitrie Stefanescu c7f6e51c79 Merge branch 'mike/web-2526-update-loadobjectsasync-to-use-the-loader' of https://github.com/specklesystems/speckle-server into mike/web-2526-update-loadobjectsasync-to-use-the-loader 2025-02-10 15:18:24 +00:00
Dimitrie Stefanescu 6b2e1c3750 feat: beautfication 2025-02-10 14:40:00 +00:00
Mike 6075385d47 Feat: Remove Gendo Contest link (#3942) 2025-02-07 10:39:38 +01:00
Mike Tasset 003497844f Merge branch 'main' into mike/web-2526-update-loadobjectsasync-to-use-the-loader 2025-02-03 13:51:07 +01:00
Mike Tasset 239f0c07b3 Updated loader styling 2025-02-03 11:39:46 +01:00
Mike 86c34890f3 Feat: Add contest link to Gendo panel (#3923) 2025-02-03 11:03:49 +01:00
Dimitrie Stefanescu 1f9f3f9897 feat(viewer): adds loading progress basics 2025-01-29 15:26:16 +00: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
andrewwallacespeckle e05ce471ee Commit for testing (#3892) 2025-01-27 09:36:23 +01:00
andrewwallacespeckle c9fb11cb64 feat(fe2): Update permissions needed to use Gendo (#3844)
* Check if user can contribute to project

* Reorder tooltip prio

* Fix tippy reactivity

* Fix reactivity. Add loading icon

* Update graphql.ts

* Add feedback mechanism

* Update Dialog.vue

* Adjust feedback dialog intro

* handleFeedback
2025-01-21 14:34:00 +00:00
andrewwallacespeckle 58abe11948 fix(fe2): Fix gendo list subscription (#3840)
* Fix subscriptions

* Fix ff

* add value

* Remove v-if

* Fix
2025-01-16 14:12:33 +00:00
andrewwallacespeckle 67ecab2569 Update Panel.vue (#3839) 2025-01-16 12:53:59 +00:00
Alexandru Popovici b4deaded0f PassReader updates for View Modes (#3828)
* feat(viewer-lib): Updates to the PassReader extension along with underlying viewer library updates
Implemented reading framebuffer contents for framebuffers with multiple attachements. The current version of three.js that we are using does not support this. Because we still need to drag along WebGL 1.0 support, only attachement 0 can be read for now, which does not bother us.
DepthNormalPass now specifies it's MRT output target as the outputTarget
PassReader's read function is now overloaded and it can take a pass name as a string or a GPass | GPass[]
Had to add a small type augmentation since the current version of types-three library does a poor job when it comes to WebGLMultipleRenderTargets
Updated PassReader extension in frontend and updated the call to read in order to make sure depth reading works in other view modes that write depth. The only view mode that does not draw to depth is Shaded mode

* fix(viewer-lib): Fixed the classic sandbox compile error

* fix(frontend-2): Updated depth reading to work with MRT depth from our view mode pipelines
2025-01-16 13:59:13 +02:00
Benjamin Ottensten ef0c800ba5 Update link to Gendo forum post (#3832) 2025-01-15 15:11:34 +00:00
andrewwallacespeckle 38f2d3a38a feat(fe2): Add reset date to gendo panel when out of credits (#3829)
* Add reset date to panel when out of credits

* Fix alignment of list

* Caption alignment

* Use dayjs
2025-01-15 14:29:54 +00:00
andrewwallacespeckle 601fea0219 refactor(fe2): General UX improvments (#3827)
* Improved loading states

* Improved Scroll List

* Set > Reset. Remove closer

* Wrap img in div to maintain min-height

* Remove padding from dialog if transparent
2025-01-15 13:02:00 +00:00
andrewwallacespeckle 91460ee82e fix(fe2): Gendo Panel bugfixes (#3817)
* Improved overflow on captions

* Fix v-tippy reactivity

* Fix tippy tooltip key
2025-01-14 14:56:25 +00:00
andrewwallacespeckle 25390250df refactor(fe2): Further gendo polishing (#3814)
* Add ... to all suggested prompts

* Update copy and remove some icons

* Update spacings

* Increase gaps

* Some more polishing from call

* Add submit on enter

* Fix overflow

* Typo

* keyup > keypress

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2025-01-14 13:08:33 +00:00
andrewwallacespeckle 448353174c refactor(fe2): Gendo pre-launch tidyup (#3794)
* Styling updates

* Gendo Icon update

* Testing updates

* updates from testing

* Small design changes

* Fix build

* Fix dialog buttons

* Testing updates

* Lightbox effect

* Fix tippy

* Lightbox changes

* Updates

* Updates from testing

* Fix import

* Updates from testing

* Add mixpanel

* Reuse prompt

* Move reuse button

* Add v-tippy to truncated text

* Container Query

* Reorder buttons

* Copy prompt. Image loading

* Changes from testing

* Alert consolodation

* Final updates

* Feedback

* Typo

* Updates form call with Benjamin

* Controls to top

* Changes from testing

* Generic Feedback

* Small changes from testing

* Changes from Fabs

* Small change

* No max width on prompt

* Add Dialog Transparent story

* Open feedback dialog on click of button
2025-01-13 17:00:45 +00:00
andrewwallacespeckle 0309b1e954 Update Controls.vue (#3788) 2025-01-09 10:44:05 +00:00
andrewwallacespeckle be51d29379 Make controls scroll when needed (#3768) 2025-01-08 10:12:28 +00:00
Mike 2de3136a22 Feat: Snow instead of Santa (#3756) 2025-01-02 14:35:50 +01:00
Alexandru Popovici b337ae348f Measurements Units Fixes (#3741)
* Handles new measurements reverting to meters even if a different unit was previously set. Handles units not changing properly when changing the unit value

* Remove transition to fix select

* Remove unsused import

* Added back snow

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-12-20 22:33:42 +00:00
Mike d54eeb5e6e Xmas: Let it snow (#3731) 2024-12-20 15:26:56 +01:00
Mike a1d23a2a06 Fix: fix follow tooltips in viewer mode (#3728) 2024-12-20 15:20:19 +01:00
Benjamin Ottensten 5d44cf1bbc chore: Track embed views (#3726) 2024-12-20 13:16:33 +01:00
Mike 04021499a0 Fix: Keep footer background for embedded models (#3724) 2024-12-19 22:40:24 +01:00
andrewwallacespeckle 53237b4630 Update NewReply.vue (#3718) 2024-12-18 15:46:57 +00:00
andrewwallacespeckle 59bcd9989e Close control menus on click outside (#3693) 2024-12-13 13:42:27 +00:00
andrewwallacespeckle eeac2be573 Re-add resize panels (#3692) 2024-12-13 13:36:12 +00:00
andrewwallacespeckle a4c33fbd25 Update Controls.vue (#3689) 2024-12-13 10:13:59 +00:00
andrewwallacespeckle 87221cac88 feature(fe2): View mode FE integration (#3651)
* Improve shortcuts

* WIP

* View Mode menu

* Styling updates

* split activeControls

* Reusable Menu component

* Menu updates

* Sun menu updates

* Tidyups

* CommonAlert

* Updates

* WIP change to currentViewMode

* Serialization

* defineModel

* Tidy up emits

* Remove v-model

* Force close other panels

* Remove transition

* More robust isTypingComment

* activeControl > activePanel

* View menu shortcuts

* Explode menu definemodel

* Small changes from Benjamin

* Add colors view mode

* Fix server problem in data.ts

* Fix build
2024-12-12 17:19:57 +00:00
Benjamin Ottensten 888e45c011 Add Gendo Mixpanel event (#3654) 2024-12-09 10:29:03 +01:00
Gergő Jedlicska 01b222ced8 gergo/web 2155 gendo module multi region (#3528)
* fix(workspaces): allow workspace delete for paid workspaces

* feat(gendo): multi region gendo with new api integration and limits

* feat(gendo): user credits

* feat: adds limits to gendo panel, and terms and conditions link

* fix: reworks setting back camera view

* feat(gendo): webhook signature verification

* fix(gendo): nullability

* test(blobstorage): fix test dependency injection

---------

Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
2024-11-22 16:43:31 +01:00
Mike 6c2e900297 Fix: Clean some UI styling in Automate (#3520) 2024-11-20 09:06:36 +01:00
Kristaps Fabians Geikins 42db2f6b82 feat(server): comments module multiregion support (#3493)
* prepwork

* more prep for testing

* tests/linting seems fine

* a couple of query fixes

* fix up notifications for multiregion

* test fixes?

* wal_level issue fix?

* fileupload test fix

* anotha test fix

* undo unnecessary changes

* streamActivity -> main DB
2024-11-19 12:15:43 +02:00
andrewwallacespeckle 2d8af1c1d8 Update colour and spacing of follow mode (#3495) 2024-11-15 09:46:14 +00:00
andrewwallacespeckle 64a6b9ea31 Only show new discussion button when hasSelectedObjects = true (#3494) 2024-11-15 09:45:30 +00:00
Dimitrie Stefanescu 555070fa2c fix: fixes navis props missing from filtering 2024-11-04 16:52:34 +00:00
andrewwallacespeckle 0191c8a8f5 refactor(fe2): Send user to dashboard after tour - skip checklist (#3404)
* Send user to dashboard after tour

* Minor

* Onboarding improvements

* Style fixes

* Add tooltip to finish button

* hasAddedOverlay > disableNext

* Remove step ref

* Fix tooltip persisting
2024-11-01 11:20:50 +00:00
Dimitrie Stefanescu ac7b4a387e fix(frontend): uses util func, rather thand local hodgepodge 2024-10-31 13:52:39 +00:00
Dimitrie Stefanescu 5d3ad2daca fix(frontend): explorer will now correctly display false prop values as false, rather than null 2024-10-31 13:42:30 +00:00
Benjamin Ottensten 00e9a43bc0 Uppercase keyboard shortcuts (#3403) 2024-10-30 12:58:02 +01:00
Alexandru Popovici 613614d5d0 View Modes (#3259)
* Edge drawing render pass using both depth and normal data

* Edges are now mixed with the rest of the passes in the final pass

* Set MSAA for SS edges framebuffers to maximum number of samples

* New depth gradient extraction approach. Several improvements over the old one

* Some changes to the normal gradient extraction. Using Robert's Cross works roughly the same as the older approach with 1 less texture fetch. Also implemented Canny

* Combined static AO with edges

* Implemented SMAA and static TAA. Both toggeable in realtime for better comparisons

* Added the normal pass and fixed some issues

* The pipeline is now capable of jitter individual passes if requested

* Added TAA pass. Technically it can be used to antialias anything. Right now we've disabled MSAA and using TAA for stationary as an example

* Added a TAA pipeline on the final image. Added DPR into pipeline resize calls. Struggled a *lot* with different blending results between drawing to the backbuffer and to a framebuffer then copying to the backbuffer. There are still some differences visible

* Edges pipeline

* Edges + TAA + AO + COLOR pipeline

* ShadedView mode

* Visibility is now properly reset when coming from a visibility conditioned pass to an unconditioned one

* Added another version for 'shaded' view, inspired by blender's viewport shading

* Added pen view together with a sample paper like texture for vissual background

* A form of techincal view

* Arctic view. Separate viewport pass from matcap pass

* Cleaned up the ao shader a bit. Formalized progressive ao pass options

* WIP on BasitMode

* Added pipeline switching to the sandbox. Edge pass now has an optional texture background

* Implemented BasicMode using material overrides

* Merged with latest main

* Fix merge issues

* More merge misses

* Stating stream

* Fixed an issue that took hours to debug and it turned out to be a literal typo

* Formalized the progressive pipeline concept which removed a lot of duplicated code

* Added pipeline reseting. Added pipeline passthrough to allow features like measurements to run correctly. Added jitter to depth buffer for progressive AO for much better results!

* Implemented the required stencil passes used for stencil selection as new pass formats. Added them as well as the overlay pass to all pipelines. Will need to automate their addition though

* Fixed stencil selection in pen view. Decided to only show outlines because it makes more sense

* Implemented proper pass clearing values and flags. Also made sure the minimum amount of clears are made inside the frame. Fixed an issue with progressive pass frame counts and indices.

* Formalized options for all passes that had any. Tidied up some shaders and simplified where possible

* Centralized render target creation and removed a lot of render target creation in the passes that had no need for it. Fixed an issue where the matcap material would not not update it's matcap texture properly when rendering in override mode

* Matcap and Viewport passes where merged into a single Viewport pass that can take a matcap texture in it's options. Also, changed the way the viewport shader displays colors, based on three's textureless matcap shader block.

* Updated PassReader extension to work with the latest pipeline. NNowthe pass reader accepts the pass name when reading, so it can used to read any passes

* WIP on MRT

* Implemented DepthNormal MRT pass and used in a pipeline. Working fine on WebGL2.0

* Full Support for WebGL1.0

* Fix for viewport material not updating it's texture properly

* Added an extension that enables hotkeys for view modes

* Fixed jittering for orthographic projections

* Fixed the section tool integration issues with the new pipelines

* Added MRT versions of the pipelines that need it]

* Added a wrapper ViewModes extensions that defines the existing view modes and handles the required check for MRT capabilities and selects the nonMRT/MRT pipelines accordingly

* Error fixes

* Another error

* Added shadowcatcher to arctic and shaded view since it was missing by mistake. Increased the KERNEL_SIZE for arctic mode so that the AO is more smooth

* Disabled pen view background texture

* When reseting the pipeline the jitter index is also reset in order to avoid visible jittering when switching fast between dynamic and progressive mode repeteadly (like when moving the clipping box)

* Quick solution for integrating view modes with per-object operatins like selection and filtering

* View modes now have the ability of overriding the batch's default material instead of all it;s materials. This means that per object material changes like selection and filtering will work together with view modes. Handles WEB-2080, WEB-2083, WEB-2084, WEB-2081 and WEB-2082

* Fiter applies now trigger a hard reset, which is required and fixes a preexisting bug in production. Fixed an issue where the shadowcatcher would incorrectly blend in shaded view mode

* Viewport pass can now render transparency. Arctic mode now renders transparent objects as well (was originally required)

* Forcing the multipel render targets we use for MRT to use a 32 bit depth buffer for proper precision on MacOs Chromium

* Fixed an issue where incorrect visible ranges were being perpetuated when selecting hidden objects (outlines only mode)

* PROPS are not rendered twice anymore and they've been moved to the overlay pass in all pipelines

* Reorganized passes and pipelines. Deleted old passes

* Renamed all new passes. Only the interface and base pass types have a G prepended to make it 100% clear it's different than three's Pass type

* Fixed some compiling errors

* Dont change viewmodes when inputs are being used

* Pipeline gets resized whenever it's set in the renderer. Some other smaller changes

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-10-29 13:30:26 +02:00