Commit Graph

73 Commits

Author SHA1 Message Date
Mike 7c00a1de80 Feat: Mixpanel workspace groups add properties (#2904) 2024-09-10 14:18:29 +02:00
Mike cf3a948cf1 Feat: add filter for workspace members table (#2917) 2024-09-10 11:57:47 +02:00
andrewwallacespeckle d6754d6c80 fix(fe2): Align dialogs with the designs (#2895)
* Updates to Dialogs

* Updates to dialogs
2024-09-09 13:46:53 +01:00
Kristaps Fabians Geikins 04d0ee074f fix(fe2): default error skip logic & error policy (#2875) 2024-09-05 11:33:38 +03:00
Mike 8f60384ec0 Fix: Disable blocked domains in the FE (#2876) 2024-09-05 07:53:17 +02:00
andrewwallacespeckle 9f58638cd1 Fix scope display in developer settings (#2867) 2024-09-04 09:31:11 +01:00
Mike 3e9f14b245 Fix: Add non compliancy warning to change role modal (#2866) 2024-09-03 21:21:06 +02:00
Mike cca2d1a5c2 Fix: Dont show domain warning if role is guest (#2865) 2024-09-03 20:45:13 +02:00
Chuck Driesler beabb5552b Chuck/guests bug (#2863)
* fix(workspace): why can't guests seeeeee

* fix(workspaces): fix reference in test

* fix(workspaces): idk
2024-09-03 17:44:20 +02:00
Gergő Jedlicska 6a11016dc2 feat(workspaces): do not discount (#2861)
* feat(workspaces): do not discount

* fix(workspaces): typo

* fix(workspaces): tests

* fix(workspaces): minor polish
2024-09-03 17:19:38 +02:00
andrewwallacespeckle f1899e6a0e Redirect home on leaving workspace (#2859) 2024-09-03 15:15:58 +01:00
andrewwallacespeckle 9f7da42917 fix(fe2): Redirect to home on deletion of workspace if on the deleted workspace url (#2856)
* Redirect to home on deletion of workspace if on the old url

* Simplify solution. Always redirect on deletion
2024-09-03 13:21:48 +01:00
Chuck Driesler 39c34b1b78 fix(workspaces): safer billing query for guests (#2844)
* fix(workspaces): safer billing query for guests

* chore(workspaces): comment

* chore(workspaces): lint

* chore(workspaces): ope
2024-09-02 15:23:27 +01:00
andrewwallacespeckle 00223f8ef5 Add Remove User to guests table (#2843) 2024-09-02 13:06:42 +01:00
andrewwallacespeckle e52962c60b feat(fe2): Workspace members table. Update Role (#2823)
* WIP Leave Workspace

* Merge in Mikes changes

* Add leave workspace

* update name

* Remove check for workspaceAdmin

* Remove un-needed fragment as prop type

* Use defineModel

* Added description for roles

* Set role as undefined until user selects

* Tidy ups

* Remove unused resets

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-09-02 11:58:34 +01:00
Mike 8412b413fd Add user to group, add invited and dialog event (#2828) 2024-08-30 13:48:17 +02:00
Kristaps Fabians Geikins bd188fc189 fix(fe2): post workspace create cache update (#2827) 2024-08-30 14:46:03 +03:00
Kristaps Fabians Geikins 46afd793c7 Revert "fix(fe2): post workspace creation cache update"
This reverts commit 726e09e157.
2024-08-30 14:22:23 +03:00
Kristaps Fabians Geikins 726e09e157 fix(fe2): post workspace creation cache update 2024-08-30 14:21:13 +03:00
Chuck Driesler bbd5146e5a fix(workspaces): add pagination to workspace team members (#2644)
* fix(workspaces): a suggestion of paginated teams

* fix(workspaces): workspace team pagination (?)

* fix(workspaces): pagination based on acl createdAt

* fix(workspaces): fix some roles-related tests

* fix(workspaces): improve query and tests

* fix(workspaces): collaborators query without incorrect groupBy

* fix(workspaces): add default values to migration

* Fixed queries and fragments

* Merged main

* Remove comment

* chore(workspaces): update WorkspaceCollaboratorCollection mocks

* chore(workspaces): fix role test

* chore(workspaces); ope

* fix(workspaces): move workspace acl timestamps to separate table

* Merge?

* fix(workspaces) drop that table

* fix(workspaces): cursor

* fix(workspaceInvites): undo merge borkage

* fix(workspaces): rework workspace member pagination

* fix(workspaces): fix test

* fix(workspaces): test test

* fix(workspaces): literally garbage

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-08-29 21:17:37 +02:00
Mike 03f8fd1176 Fix: Role input conditional (#2818)
* Fix: Role input conditional

* Fix input
2024-08-29 21:16:15 +02:00
Mike 91960b34f3 Feat: Add billing tab to workspace settings (#2817) 2024-08-29 18:41:57 +02:00
andrewwallacespeckle 60bc01cf58 Add border color (#2815) 2024-08-29 16:48:43 +01:00
Mike 3f5c111828 Feat: Show noncompliant warning in members tables (#2812)
* Updates from Michal video 1

* Fix openWorkspaceCreateDialog

* Update color of + button

* Updated dialog

* Feat: Show warning for non-compliant users in table

* Fix: Small issue

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
2024-08-29 17:05:21 +02:00
andrewwallacespeckle f106423357 Update HR and borders in Settings Dialog (#2809) 2024-08-29 14:37:17 +01:00
andrewwallacespeckle 62e0c9eeaf fix(fe2): Update sidebar styles based on Michal's feedback (#2807)
* Updates from Michal video 1

* Fix openWorkspaceCreateDialog

* Update color of + button

* Change isUserAdmin to isNotGuest

* Updated dialog

* Updated condtion

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-08-29 13:29:20 +01:00
Mike b84efcc8f2 Feat: Add more workspace mixpanel events (#2806) 2024-08-29 13:14:13 +02:00
andrewwallacespeckle c771fc8553 fix(fe2): Various alignment fixes from testing (#2790)
* Update Nav Link Font weight. Nowrap badge

* Plus spacing

* Workspace page tidy up

* Mobile testing

* Responsive fixes

* Fix clipping of avatar

* Adjust workspace item pl

* Square the plus button

* Font overwrites for workspace items in settings

* Remove unused props
2024-08-29 10:11:16 +01:00
Gergő Jedlicska 32919c89da gergo/web 1746 add resolver for workspace domain policy compliance per user (#2797)
* fix(users): verified should be a public limited user field

* feat(workspaceSecurity): update security tab copy

* feat(workspaces): add limited user domain policy compliance check
2024-08-29 11:11:08 +02:00
Mike dec5586bb6 Fix: Disable removing of last domain if policy is on (#2802) 2024-08-29 11:01:17 +02:00
Mike 5d1490576f Fix: fix event name (#2801) 2024-08-29 11:00:41 +02:00
Mike afd90957a8 Added FE tracking events (#2798) 2024-08-28 21:06:09 +02:00
Mike a8c08ac2f8 Fix: Fix permissions for menu items (#2791) 2024-08-28 16:57:42 +02:00
andrewwallacespeckle eec47742c1 refactor(fe2): dashboard and settings menu styling issues (#2787)
* Main Sidebar changes

* Updates from michal

* Extra Padding class

* Update sidebar icon

* Last changes from michal

* Font size change
2024-08-28 15:01:59 +01:00
Mike 289a8fbb54 Fix: Align security styling with design (#2777) 2024-08-28 13:26:49 +02:00
Mike 6114175c07 Fix: Disabled workspace avatar editing for non-admins (#2782) 2024-08-28 11:10:39 +02:00
Mike 15d7d358a8 Fix: Only shows 'general' workspace settings for guests (#2781) 2024-08-28 10:59:20 +02:00
andrewwallacespeckle f27a1262f6 feat(fe2): Align workspace member tables with designs (#2747)
* Upate LayoutMent to mount on body. Add to members table

* Updates pre PR

* Update button style

* Remove leave workspace option

* gql

* Invites Table

* Update other LayoutMenus

* Fix individual menu toggle behaviour

* Remove wrong comment

* Add margins to tables
2024-08-27 15:11:42 +01:00
Mike 01c9fb4e55 Feat: Workspace creation wizard should allow for optional logo (#2757)
* Fixed reactivity, added workspace logo to create workspace modal

* Reverse order so name is focussed first

* Fix typo

* feat(workspaces): allow sending the logo on ws creation

* Fix avatar uploading

* Added default index 0

* fix(workspaces): maybe default logo

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-08-26 17:20:43 +02:00
Gergő Jedlicska 08e941f8af Poor man's SSO (#2641)
* Implemented workspace general page

* Added notifications to user input

* Allowed non-admins to view but not edit

* Added redirect to homeroute

* Fixed validation

* Squashed commit of the following:

commit 7bf14ab8af0f76b4c9d0aa87fc08085af7c34959
Author: Chuck Driesler <chuck@speckle.systems>
Date:   Tue Aug 6 19:40:50 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/workspacesCore/migrations/20240806160740_workspace_domains.ts

commit 8aa3fb0cb052c10eeeb83bf9874ae0d1c065e480
Author: Alessandro Magionami <alessandro.magionami@gmail.com>
Date:   Tue Aug 6 18:54:15 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/core/domain/userEmails/operations.ts

commit 66dfd0cf6c15a789c8f96a65a3168323e83a7b9e
Author: Chuck Driesler <chuck@speckle.systems>
Date:   Tue Aug 6 18:30:22 2024 +0200

    mob next [ci-skip] [ci skip] [skip ci]

    lastFile:packages/server/modules/workspacesCore/domain/types.ts

Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>

* Move General to workspaces folder

* feat(workspaces): inputs on security section

* feat(workspaces): add domain to workspace mutation

* chore(workspaces): add blocked domains list

* fix(workspaces): modals with buttons

* feat(workspaceDomains): delete domain

* fix(workspaces): use  mutation

* fix(workspaces): present user verified domains as options

* Moved sidebar menu to a composable

* Added coming soon tag back

* feat(workspaces): create domains resolver for workspace

* chore(workspaces): fix tests

* chore(workspaces): fix types

* chore(workspaces): fix linter

* fix(workspaces): do some delete I think

* chore(workspaces): add domainBasedMembershipProtectionEnabled field to workspace

* chore(workspaces): improve validation for email domain

* fix(workspace): query and do the thing

* chore(workspaces): add graphql schema for domainBasedMembershipProtection

* chore(workspaces): lint and test failures

* fix(workspaces): test issues w new field

* feat(workspaces): add discoverability flag

* chore(workspaces): they made me do it

* feat(workspaces): enable toggling domain protection

* feat(workspaces): add discoverability toggle to workspace settings

* feat(workspace): auto enable discoverability on first domain registration

* feat(workspace): discoverability toggle fixes

* fix(eventBus): fix tests

* feat(workspaces): user discoverable workspaces (#2620)

* feat(workspaces): it works just trust me

* fix(workspaces): don't worry about it

* fix(workspaces); happy path success

* fix(workspaces): almost there

* fix(workspaces): successful tests!

* fix(workspaces): we have DISCOVERED (#2621)

* Fixed linting issue

* Updated query

* Updated validation rules

* Updated validation rules

* Fix unsaved file with type export

* Addressed PR comments

* Updated cache

* Updated item classes, add fragment back

* Gergo/web 1574 join workspaces via discovery (#2623)

* chore(useremails): add find verified emails by user function

* chore(workspace): table helper for workspace domains

* chore(workspace): get workspace with domains function

* chore(workspace): test get workspace with domains function

* feat(workspace): restrict workspace membership when updating workspace role

* chore(workspaces): fix types

* feat(workspaces): WIP join

* feat(workspaces): join button makes u join

* chore(useremails): fix type for find verified emails function

* feat(workspaces): join

* feat(workspace): prevent inviting user without email matching domain

* chore(workspaces): fix linter

* fix(workspaces): invoke join (gergo wrote this)

* fuck

* fix(workspaces): properly get discoverable workspaces

* fix(workspaces): test

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Chuck Driesler <chuck@speckle.systems>

* fix(workspaces): some query stuff

* fix(workspaces): mutate cache instead of refetch

* fix(workspaces): more adjustments to gql query and fragment structure

* fix(workspaces): queries, style, structure

* fix(workspaces): match discoverability with current styles

* chore(workspaces): lint lint lint

* fix(workspaces): got it twisted

* chore(workspaces): fix test

* fix(workspaces): route to joined workspace on join

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
Co-authored-by: Chuck Driesler <chuck@speckle.systems>
Co-authored-by: Alessandro Magionami <alessandro.magionami@gmail.com>
2024-08-26 13:33:16 +02:00
Mike b07935964b Fix: Minor styling/copy updates (#2755)
* Fix: Minor styling/copy updates

* Fix linting
2024-08-26 11:43:51 +02:00
Mike 0a001e55f1 Fix: Change label color for disabled state in MenuGroupItem (#2749)
* Change label color for disabled state

* Updated workspaces icon

* Added defaultImg to user avatar

* Added defaultImg to user avatar

* Removed comment
2024-08-26 11:43:29 +02:00
Mike 1bdf7f78bb Fix: Add permissions checks for settings (#2748) 2024-08-23 19:25:05 +02:00
Mike 976bb680f0 Feat: Add link to settings to workspace dashboard (#2745) 2024-08-23 16:29:18 +02:00
Chuck Driesler 7bfe36ef9e feat(workspaces): create workspace button (#2645)
* fix(workspaces): it's my passion

* fix(workspaces): actually make workspaces

* Update graphql.ts

* Dechuckify

* Minor housekeeping changes

* useCreateWorkspace WIP

* Updated add workspace button

* Removed dubble dialog

---------

Co-authored-by: andrewwallacespeckle <andrew@speckle.systems>
Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-08-22 13:23:12 +01:00
Mike 17b89e4cb4 Feat: Added delete user from workspace button (#2726) 2024-08-22 13:35:32 +02:00
Chuck Driesler 63735eb044 feat(workspaces): work(space) invader default logos (#2708)
* feat(workspaces): add default logo index

* Added WorkspaceAvatar component

* Added WorkspaceAvatar component

* Fix issues

* Fix Avatar

---------

Co-authored-by: Mike Tasset <mike.tasset@gmail.com>
2024-08-21 13:53:37 +01:00
Kristaps Fabians Geikins e4cc0cbc83 fix(workspaces): add email to existing account workflow bugfix (#2703)
* fix(fe2): properly handling invitedTeam auth error

* fix(fe2): disable invite dialog if not workspace admin

* fix(useremails): fix for default primary:true when creating new emails

* test fix
2024-08-20 15:45:34 +03:00
andrewwallacespeckle 8ca5c99aa1 Andrew/web 1338 implement new navigation (#2668)
* Initial Sidebar Implementation

* Updates to sidebar

* Use NuxtLinks in FE2 not UI-Components

* Move sidebar to component

* Active State

* Responsive menu

* Update sidebar links

* Add Projects Page. Improve routing

* Small fixes

* Responsive fixes

* TopBar refactor

* Topbar improvements

* User Menu Updates

* Responsive/Topbar improvements

* Various minor changes

* Update sidebar icon

* Revert dui3 change

* Potential fix for login issue

* Fix login issue. Improve empty state for projects

* Add Project & Workspace Invites to notification

* Revert "Add Project & Workspace Invites to notification"

This reverts commit ac33dd0cb1fc47cd5c6e2925ee2a6bbea328d94f.

* Updates to Project Invite Notifications

* Add scroll to Sidebar component

* Dashboard Card targets

* Changes to logo

* Small responsive fixes

* Remove unused alias

* Minor tidy ups

* Updates from CR

* Dashboard Header

* Add padding to non-collapsible headings

* Add Project empty state
2024-08-20 11:11:15 +01:00
Mike 4b2c78ccb7 Feat: add edit workspace avatar (#2695) 2024-08-20 09:51:28 +02:00