Commit Graph

43 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins b4cf23f856 feat(fe2): more accessible error reference (#5090)
* feat(fe2): more accessible error reference

* use wrench icon

* michals comments

* more michals comments
2025-07-17 10:25:04 +03:00
Kristaps Fabians Geikins 3831046db1 fix(fe2): hide duplicated failed file import jobs (#5020) 2025-07-02 12:01:21 +03:00
Kristaps Fabians Geikins 7e01c6f769 feat(fe2): improved file import error handling (#5016)
* WIP error dialog

* import error reporting

* dialog content memoization

* dialog work

* more cleanup

* apollo cache adjustments

* add jobId to uploads table

* fix showing old pending version state

* feat(fe2): prevent user from leaving page if active uploads (#5017)

* feat(fe2): prevent user leaving if active uploads

* fixxes
2025-07-02 11:01:41 +03:00
Iain Sproat 4a58e66d99 feat(file importer): send skp to rhino parser (#4973) 2025-06-23 13:45:26 +01:00
Kristaps Fabians Geikins 3b641024cc feat(fe2): enable large file uploads (#4965) 2025-06-20 10:50:16 +03:00
Kristaps Fabians Geikins 5b7f28925c fix(fe2): fixed model upload validation & bunch of other things (#4961)
* FE validation before model creation

* minor fix

* testing UI change in cardview

* a bunch of fixes

* table improvements

* undid test thing
2025-06-19 16:23:17 +03:00
Iain Sproat 4738b97091 feat(server/fileuploads): use a presigned url to upload large files (#4901) 2025-06-17 17:38:47 +01:00
Kristaps Fabians Geikins 441aa6e54d fix: create model before uploading file (#4942) 2025-06-16 10:17:17 +03:00
Kristaps Fabians Geikins f30ef2f9fa feat: set model name/description on file upload (#4937)
* WIP except description

* description implemented

* added defaultTo to migration
2025-06-13 13:44:40 +03:00
Kristaps Fabians Geikins fd061d1159 feat(fe2): proper file upload access checks (#4785)
* feat(fe2): proper file upload access checks

* updated disabled upload empty state

* perm check fix
2025-05-22 12:45:39 +03:00
Kristaps Fabians Geikins c54d15fd93 feat: authz frontend foundation + reworked errors (#4275)
* feat: authz frontend foundation + reworked errors

* lint fixes

* test fix

* fixed noCache() util
2025-03-27 16:13:35 +02:00
Kristaps Fabians Geikins 1d022d470a fix(fe2): error state logger being undefined (#4131)
* fix(fe2): error state logger being undefined

* undo apollo.ts change
2025-03-07 09:18:16 +02:00
andrewwallacespeckle b399b933d0 fix(fe): Check isEmailEnabled before forcing email verification (#4112)
* Check new isEmailEnabled in middleware

* Use mainServerInfoDataQuery
2025-03-04 16:03:55 +00:00
Kristaps Fabians Geikins 3f03b75116 feat(fe2): allow logging CSR non-errors to seq (#3802)
* feat(fe2): allow logging CSR non-errors to seq

* undo index.vue debug stuff
2025-01-13 15:19:40 +02:00
Mike 1104211ad7 Fix: Fix webhook (#3660) 2024-12-09 15:12:49 +01:00
Mike 6c471c0ec6 Feat: Send webhook for upgrade event (#3649) 2024-12-09 11:15:50 +01:00
Iain Sproat ecab655719 chore(fe2): update graphql serverinfo to use new configuration object (#2741)
* feat(graphql/serverinfo): provide maximum object size in bytes

* Places config values in a ServerConfiguration object
- updates blobstorage to use ServerConfiguration, while retaining backwards compatibility

* chore(fe2): update graphql serverinfo to use new configuration object

* Update gqlgen and remaining changes
2024-10-15 13:52:43 +01:00
Mike a8ed344fb8 Feat: Add custom modal for user feedback (#3179) 2024-10-07 13:59:41 +02:00
Kristaps Fabians Geikins 2e272b321e feat(fe2): fix mp.reset() usage to avoid too many distinct ids + utm tracking not working on homepage (#2851)
* reset() fix

* fix(fe2): utm tracking on homepage route
2024-09-03 10:49:27 +03:00
Kristaps Fabians Geikins 2fb1ced647 feat(fe2): show reqId in error pages (#2565)
* feat(fe2): show reqId in error pages

* better text size class
2024-08-02 12:05:11 +03:00
Kristaps Fabians Geikins ee5ae8af62 fix(fe2): accept invite before onboarding after sign up (#2491)
* explicitly ordering global middlewares

* various subscription fixes & WIP project invite middleware

* SSR invite accept & toast notifs seem to work

* backend support for mixpanel

* mixpanel be logic -> shared

* minor fix

* finissh

* lint fix

* minor comment adjustments

* better adblock handling
2024-07-11 11:45:11 +03:00
Kristaps Fabians Geikins f074be89aa fix(fe2): error msg templating + Filters undefined error fix (#2411)
* fix(fe2): error msg templating + Filters undefined error fix

* fixx

* fixx
2024-06-20 13:11:05 +03:00
Kristaps Fabians Geikins 83d8035dc2 chore: upgrade to eslint 9 (#2348)
* root + server

* frontend

* frontend-2

* dui3

* dui3

* tailwind theme

* ui-components

* preview service

* viewer

* viewer-sandbox

* fileimport-service

* webhook service

* objectloader

* shared

* ui-components-nuxt

* WIP full config

* WIP full linter

* eslint projectwide util

* minor fix

* removing redundant ci

* clean up test errors

* fixed prettier formatting

* CI improvements

* TSC lint fix

* 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader

* removed unnecessary void

---------

Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
2024-06-12 14:38:02 +03:00
Kristaps Fabians Geikins 2f8272b6ae feat(shared): modularized package & node16 support (#2336)
* feat(shared): modularized package & node16 support

* lockfile update

* various fixes

* moar fixes

* added znv and zod as devdeps of shared

* lockfile update
2024-06-11 14:12:13 +03:00
Kristaps Fabians Geikins bdf27f6218 feat: some mp analytics related to automate actions (#2299)
* fix(fe2): better resiliency for when mp cant be loaded

* WIP mixpanel track calls

* more resiliency improvements

* added all clientside tracking calls

* run finished event

* minor adjustment

* feat(automate): revert automationRunTriggerinAssociation

* feat(automate): track manual run triggers

* feat(automate): backend track automation run created events

* fix(automate): manual trigger type gql schema fix

* feat(automate): add source based filter to run trigger tracking

* fix(automate): fix trigger mock

* various minor adjustments

* remove comment

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-06-07 10:21:24 +03:00
Kristaps Fabians Geikins 73abba06cf feat(fe2): pagination for various automate UIs (#2324)
* WIP infinite load helper

* finished automations pagination

* runs pagination working

* fn pagination

* minor cleanup

* subscription cache mutation fixes

* filtered cache update fix

* minor changes
2024-06-05 12:18:13 +03:00
Kristaps Fabians Geikins e384f2d299 fix(fe2): low level fatal server errors not being logged to RUM (#2197)
* fix(fe2): low level fatal server errors not being logged to RUM

* undo nuxt config changes
2024-04-08 14:12:35 +03:00
Kristaps Fabians Geikins 6af6c656a4 feat(fe2): app authorization workflow redesign [WBX-217] (#2044)
* WIP

* new permissions table

* permissions grouped

* updated scope descriptions

* more scope copy adjustments

* allow auth error handling

* manually closable toast notification

* fixed mentions rendering

* error view

* not you? feature

* cleanup

* minor styling changes

* WIP table

* finished authorized apps table

* minor cleanup

* cleaning up comment

* testing changes
2024-02-23 16:50:07 +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 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 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
Kristaps Fabians Geikins f5b5ae51bd chore(fe2): improved logging & metrics collection for easier observability (#1930)
* gql fix + new dependency-less status check endpoint

* added correlation ids to upstream calls

* added prometheus metrics

* added sigint logging
2024-01-03 10:48:35 +02:00
Kristaps Fabians Geikins f80a7189a0 chore(fe2): upgrade to nuxt 3.8.2 (#1887)
* chore(fe2): upgrade to nuxt 3.8.2

* fix tailwind-theme build

* readme update

* removing storybook from fe2 :(

* fix(fe2): codegen schema url resolution
2023-11-29 10:22:17 +02:00
Kristaps Fabians Geikins 60881c78f2 feat(fe2): alt apiOrigin for SSR (#1888) 2023-11-27 15:23:34 +01:00
Dimitrie Stefanescu 53214cc77d FE2/Automate: Viewer Page Integration (#1851)
* feat(ui): adds link to all models from project dashboard card

* feat(ui): refactoring layout to focus on function runs

* chore(server): a bunch of comments regarding some unclear automate api parts

* feat(fe2/automate): cleans up automate results dialog summary

* feat(fe2/automate): adds automation status to model list view

* feat(fe2/automate): adds automation status to version card

* feat(fe2/automate): adds automation status to version card properly

* feat(fe2/automate): linting & adds id back to func name for refs

* fix(fe2): linting errs/fe2 tests

* fix(fe2): types

* fix(fe2): types...

* fix(fe2/automate): brings back status update tracking 🤞

* fix(fe2/automate): scaffolds viewer automate panel

* fix(fe2/automate): revamps viewer resource query to include automation status, adds proper sidebar button for automation status

* fix(fe2/automate): more WIP work on automation status integration in viewer page

* feat(fe2/automate): adds important note to self

* feat(fe2/automate): more results display wokr

* feat(fe2/automate): adds resulting models to query, improves layout

* feat(fe2/automate): wraps up result model overlays

* feat(fe2/automate): fixes up multiple attachment layout errors

* feat(fe2/automate): adds view results button in lieu of context view, but in the presence of resultVersions

* feat(fe2/automate): minor fix to viewer layout panel to only show actions if slot is populated

* feat(fe2/automate): cleanup and type fixes

* feat(fe2/automate): automate dialog main action > view model WIP

* feat(fe2/automate): wraps up view model in automation status dialog

* feat(fe2/automate): copy change in automation status dialog

* feat(fe2/automate): eslint fix

* feat(fe2/automate): prettier :/

* feat(fe2/automate): adds gradient colouring

* feat(fe2/automate): comments

* feat(fe2/automate): limits initial length of displayed runs, adds poor man's pagination, and reverts to run result click click behaviour

* feat(fe2/automate): lint
2023-11-04 12:48:44 +00:00
Kristaps Fabians Geikins 79d293e178 fix: preparing automation backend for use in FE (#1790)
* fix: preparing automation backend for use in FE

* minor migration adjustment

* modelId only

* more CR fixes

* improved validation

* WIP model automation status (#1791)

* additional run status insert validations

* model card dialog

* show view automation btn

* story mock fixes

* version card dialog

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2023-09-18 11:49:11 +03:00
Kristaps Fabians Geikins 069f64afc9 feat(fe1 & fe2): guest role (#1768)
* feat: user guest role switching in FE1

* removed stream create buttons

* fe1 done

* fe1 - specifying role in invite dialogs

* fe1 - bulk invites

* WIP FE2 changes

* fe1: allow role select condition fixes

* xtra limitations on createForOnboarding

* more invite creation validations

* no longer able to set guest as project owner in invite

* preparations for server role select in invite dialog

* team management dialog done

* server invite dialog updated

* hiding invite dialog

* fixed mocks
2023-08-24 09:30:09 +02:00
Matteo Cominetti 6a5419c208 feat: add users to groups (#1748)
* feat: add users to groups

* feat(fe2): add users to groups
2023-08-08 09:55:32 +02: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
Dimitrie Stefanescu ef1a6470d5 feat(fe2): various mp actions (projects, models, versions, uploads) 2023-06-09 18:01:38 +01:00
Kristaps Fabians Geikins 62eb807512 feat: stopping subscriptions at >100 errors per minute (#1592)
* feat: stopping subscriptions at >100 errors per minute

* chore: added explanatory comments

* added error state banner in fe1

* feat: error state banner in fe2
2023-05-24 14:07:10 +03:00
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP 2023-05-08 10:47:01 +03:00