Commit Graph

63 Commits

Author SHA1 Message Date
Benjamin Ottensten 1f1300baaf Fix: Various papercuts (#3296)
* Update move copy

* Ensure version counter doesn't break onto 2 lines

* Increase contrast in breadcrumb

Darker '/' and only font-medium on the active item

* Make it clearer to input new short ID and not current

* Add ... to menu items

* Change more "..." in menu items

* Fix gap and border between invite banners

And move the background to the individual banners
2024-10-18 12:40:20 +02:00
andrewwallacespeckle 922f6a2b5b fix(fe2): Add Validation for Slugs (#3255)
* Don't close dialog on invalid slug

* Custom error message on textInput

* Query backend to validate slug

* Updated loading spinner

* Update to error in Create Dialog

* Add to edit. Debounce input

* GQL

* Update CreateDialog.vue

* Update Edit Dialog

* Fix typo

* Update reset to avoid error on submit

* Temporary replacement until we swap to WebFlow API

* Update Icon.vue

* Fix build!
2024-10-17 14:41:31 +01:00
andrewwallacespeckle 75af7e5418 feat(fe2): Add deletion verification when deleting workspaces (#3277)
* Add confirm input to delete workspace

* Redirect home and open deletion reason dialog

* Merge delete dialogs

* Remove glitch file

* Update route

* Update feedback message

* Improve messaging in discord

* Testing changes

* Improve text

* Remove lg prop

* Spacing
2024-10-17 12:13:00 +01:00
andrewwallacespeckle e847fb2285 Disable workspace invite button - not hide (#3267) 2024-10-14 14:46:04 +01:00
Mike acf38e7c81 Fix: Re-enable count on member settings (#3247) 2024-10-11 14:38:29 +02:00
Alessandro Magionami 20bf7181b9 Activitystream IoC 2 addStreamAccessRequestDeclinedActivity (#3231)
* chore(activitystream): addStreamUpdatedActivity refactor multi region

* chore(activitystream): addStreamAccessRequestedActivity refactor multiregion

* chore(activitystream): addStreamAccessRequestDeclinedActivity refactor multiregion
2024-10-11 11:37:41 +02:00
Mike 6cb2761d91 Feat: Tooltips on avatars (#3243) 2024-10-10 23:54:23 +02:00
Mike 1fba35a7de Fix: Various bugfixes (#3245) 2024-10-10 23:54:08 +02:00
Mike cf701cd9a8 Fix: Dont allow admins to change their own WS role (#3228) 2024-10-10 17:27:53 +02:00
Mike f2ba2dd084 Feat: Add SSO settings (#3186) 2024-10-10 16:07:14 +02:00
Mike 2005067a6a Feat: Add role descriptions to select inputs (#3217) 2024-10-10 15:26:14 +02:00
Chuck Driesler e7ba48e320 Feat: Remove guests from workspace members table (#3219) 2024-10-10 14:25:45 +02:00
andrewwallacespeckle 677b8202fa feat(fe2): workspace slug / short id support (#3088)
* Add edit slug dialog

* Design changes to edit button

* Slug url implementation

* Disable slug edit if non admin

* Preloading queries

* Use preloaded workspace id

* Changes pre PR

* Removed unneeded import

* feat(workspaces): migrate slug to match the workspaceId

* WIP Comments

* Add watch. Use Fragment

* Tidy create

* Tidy ups

* Tidy up Edit Dialog

* Remove comment

* Update text - changing slug does not break embeds

* Updates from CR

* Reorder ProjectList

* Feedback from Michal

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-10-01 16:23:54 +01:00
Mike 3b453385de Feat: Enable billing page for members (#3094) 2024-09-24 13:36:18 +02:00
Mike aa2fe181fa Fix: disable project role select for non admin (#3093) 2024-09-24 12:57:21 +02:00
andrewwallacespeckle b7db51649d feat(fe2): Guest table should show what they have access to (#3047)
* Initial work

* Update role dialog

* useDebouncedTextInput

* Only show dialog if user has projects

* Update Cache on updating role

* Remove unused cache eviction

* Fix reactivity bug

* Handle pluralisation. Empty state when no projects left

* Hide owner from Permission Select
2024-09-23 15:20:38 +01:00
Mike c5e79eaca9 Feat: Allow selection of default workspace roles (#3034) 2024-09-19 16:45:20 +02:00
andrewwallacespeckle 4c1ab5f5a0 refactor(fe2): Inputs and Settings Dialog Updates (#2941)
* WIP

* Up to General

* Projects Table

* Other menu items

* Tidy up other inputs

* Refactor Developer Settings to be more modular

* Move buttons to menus

* Minor changes

* Fix build

* Updates from testing

* Fixes from testing
2024-09-12 16:15:27 +01:00
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
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
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
Mike b84efcc8f2 Feat: Add more workspace mixpanel events (#2806) 2024-08-29 13:14:13 +02: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 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
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