twenty/packages/twenty-server
Aditya Pimpalkar da12710fe9
feat: multi-workspace (frontend) (#4232)
* select workspace component

* generateJWT mutation

* workspaces state and hooks

* requested changes

* mutation fix

* requested changes

* user workpsace delete call

* migration to drop and createt user workspace

* revert select props

* add DropdownMenu

* seperate multi-workspace dropdown as component

* Signup button displayed accurately

* update seed data for multi-workspace

* lint fix

* lint fix

* css fix

* lint fix

* state fix

* isDefined check

* refactor

* add default workspace constants for logo and name

* update migration

* lint fix

* isInviteMode check on sign-in/up

* removeWorkspaceMember mutation

* import fixes

* prop name fix

* backfill migration

* handle edge cases

* refactor

* remove migration query

* delete user on no-workspace found condition

* emit workspaceMember.deleted

* Fix event class and unrelated fix linked to a previously missing dependency

* Edit migration (I did it in prod manually)

* Revert changes

* Fix tests

* Fix conflicts

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
2024-03-20 14:43:41 +01:00
..
@types feat: standard fields on custom (#4332) 2024-03-07 17:21:50 +01:00
patches Update scripts and documentation to use nx and new monorepo architecture (#2912) 2023-12-11 10:54:57 +01:00
scripts Cleanup default values and leftover methods in environmentService (#4550) 2024-03-18 17:09:39 +01:00
src feat: multi-workspace (frontend) (#4232) 2024-03-20 14:43:41 +01:00
test feat: refactor folder structure (#4498) 2024-03-15 14:40:58 +01:00
.env.example Set optional checkout.session.url (#4569) 2024-03-20 07:04:07 +01:00
.env.test fix: impact too many records (#3993) 2024-02-16 11:17:37 +01:00
.eslintrc.js Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.gitignore feat: workspace:health nullable fix (#3882) 2024-02-08 18:22:29 +01:00
.prettierignore Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
.prettierrc Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
jest.config.ts Refactor backend folder structure (#4505) 2024-03-15 18:37:09 +01:00
nest-cli.json Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
package.json Add migrate prod command 2024-03-15 23:33:25 +01:00
project.json Refactor backend folder structure (#4505) 2024-03-15 18:37:09 +01:00
tsconfig.build.json chore: set up twenty-emails config so build isn't needed in development (#3619) 2024-01-29 06:17:12 -03:00
tsconfig.json [backend] add cache storage module (#4320) 2024-03-07 14:07:01 +01:00