Add members using their username prefixed by the Git Provider's host.
diff --git a/components/dashboard/src/settings/settings-menu.ts b/components/dashboard/src/settings/settings-menu.ts
index a428d4aa54abdb..d960a2e3f9e958 100644
--- a/components/dashboard/src/settings/settings-menu.ts
+++ b/components/dashboard/src/settings/settings-menu.ts
@@ -13,7 +13,7 @@ import {
settingsPathNotifications,
settingsPathPlans,
settingsPathPreferences,
- settingsPathTeams,
+ settingsPathOrgs,
settingsPathVariables,
settingsPathSSHKeys,
settingsPathPersonalAccessTokens,
@@ -80,8 +80,8 @@ function renderBillingMenuEntries(billingMode?: BillingMode) {
link: [settingsPathPlans],
},
{
- title: "Team Plans",
- link: [settingsPathTeams],
+ title: "Organization Plans",
+ link: [settingsPathOrgs],
},
...(BillingMode.showUsageBasedBilling(billingMode)
? [
@@ -98,12 +98,12 @@ function renderBillingMenuEntries(billingMode?: BillingMode) {
title: "Billing",
link: [settingsPathBilling],
},
- // We need to allow access to "Team Plans" here, at least for owners.
+ // We need to allow access to "Organization Plans" here, at least for owners.
...(BillingMode.showTeamSubscriptionUI(billingMode)
? [
{
- title: "Team Plans",
- link: [settingsPathTeams],
+ title: "Organization Plans",
+ link: [settingsPathOrgs],
},
]
: []),
diff --git a/components/dashboard/src/settings/settings.routes.ts b/components/dashboard/src/settings/settings.routes.ts
index 058ec9e7bfd4d3..5d176cfd36847d 100644
--- a/components/dashboard/src/settings/settings.routes.ts
+++ b/components/dashboard/src/settings/settings.routes.ts
@@ -14,10 +14,18 @@ export const settingsPathBilling = "/billing";
export const settingsPathPlans = "/plans";
export const settingsPathPreferences = "/preferences";
+/**
+ * @deprecated use settingsPathOrgs instead
+ * we keep this for some time to not break links
+ */
export const settingsPathTeams = "/teams";
export const settingsPathTeamsJoin = [settingsPathTeams, "join"].join("/");
export const settingsPathTeamsNew = [settingsPathTeams, "new"].join("/");
+export const settingsPathOrgs = "/orgs";
+export const settingsPathOrgsJoin = [settingsPathOrgs, "join"].join("/");
+export const settingsPathOrgsNew = [settingsPathOrgs, "new"].join("/");
+
export const settingsPathVariables = "/variables";
export const settingsPathPersonalAccessTokens = "/tokens";
export const settingsPathPersonalAccessTokenCreate = "/tokens/create";
diff --git a/components/dashboard/src/start/CreateWorkspace.tsx b/components/dashboard/src/start/CreateWorkspace.tsx
index d48f9f33f71216..b612093b9a55b4 100644
--- a/components/dashboard/src/start/CreateWorkspace.tsx
+++ b/components/dashboard/src/start/CreateWorkspace.tsx
@@ -330,7 +330,7 @@ export default class CreateWorkspace extends React.Component void }) {
return (
{}}>
- Choose Billing Team
+ Choose Billing Organization
);
diff --git a/components/dashboard/src/teams/JoinTeam.tsx b/components/dashboard/src/teams/JoinTeam.tsx
index 7cf85332465dde..3ef2cee70795e2 100644
--- a/components/dashboard/src/teams/JoinTeam.tsx
+++ b/components/dashboard/src/teams/JoinTeam.tsx
@@ -37,7 +37,7 @@ export default function () {
}, []);
useEffect(() => {
- document.title = "Joining Team — Gitpod";
+ document.title = "Joining Organization — Gitpod";
}, []);
return joinError ? {String(joinError)}
: <>>;
diff --git a/components/dashboard/src/teams/Members.tsx b/components/dashboard/src/teams/Members.tsx
index 141d9806edaf70..03791dc4850e3e 100644
--- a/components/dashboard/src/teams/Members.tsx
+++ b/components/dashboard/src/teams/Members.tsx
@@ -58,7 +58,7 @@ export default function () {
const getInviteURL = (inviteId: string) => {
const link = new URL(window.location.href);
- link.pathname = "/teams/join";
+ link.pathname = "/orgs/join";
link.search = "?inviteId=" + inviteId;
return link.href;
};
@@ -131,7 +131,7 @@ export default function () {
return (
<>
-
+
@@ -264,7 +264,9 @@ export default function () {
m.userId === user?.id
? [
{
- title: leaveTeamEnabled ? "Leave Team" : "Remaining owner",
+ title: leaveTeamEnabled
+ ? "Leave Organization"
+ : "Remaining owner",
customFontStyle: leaveTeamEnabled
? "text-red-600 dark:text-red-400 hover:text-red-800 dark:hover:text-red-300"
: "text-gray-400 dark:text-gray-200",
@@ -317,7 +319,9 @@ export default function () {
- Use this URL to join this team as a Member.
+
+ Use this URL to join this organization as a member.
+