feat: replace team list view with org list view UI and fix team view user availability (#15344)
* feat: replace team list view with org list view UI and fix team view user availability * update * update2 * some changes * Remove old team availability modal - fix flex direction * fix * fix type error * update * update * fix type error * update * upfate edit sheet * final update * fix flaky e2e * fix e2e * typo * profile update flow * fix type error and refactor * small update * NIT * update * chore: fix types * update --------- Co-authored-by: sean-brydon <[email protected]> Co-authored-by: Amit Sharma <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
11 files changed
+927
-481
No files matched your search
@@ -543,9 +543,15 @@ async function expectUserToBeAMemberOfTeam({
|
||||
await page.waitForLoadState("domcontentloaded");
|
||||
expect(
|
||||
(
|
||||
await page.locator(`[data-testid="member-${username}"] [data-testid=member-role]`).textContent()
|
||||
await page
|
||||
.locator(
|
||||
`[data-testid="member-${username}"] [data-testid="${
|
||||
isMemberShipAccepted ? "member-email" : `email-${email.replace("@", "")}-pending`
|
||||
}"]`
|
||||
)
|
||||
.textContent()
|
||||
)?.toLowerCase()
|
||||
).toBe(role.toLowerCase());
|
||||
).toBe(email.toLowerCase());
|
||||
if (isMemberShipAccepted) {
|
||||
await expect(page.locator(`[data-testid="email-${email.replace("@", "")}-pending"]`)).toBeHidden();
|
||||
} else {
|
||||
|
||||
@@ -2177,8 +2177,11 @@
|
||||
"add_to_team": "Add to team",
|
||||
"remove_users_from_org": "Remove users from organization",
|
||||
"remove_users_from_org_confirm": "Are you sure you want to remove {{userCount}} users from this organization?",
|
||||
"remove_users_from_team": "Remove users from team",
|
||||
"remove_users_from_team_confirm": "Are you sure you want to remove {{userCount}} users from this team?",
|
||||
"user_has_no_schedules": "This user has not setup any schedules yet",
|
||||
"user_isnt_in_any_teams": "This user is not in any teams",
|
||||
"user_has_no_app_installed": "This user has not installed any apps yet",
|
||||
"requires_booker_email_verification": "Requires booker email verification",
|
||||
"description_requires_booker_email_verification": "To ensure booker's email verification before scheduling events",
|
||||
"requires_confirmation_mandatory": "Text messages can only be sent to attendees when event type requires confirmation.",
|
||||
|
||||
Reference in new issue
Block a user