feat(invitation-signup): optimize user registration process and enhance localization

- Introduced a new SQL migration to optimize the invitation signup process, allowing invited users to skip organization and team creation.
- Updated the `register_user` and `register_google_user` functions to handle invitation signups effectively.
- Enhanced the `deserialize_user` function to include an `invitation_accepted` flag.
- Added new localization keys for creating organizations and related messages in multiple languages, improving user experience across the application.
- Updated the SwitchTeamButton component to support organization creation and improved styling for better usability.
This commit is contained in:
chamiakJ
2025-07-09 07:28:02 +05:30
parent 6c620d6878
commit cab1273e9c
13 changed files with 702 additions and 58 deletions

View File

@@ -13,6 +13,12 @@
"invite": "邀请",
"inviteTooltip": "邀请团队成员加入",
"switchTeamTooltip": "切换团队",
"createNewOrganization": "新建组织",
"createNewOrganizationSubtitle": "创建新的",
"creatingOrganization": "创建中...",
"organizationCreatedSuccess": "组织创建成功!",
"organizationCreatedError": "创建组织失败",
"teamSwitchError": "切换团队失败",
"help": "帮助",
"notificationTooltip": "查看通知",
"profileTooltip": "查看个人资料",