Commit Graph

49 Commits

Author SHA1 Message Date
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
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 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
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 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
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
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
Kristaps Fabians Geikins 2a0e1b899e fix(fe2): overriding some view names that datadog resolves incorrectly (#2158) 2024-03-25 11:40:17 +02:00
Kristaps Fabians Geikins 23955106d5 fix(fe2): adblock breaking the site 2024-03-19 10:19:01 +02:00
Kristaps Fabians Geikins 15b7bf3e53 chore(fe2): datadog user identification setup 2024-03-18 14:33:25 +02:00
Kristaps Fabians Geikins 7d42ccddff feat(fe2): enable datadog rum (#2143) 2024-03-18 11:41:29 +02:00
Kristaps Fabians Geikins baabae627c fix(fe2): viewer SSR query optimization (#2129)
* fix(fe2): viewer SSR query optimization

* fix apollo upload link
2024-03-14 12:13:59 +02:00
Kristaps Fabians Geikins d3ef6788eb feat(fe2): core web vitals report + dynamic raygun tags (#2117)
* feat(fe2): route-based raygun tags

* feat: toggle cwv report

* added ttfb
2024-03-13 11:54:13 +02:00
Kristaps Fabians Geikins 7775dad283 minor rum config adjustments 2024-03-12 12:30:52 +02:00
Kristaps Fabians Geikins be078daa5a rum init clean 2024-03-11 19:03:15 +02:00
Kristaps Fabians Geikins 2ab84377a7 raygun setup cleanup 2024-03-11 18:43:19 +02:00
Kristaps Fabians Geikins b4137d6d54 minor raygun param chagnes 2024-03-01 15:27:22 +02:00
Kristaps Fabians Geikins edb1c63d21 feat: fe2 status check endpoint w/ proper redis cleanup (#2092) 2024-02-28 15:02:52 +02:00
Iain Sproat df3c138786 Revert "feat(fe2): proper health probe endpoint - /api/status - [WBX-287] (#2…" (#2091)
This reverts commit 585fa873cb.
2024-02-28 11:38:08 +00:00
Kristaps Fabians Geikins 585fa873cb feat(fe2): proper health probe endpoint - /api/status - [WBX-287] (#2086)
* feat: proper health probe endpoint - /api/status

* preventing external access to status endpoint

* linting fix
2024-02-27 16:34:33 +02:00
Kristaps Fabians Geikins dd7409dcb2 feat(fe2): implementing various RUM tools for trialing (#2066)
* basic raygun setup

* testing seq logging

* minor fixes

* more accurate user identification

* logrocket adjustments

* speedcurve seems to work?

* added debugbear

* minor cleanup

* chore(helm chart): adds new web app analytics ids/keys to fe2 env vars
- assumes none are secrets

* Quote all secrets to prevent interpretation as digits

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-02-22 10:51:13 +02:00
Kristaps Fabians Geikins 53b62076d0 feat: extra mp properties to troubleshoot odd events [WBX-294] (#2068)
* fix(fe2): remove mp Sign Up track, rely on the server to do this

* adding server version
2024-02-21 19:13:00 +02:00
Kristaps Fabians Geikins 90a930b581 fix(fe2): redis being initialized even without a valid connection string (#2046) 2024-02-16 11:40:11 +02:00
Kristaps Fabians Geikins 0a63afb6aa feat: various observability improvements (#2027)
* feat(server): adding userId to req logs

* feat(server): adding userId to gql logs

* feat(fe2): adding userId to logger calls

* feat(fe2): more userId logging additions

* even more thorough logging in FE2

* more adjustments

* add country to fe2 logs

* added prop to help distinguish gql req time logs

* get initial SSR req id in CSR logs

* improved 'fetch failed' error

* better rate limit error message

* minor improvements
2024-02-09 13:56:13 +02:00
Kristaps Fabians Geikins 9caa2a37c8 feat(fe): auto accept stream/project invite on email link click [WBX-73] (#2017)
* feat(fe2): project invite auto accept

* fix(fe2): improved CSR error logging

* feat(fe1): auto accept stream invite on email link click

* minor type fix

* tests fix
2024-02-07 14:26:59 +02:00
andrewwallacespeckle ff6433128a FE2 - Embedding (#1979)
* Add Dialog

* Add options to embed dialog

* Min Height of Clipboard Input multiline to 3 lines

* Check for visibility

* Link to change access of project

* Rename to guided mode

* Change icon when user clicks copy button

* Update Menu styles based on agi feedback

* Update graphql.ts

* Embed Options as hashState

* Auto grow Clipboard Input

* embed state and more options

* Tidyups

* Footer only shows when !embedOptions.isTransparent

* Add auto/manual Load

* Add Pre setup component

* WIP Button Group mobile

* Updates around manual load

* Viewer Share nav

* Add embed dialog to project page

* Minor fixes

* Check for federated

* Responsive Tidyups

* Responsive Fixes. Fix console issues

* Add Alert to Version Embed

* Disable Zoom

* GQL updates

* Comment Slideshow

* GraphQl changes

* Fix visibility

* Build fix

* Revert "Build fix"

This reverts commit 0e706cbd9fde78204032bb1ec4421b1742d023ac.

* remove unneeded change, revert yarn.lock

* Test Commit

* Remove commit test

* Fix build

* Update Tailwind. Add base url env

* fix for portal scope issue

* useLogger

* useLogger

* chore(fe2): include NUXT_PUBLIC_BASE_URL in deployment manifests

* lazy load optimization

* lint fixes

* Updates

* Re-add guided open Dialog sections

* Prevent login popup on embed

* Tidy up mobile combined button group

* Tidy up embed Dialogs

* Small styling issues

* Update scrolling in embed dialog

* Move selection info when embed

* Testing fixes

* Discuss in Speckle

* Responsive Dialog Changes

* Fix bug

* WIP Manual Load

* Fix nuxt errors

* Fix nuxt logger issue

* Fix embed dialog overflows

* New Dialog layout

* Responsive Breakpoint change

* Preview Image

* Fix bug with dialogSection

* Hide selection info on mobile when thread is open

* Footer Model Name

* Overflow on ClipboardInput

* Style fixes

* Tidy ups

* Responsive updates

* Responsive fixes

* Update button

* Changes from testing

* Fix embed height with footer

* Fix Dialog Section

* Fixes from testing

* Move "reset filters" on embed

* Small fixes

* Updates from CR 1

* CR Comments 2

* Updates from CR

* Add deserializeEmbedOptions helper

* DialogSection changes

* Revert changes in TextArea

* Updates from CR

* Only check for noscroll in watch

* Update useRoute

* Comment Slideshow mode

* Changes from testing

* Fix mobile share button

* onMounted warn fixes

* Updates from testing

* Remove nesting of ManualLoad

* Keep Speckle text on mobile

* minor cleanup & bugfixes

* Add target prop to Logo

* navbar flash fix + more cleanup

* Fix urls

* Footer Logo changes

* Remove viewer-transparent from layout

* Add Reply in Speckle

* Remove Anchored Points from embed

* Final changes pre CR

* Fix Anchored Points

* Update packages/frontend-2/components/project/model-page/dialog/embed/Embed.vue

Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>

* Fixes from CR

* Updates from cr

* Changes WIP

* Fix for dialog opening

* Changes from PR

* Updates to check embed in activity

* fix(fe2): project settings dialog error

* Make Team open section on click of "Manage"

* Fixes from merge

* Changes from cr

* Compare old to new in watch

* Fix logo in footer of embed

* Fixes from merge

* Fix build. Fix lazy load

* Updates from Benjamin

* Fix transparent bg

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabians@speckle.systems>
2024-02-06 10:38:22 +00:00
Kristaps Fabians Geikins 52770ec7ce feat(fe2): more robust redis cache 2024-01-25 11:41:26 +02:00
Kristaps Fabians Geikins f3e8bf7045 chore(fe2): more redis logging 2024-01-25 11:02:55 +02:00
Kristaps Fabians Geikins ff5c965df9 fix(fe2): redis connection leakage 2024-01-25 10:50:04 +02:00
Kristaps Fabians Geikins c3f13d4e66 fix: multiple FE2 and server speed improvements, mainly focusing on the project page (#1975)
* introduced app cache & optimized /downloads

* added redis cache storage

* optimizing latest thread retrieval

* more dataloaders

* undid debug stuff

* deployment changes

* minor change to reqTouched

* connectorTag parallel resolution

* added redis key prefix

* gqlgen cleanup

* Amend network policy to allow egress to Redis

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2024-01-22 11:08:53 +02:00
Kristaps Fabians Geikins 86b535d751 chore(fe2): project page load speed optimization (#1974)
* merging queries for faster load

* preload plugin

* latest threads/models query optimization
2024-01-18 11:00:48 +02:00
Gergő Jedlicska ee849006ad fix: request logs (#1964)
* fix: request logs

* chore: remove comments
2024-01-11 16:17:04 +01:00
Kristaps Fabians Geikins 4144ce0d8e feat(fe2): improved and more thorough logging to help with observability (#1948)
* better req log text

* minor improvements to server logging

* WIP FE2 req logging

* FE2 apollo operation logging

* undid apolloPlugin changes due to Gergos PR

* seq message templates introduced
2024-01-11 12:15:45 +02:00
Kristaps Fabians Geikins ef37030287 fix(server): optimized commit download (#1913)
* fix(server): optimized commit download

* added test
2023-12-13 14:31:09 +02:00
Kristaps Fabians Geikins 0c293b0615 fix(fe2): reverting vue/nuxt downgrade (#1776)
* fix(fe2): reverting vue/nuxt downgrade

* fix for broken vue 3.3 build?

* storybook fix

* storybook fix

* fe2 storybook update

* minor update to rerun CI
2023-08-29 09:52:48 +03:00
Kristaps Fabians Geikins d7ff2a85b5 fix(fe2): getting rid of H3 dep in client bundle for logging 2023-07-20 09:11:49 +03:00
Kristaps Fabians Geikins 252ae3c70c feat(fe2): more error logging optimizations 2023-07-19 19:09:41 +03:00
Kristaps Fabians Geikins ee79bfaaeb feat(fe2): improved client logging props 2023-07-19 18:19:48 +03:00
Kristaps Fabians Geikins f1fee3e64f fix(fe2): better object logging 2023-07-19 17:26:06 +03:00
Kristaps Fabians Geikins e96241d911 fix(fe-2): structured logging fixes 2023-07-19 16:32:51 +03:00
Kristaps Fabians Geikins f61c2e80a8 fix(fe-2): more resilient useLogger 2023-07-18 14:55:17 +03:00
Kristaps Fabians Geikins 0d6e971685 fix(fe-2): adding server name to seq logging 2023-07-12 17:08:58 +03:00
Kristaps Fabians Geikins 93bd557256 feat(fe2): client-side error logging to seq (#1691)
* WIP seq-logging

* nuxt plugin + infra adjustments
2023-07-12 16:58:58 +03:00
Kristaps Fabians Geikins eaf925b387 feat(fe-2): improved logging (#1684)
* feat(fe-2): improved logging

* yarn lock update

* attempted speckle/shared build fix

* helm updates

* Updates documentation for helm chart

---------

Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-07-12 10:21:08 +03:00
Kristaps Fabians Geikins 30fdc71fcd fix(fe2 & fe1): log out on invalid auth token on any GQL call (#1666)
* fix(fe2): log out on invalid auth token on any GQL call

* fix(fe1): redirecting to login page on any 403 GQL req

* WIP invalid token

* stricter toker invalidation checks in FE1

* stricter token check in FE2 as well
2023-07-03 15:04:57 +03:00
Kristaps Fabians Geikins 2df84c243e fix(fe-2): invalid comment placement when placed inside isolated obj (#1640)
* fix(fe-2): weird comment positioning

* feat: viewer dev helpers
2023-06-20 09:17:49 +03:00
Dimitrie Stefanescu 7b037352df Dim/fe2/view changes (#1608)
* Fixed an issue with curves doubling up on geometry and also not being selectable after the last filtering changes. Added the options to make lines transparent. Added lines to diffing

* Points now are diff-able and support proper visual diff-ing. Visual diff filters are now chosen internally by the Differ. Fixed an issue with LineBatch and transparency

* Implemented PLAIN visual diff mode, where all objects keep their original materil, but opacity is manipulated via the diff time. Added API member function to switch between the PLAIN and COLORED visual diff modes

* feat(fe2): diffs wip

* Diffing fixes for instances and blocks. Things seem to be working fine, but there are some caveats. Additionally, some older issues were fixed and diffing now works better on all the rest of the streams

* feat(fe2): de-dupes diff results

* feat(fe2): wip diffs

* feat(fe2): diff transparency goes from 0 to 1

* feat(fe2): diff results display work

* feat(fe2): diff results display work

* feat(fe2): diff panel work

* feat(fe2): diff work: various display changes, coloring toggle, selection logic, selection object display wip

* feat(fe2): diff work: cleaned up old/new version, fixed minor bug in viewer diff time when swapping color mode

* feat(fe2): diff work: implements custom selection logic and selection display for modified objects (they come in pairs now)

* feat(fe2): diff minor fix in selected object display

* feat(fe2): wip; trying to fix diff order to be consistent (ordered by date)

* feat(fe2): wip, broken state right now

* feat(fe2): fixes scrollbars in viewer

* feat(fe2): fixes slider sync with diff time

* feat(fe2): WIP syncs of diffs (threads, refreshes, etc.)

* feat(fe2): diffing polish

* speckle shared fix

* speckle shared fix

* more bugfixes

* linter fixess

* more CI fixes

* fix viewerState serialization

* more linting fixess

* template fixes

* moving tailwind classes to theme package

* migrated away from diffString + simplified postSetup

* moved diff new/old version resolution to use state.resources

* cleanup

* updating url threadId & diff command correctly

* minor improvements to diff state

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2023-06-08 11:26:19 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00