Commit Graph

128 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins 3497eed931 feat: opening a model w/ a home view targets latest version (#5376)
* model link resolution updated

* finalization

* lint fix
2025-09-04 10:02:02 +03:00
Kristaps Fabians Geikins 2e30c34cd9 fix(fe2): nuxt 4 related memory leak (#5328) 2025-08-28 09:04:20 +03:00
Kristaps Fabians Geikins 29dcedc168 fix(fe2): project invite decline bugs (#5298) 2025-08-22 11:35:44 +03:00
Kristaps Fabians Geikins e4f260c22e fix(fe2): use users time zone in SSR (#5296)
* fix(fe2): use users time zone in SSR

* better cookie update logic

* preview image adjustment, lets throw it in hehe

* devLog only in dev mode

* another hopeful image hydration fix
2025-08-22 10:44:19 +03:00
Kristaps Fabians Geikins 624b56eacf chore(fe2): even more performant and even less hydration mismatches (#5292)
* fix(fe2): more preview related mismatch fixes

* moar

* a bunch of preloads

* more preloads

* batchlink

* undo cache only

* lint fix

* more query opt

* rate limiter adjustments to account for batched reqs
2025-08-22 08:22:18 +03:00
Mike eddf99ca64 Fix: Dont show cantCreate reason while loading (#5280) 2025-08-21 17:56:09 +02:00
Kristaps Fabians Geikins fa4784c2d4 fix(fe2): embed token w/ reset auth state breaking SSR (#5286)
* fix(fe2): embed token w/ reset auth state breaking SSR

* attempt to fix nuxt unavailable
2025-08-21 12:20:22 +03:00
Kristaps Fabians Geikins 9688ef68ea fix(fe2): more fixes and performance improvements (#5281)
* fix(fe2): further preview image cleanup/optimization

* server log streaming

* more hydration mismatch fixes

* lint fix
2025-08-21 09:57:47 +03:00
Kristaps Fabians Geikins 47b9e9c5bc fix(fe2): various performance fixes (#5278)
* fix(fe2): buggy merge policies causing cache read failures

* improved CWV reporting

* improved preview lcp

* more eager load improvements

* more eager load improvements

* SSR friendly relative time

* import fixes
2025-08-21 07:50:57 +03:00
Kristaps Fabians Geikins 0c957ed9cc feat: setting home views (#5250)
* frontend update works

* starting viewer resources saved view tests

* test fix

* viewerResources new resolver + adjustment for home views

* create/update view fixing up and tests

* sort of works?

* fixing more race conditions

* loading preview

* disable home view stuff when federated

* fixing up links

* tests and home view fix
2025-08-18 14:35:59 +03:00
andrewwallacespeckle 7969373ac4 Merge branch 'main' into andrew/optimise-workspace-page 2025-08-14 15:24:22 +01:00
Oğuzhan Koral ddda896347 feat(acc): revamp sync item add flow (#5238)
* feat(acc): revamp sync item add flow

* chore(acc): update function ids

* chore(acc): revert function ids
2025-08-14 15:07:02 +01:00
andrewwallacespeckle 3857689c21 Fragments/Query improvements 2025-08-14 13:48:26 +01:00
Mike 24b6f1f329 Feat: Improved workspace switcher (#5058) 2025-07-24 12:31:43 +02:00
Mike ed875f0134 Feat: Enable embedding private/workspace projects (#5047) 2025-07-15 13:25:12 +02: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
andrewwallacespeckle 2724c92387 Add "View versions" cta to move version success toast 2025-06-24 13:21:56 +02:00
andrewwallacespeckle 9ce371e30d Fix activeUser in composable 2025-06-20 15:04:53 +02:00
andrewwallacespeckle 6d54aa3451 Disable workspace switch +. Add hasAccessToFeature 2025-06-19 16:39:16 +02: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
Kristaps Fabians Geikins 596312ab0e feat(frontend): personal project limit disclaimers & prompts (#4822)
* ProjectsAdd wrapper

* WorkspaceMoveProject wrapper added

* move wrapper finalized

* passing through location

* more cleanup

* model add wrapper

* permissions cleanup

* add invite wrapper

* vue-tippy bugfix

* ViewerLimitsDialog prep

* upgrade limit alert prep

* limit alerts

* movemanager fix

* new add flow

* slug update fix

* add model flow

* invites?

* some extra fixes

* move unmount fix?

* more fixes

* vue-tsc update

* style: remove h-32 for smaller screens

* vue-tsc parser fix

* prep for new viewer limits dialog

* updated viewer dialogs

* comment variant cleanup

* CR comments

---------

Co-authored-by: michalspeckle <michal@speckle.systems>
2025-05-28 12:12:18 +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
Benjamin Ottensten 77101832bf Fix: Copy fixes for private projects (#4747)
* Change copy, icons, and order of items

* Update general access copy if project is private
2025-05-15 08:58:28 +02:00
Kristaps Fabians Geikins 4db1531064 feat: "workspace" project visibility (#4704)
* WIP new visi

* test fixes

* visibility seems to work

* authz policies & authorizeResolver updated

* various test fixes

* users tests

* frontend changes

* minor adjustments

* shared test fix

* test fixes

* force rerun CI
2025-05-14 15:20:26 +03:00
Benjamin Ottensten 06446decb9 Fix: Changes to Collaborators page + more (#4703) 2025-05-12 10:48:47 +02:00
Mike 5c9f77aae2 Feat: Allow admins to upgrade to editor from collaborators page (#4597) 2025-04-25 12:08:11 +02:00
Mike 50c54a78e2 Feat: Output workspace admins in a separate collaborators section (#4586) 2025-04-24 15:44:23 +02:00
Mike f09e6a24bf Fix: revert redirect update legacy projects check (#4565) 2025-04-23 10:30:28 +02:00
andrewwallacespeckle 2f45adf214 refactor(fe): Navigate to project on successful invite acceptance
refactor(fe): Navigate to project on successful invite acceptance
2025-04-22 23:22:34 +01:00
Benjamin Ottensten f4082d1684 Update copy in People settings and Collaborators page (#4552)
* Update copy on collaborators page

* Update descriptions in People settings
2025-04-23 00:03:51 +02:00
andrewwallacespeckle 2a9bb4d2af Navigate to project on successful invite acceptance 2025-04-22 22:53:13 +01:00
Chuck Driesler 5c68f8a1da feat(automate): ability to delete automations (#4228)
* feat(automate): delete automation be

* feat(automate): delete automations fe

* fix(automate): delete modal, update cache

* chore(automate): minor formatting

* fix(automate): delete blobs w automations

* chore(automate): repair blob test

* fix(automate): make sure to return

* fix(automate): do soft delete

* fix(automate): include deleted filter in project automation queries
2025-04-22 20:22:44 +01:00
Chuck Driesler d7aa0196fc feat(authz): automate policies (#4491) 2025-04-18 11:03:54 +02:00
Mike bc8058ba6e Fix: Update active workspace after accepting invite (#4461) 2025-04-16 19:16:32 +02:00
andrewwallacespeckle 7ad80694bf Merge branch 'main' into andrew/move-project-to-workspace-improvements 2025-04-14 10:14:05 +01:00
Mike 68dc4c91c1 Feat: Add Access Select component (#4399) 2025-04-14 10:39:53 +02:00
andrewwallacespeckle 95a6cbaf3b Move projects from workspace page 2025-04-12 00:35:52 +01:00
andrewwallacespeckle b1624d5153 Fragments 2025-04-11 18:20:56 +01:00
andrewwallacespeckle 7213a7f8cc Large refactor 2025-04-11 17:53:16 +01:00
Kristaps Fabians Geikins f59c0a72c6 feat: model related auth checks in BE & FE (#4374)
* limit fragment cleanup

* be updated

* model checks in FE

* tests fix

* fakes util fix
2025-04-11 10:09:54 +03:00
Kristaps Fabians Geikins 5f88f562d3 feat: updated various "read/update" settings related permission checks (#4356)
* a bunch more tests

* updated GQL resolvers

* project create checks implemented

* project update/settings related checks in FE

* a bunch of tests

* tests fix

* disable app schema check
2025-04-09 16:13:09 +03:00
Mike 2582545807 Feat: Add dry run result to move project list (#4340) 2025-04-08 12:55:58 +02:00
Kristaps Fabians Geikins 820a1e2ebf feat(server): workspace roles taken into account in project queries (#4319)
* Workspace.projects fixed

* Query.project tested & fixed

* personalOnly flag added

* withProjectRoleOnly flag

* authorizeResolver implicit workspace roles

* minor cleanup

* reorg + support for throwing auth errors

* global error mapping

* undo special borkage

* CR fixes

* more CR fixes

* shared tests fix

* minor adjustment

* tests fix

* see if removing cached roles fixes it?

* more fixes

* clean up debugging garbage
2025-04-07 12:52:07 +03:00
Mike ac9fc794b7 Fix: Clean up unused code thats causing graphql error (#4334) 2025-04-06 15:45:29 +02:00
Mike 4126f92b7d Feat: Move invites to header (#4304) 2025-04-02 15:26:28 +02:00
Gergő Jedlicska f501cc4ad5 gergo/web 2888 workspace project cancreate (#4294)
* WIP can create project

* WIP can create project more work

* complete body, stencil tests

* feat(shared): move workspace plan types into shared

* test progress wip

* feat(shared): add more logic to canCreateWorkspaceProject

* a few more tests, as a treat

* chore(authz): round out tests

* fixed loaders, new GQL checks, dataLoaders in auth loaders

* fix(authz): get workspace limits loader

* chore(authz): update loaders

* frontend fixed up to snuff

* fix(authz): fix workspace plans for tests

* fix(authz): classic

* fix(authz): 0 counts

---------

Co-authored-by: Chuck Driesler <chuck@speckle.systems>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2025-04-01 16:38:20 +01:00
Mike 9fe01778f6 Feat: Disabled roles if no editor seat (#4299) 2025-04-01 09:59:19 +02:00
Mike 298e379791 Feat: Implement updated project collaborators page (#4274) 2025-03-27 12:20:00 +01:00
Kristaps Fabians Geikins 5246526b3d feat(fe2): less spammy FE2 logging (#4082) 2025-02-27 11:24:38 +02:00
Kristaps Fabians Geikins ec092fb042 chore: move common workspace plan/feature config to @speckle/shared (#4064)
fix: gqlgen regenerated
2025-02-27 11:18:30 +02:00