Commit Graph

68 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 efaa6970cd Remove Banners component, have all invites in same location (#3304) 2024-10-16 17:22:18 +01:00
andrewwallacespeckle 484713ea71 refactor(fe2): Make it easier to find workspace settings (#3260)
* remove manage and make avatars clickable

* Add Settings button to workspaces header

* Cleaner workspace header incl. no copy link action

* Decrease width of version bar and avatar groups

* Merge

* Updates to tooltips

* Add ... Hide action from guests

* Hide avatargroup from guests

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-10-15 16:03:34 +01:00
andrewwallacespeckle 85af4a9476 fix(fe2): Fix layout shift from workspace description read mroe (#3262)
* Use opacity to hide button without layout shift

* Use visibility
2024-10-14 13:51:32 +01:00
andrewwallacespeckle 0c3ce07146 feat(fe2): Show model and version count in move projects to workspace dialog (#3240)
* Show model/version count in moveprojectsdialog. Update copy

* Add truncate

* Add truncate

* Change copy and text styling

* Add model and version count to fragment

* Fix gql

---------

Co-authored-by: Benjamin Ottensten <benjamin.ottensten@gmail.com>
2024-10-11 14:53:03 +01:00
Mike acf38e7c81 Fix: Re-enable count on member settings (#3247) 2024-10-11 14:38:29 +02:00
Mike 6cb2761d91 Feat: Tooltips on avatars (#3243) 2024-10-10 23:54:23 +02:00
andrewwallacespeckle 7acaf04e29 refactor(fe2): Changes to Move Projects button (#3229)
* Move "Move Projects" button

* Add Move button to quickstart card

* Fix reactivity bug. Hide mobile items when no permissions
2024-10-10 17:01:12 +01:00
andrewwallacespeckle 95b7ec51d1 fix(fe2): Use workspace slug for navigate-on-success and copyWorkspaceLink (#3236)
* Fix navigate on success on workspace creations

* Update Workspace ID to Slugs

* Navigate to workspace home on deletion of workspace project

* Revert "Navigate to workspace home on deletion of workspace project"

This reverts commit fab0d3625a4d2842245e817343e2631d332ea39e.
2024-10-10 16:40:28 +01:00
andrewwallacespeckle 9195452cd6 Only show Breadcrumbs when loaded (#3225) 2024-10-10 15:21:13 +01: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 ebef771c3a refactor(fe2): Update queries to use workspaceBySlug (#3177)
* Use workspaceBySlug

* workspace invite support slug

* fix workspace invite email link

* added tests

* Update workspaceInvite query to use new option

* useSlug directly in query

---------

Co-authored-by: Fabis <fabis94@live.com>
2024-10-02 13:01:38 +01:00
Mike 378373a575 Feat: Added modal for moving projects into workspace (#3124) 2024-10-02 13:14:20 +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
andrewwallacespeckle 57f111ae94 Update Header.vue (#3134) 2024-09-26 13:24:02 +01:00
andrewwallacespeckle 033eb279e0 refactor(fe2): If description is line-clamped show read more and description dialog (#2955)
* Add read more and dialog for workspace description

* Troubleshooting

* Improve "Read more" button reactivity in workspace header
2024-09-26 09:39:33 +01:00
Mike 2fb25d1379 Fix: Change add_group to people.set for workspaces (#2999) 2024-09-16 14:34:30 +02:00
Mike 29fd9248a1 Feat: Add temporary in app workspace promo banner (#2981) 2024-09-13 10:41:09 +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 d88507566b Feat: Add Workspace Joined event (#2936)
* Feat: Add Workspace Joined event

* Feat: Add Workspace Joined event

* Remove event property

* Remove event property
2024-09-11 10:58:54 +02:00
Mike 7c00a1de80 Feat: Mixpanel workspace groups add properties (#2904) 2024-09-10 14:18:29 +02:00
Chuck Driesler 624716cf5d chore(workspaces): shorten discoverable workspace copy (#2910) 2024-09-09 18:46:15 +01:00
Mike b5e93e6d40 Feat: Empty state for workspaces (#2908) 2024-09-09 19:22:07 +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
Chuck Driesler d06f44329b Dismissable invite banners for discoverable workspaces (#2892)
* fix(workspaces): dismissable join banners

* fix(workspaces): correctly update cookie
2024-09-09 09:56:46 +01:00
Chuck Driesler 4896816506 fix(workspaces): mutate on join workspace (#2833)
* proof of concept - types work

* WIP

* wipp

* new modifyObjectFieldf

* updatePathIfExists

* wipp

* working?

* projects dashboard test

* more improvements

* more improvements

* fixx

* bugfix

* minor fixes and cleanup

* moar cleanup

* fix(workspaces): also mutate cache on join

* fix(workspaces): more better

---------

Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
2024-09-05 23:25:27 +01:00
andrewwallacespeckle 0e01119b3b feat(fe2): Open settings on click of users or version count (#2879)
* Open settings on click of users or version count

* Update to use SettingMenuKeys
2024-09-05 11:20:31 +01:00
Kristaps Fabians Geikins 04d0ee074f fix(fe2): default error skip logic & error policy (#2875) 2024-09-05 11:33:38 +03:00
Mike 93f5eb81b2 Fix: Remove 'workspaces' from breadcrumbs (#2871) 2024-09-04 16:11:33 +02:00
Mike fba72eaf7a Fix: Show version count for all members (#2868) 2024-09-04 08:24:30 +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
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
Mike f50de80338 Fix: Check for domain policy on workspace invites (#2846) 2024-09-02 14:12:09 +01:00
Mike f820084f03 Fix: Dont allow non domain policy matching members to be invited to workspace (#2838) 2024-09-02 14:05:16 +02:00
Kristaps Fabians Geikins b83b9b43f0 fix(fe2): workspace header hydration mismatch (#2842) 2024-09-02 13:30:49 +03:00
Alessandro Magionami 4ac6d6dbd3 Merge pull request #2841 from specklesystems/alessandro/web-1762-improve-workspace-discovery-message
chore(workspaces): update discoverability message
2024-09-02 12:19:18 +02:00
Mike 1ad990d438 Fix: Workspace and project header styling (#2839) 2024-09-02 12:14:26 +02:00
Alessandro Magionami 3fa126a92b chore(workspaces): update discoverability message 2024-09-02 12:08:19 +02:00
Kristaps Fabians Geikins 7c6ea464e8 fix: support accepting invites even if a workspace member already (#2826)
* blocking workspace project invites from incorrect resolver

* invite create validation fixes + tests

* fix for email added on decline

* doing init validation on finalization as well

* more tests

* fix(server): allow accepting an email invite even if already a member

* fix(fe2): support accepting invites even if a workspace member already
2024-09-02 09:45:24 +02:00
Mike e62a68cee7 Feat: Add role label, version count, and update styling of project header (#2820) 2024-08-30 12:44:51 +02:00
Chuck Driesler 8ec0d364cb Chuck/web 1614 unify workspaceproject role creation (#2795)
* fix(workspaces): transact all simultaneous workspace-project role changes

* fix(workspaces): more correct usage of transactions

* fix(workspaces): add tests for transaction-based role changes

* fix(workspaces): do not leak knex into domain

* fix(workspaces): transaction-ify factory functions

* fix(workspaces): factory-ify some old functions

* fix(workspaces): missed a resolver

* chore(workspaces): get tests in order

* park it

* chore(workspaces): failing tests

* WHAT DO YOU WANT

* fix(workspaces): i lived bitch

* fix(workspaces): remove test that is no longer true

* fix(workspaces): better repo/service boundaries

* right

* fix(workspaces): service in injected

* fix(workspaces): repair references

* refactor(workspaces): role management rework

* chore(workspaces): adjust tests to match new behaviour

* lint lint lint

* fix(workspaces): fix tests

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2024-08-30 09:56:56 +02: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 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
Mike afd90957a8 Added FE tracking events (#2798) 2024-08-28 21:06:09 +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 986f438851 Fix: Update invite banners styling (#2768) 2024-08-27 15:20:36 +02: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