Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update text project -> workspace

Kiran Ka6a477c6f0bc
diff --git a/apps/web/app/admin.dub.co/components/impersonate-user.tsx b/apps/web/app/admin.dub.co/components/impersonate-user.tsx
index 2753c1606f..3c259e03bf 100644
--- a/apps/web/app/admin.dub.co/components/impersonate-user.tsx
+++ b/apps/web/app/admin.dub.co/components/impersonate-user.tsx
@@ -32,7 +32,7 @@ export default function ImpersonateUser() {
action={(formData) => {
if (
!confirm(
- `This will ban the user ${data.email} and delete all their projects and links. Are you sure?`,
+ `This will ban the user ${data.email} and delete all their workspaces and links. Are you sure?`,
)
) {
return;
diff --git a/apps/web/app/admin.dub.co/page.tsx b/apps/web/app/admin.dub.co/page.tsx
index 1ef9479abf..a35d00d3e0 100644
--- a/apps/web/app/admin.dub.co/page.tsx
+++ b/apps/web/app/admin.dub.co/page.tsx
@@ -17,9 +17,9 @@ export default function AdminPage() {
<ImpersonateUser />
</div>
<div className="flex flex-col space-y-4 px-5 py-10">
- <h2 className="text-xl font-semibold">Impersonate Project</h2>
+ <h2 className="text-xl font-semibold">Impersonate Workspace</h2>
<p className="text-sm text-gray-500">
- Get a login link for the owner of a project.
+ Get a login link for the owner of a workspace.
</p>
<ImpersonateProject />
</div>
diff --git a/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx b/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
index f035bc7677..2444c92294 100644
--- a/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/invites/[code]/page.tsx
@@ -81,7 +81,7 @@ async function VerifyInvite({ code }: { code: string }) {
<>
<PageCopy
title="Invalid Invite"
- message="The invite link you are trying to use is invalid. Please contact the project owner for a new invite."
+ message="The invite link you are trying to use is invalid. Please contact the workspace owner for a new invite."
/>
</>
);
@@ -96,7 +96,7 @@ async function VerifyInvite({ code }: { code: string }) {
return (
<PageCopy
title="User Limit Reached"
- message="The project you are trying to join is currently full. Please contact the project owner for more information."
+ message="The workspace you are trying to join is currently full. Please contact the workspace owner for more information."
/>
);
}
diff --git a/apps/web/app/app.dub.co/(auth)/login/form.tsx b/apps/web/app/app.dub.co/(auth)/login/form.tsx
index ea550c6328..939a920565 100644
--- a/apps/web/app/app.dub.co/(auth)/login/form.tsx
+++ b/apps/web/app/app.dub.co/(auth)/login/form.tsx
@@ -164,10 +164,10 @@ export default function LoginForm() {
<div className="mb-4 mt-1 border-t border-gray-300" />
<div className="flex items-center space-x-2">
<h2 className="text-sm font-medium text-gray-900">
- Project Slug
+ Workspace Slug
</h2>
<InfoTooltip
- content={`This is your project's unique identifier on ${process.env.NEXT_PUBLIC_APP_NAME}. E.g. app.dub.co/acme is "acme".`}
+ content={`This is your workspace's unique identifier on ${process.env.NEXT_PUBLIC_APP_NAME}. E.g. app.dub.co/acme is "acme".`}
/>
</div>
<input
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index 93332a816a..dddaf40960 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@ -52,7 +52,7 @@ const AddLinkOptions = () => {
<Tooltip
content={
<TooltipContent
- title="Your project has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
+ title="Your workspace has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
cta={`Upgrade to ${nextPlan.name}`}
onClick={() => {
setOpenPopover(false);
@@ -102,7 +102,7 @@ const AddLinkOptions = () => {
<Tooltip
content={
<TooltipContent
- title="Your project has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
+ title="Your workspace has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
cta={`Upgrade to ${nextPlan.name}`}
onClick={() => {
setOpenPopover(false);
@@ -152,7 +152,7 @@ const AddLinkOptions = () => {
<Tooltip
content={
<TooltipContent
- title="Your project has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
+ title="Your workspace has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
cta={`Upgrade to ${nextPlan.name}`}
onClick={() => {
setOpenPopover(false);
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
index 1a0e84224a..3cfe35801d 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/page-client.tsx
@@ -147,7 +147,7 @@ export default function ProjectBillingClient() {
<UsageCategory
title="Custom Domains"
unit="domains"
- tooltip="Number of custom domains added to your project."
+ tooltip="Number of custom domains added to your workspace."
usage={domains?.length}
usageLimit={domainsLimit}
numberOnly
@@ -157,7 +157,7 @@ export default function ProjectBillingClient() {
<UsageCategory
title="Tags"
unit="tags"
- tooltip="Number of tags added to your project."
+ tooltip="Number of tags added to your workspace."
usage={tags?.length}
usageLimit={tagsLimit}
numberOnly
@@ -165,7 +165,7 @@ export default function ProjectBillingClient() {
<UsageCategory
title="Teammates"
unit="users"
- tooltip="Number of users added to your project."
+ tooltip="Number of users added to your workspace."
usage={users?.length}
usageLimit={usersLimit}
numberOnly
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
index 539ea60d3c..bfad3d1734 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
@@ -15,17 +15,17 @@ export default function ProjectSettingsClient() {
return (
<>
<Form
- title="Project Name"
- description={`This is the name of your project on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
+ title="Workspace Name"
+ description={`This is the name of your workspace on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
inputAttrs={{
name: "name",
defaultValue: name,
- placeholder: "My Project",
+ placeholder: "My Workspace",
maxLength: 32,
}}
helpText="Max 32 characters."
{...(!isOwner && {
- disabledTooltip: "Only project owners can change the project name.",
+ disabledTooltip: "Only workspace owners can change the workspace name.",
})}
handleSubmit={(updateData) =>
fetch(`/api/projects/${slug}`, {
@@ -40,9 +40,9 @@ export default function ProjectSettingsClient() {
mutate("/api/projects"),
mutate(`/api/projects/${slug}`),
]);
- toast.success("Successfully updated project name!");
+ toast.success("Successfully updated workspace name!");
} else if (res.status === 422) {
- toast.error("Project slug already exists");
+ toast.error("Workspace slug already exists");
} else {
const errorMessage = await res.text();
toast.error(errorMessage || "Something went wrong");
@@ -51,18 +51,18 @@ export default function ProjectSettingsClient() {
}
/>
<Form
- title="Project Slug"
- description={`This is your project's unique slug on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
+ title="Workspace Slug"
+ description={`This is your workspace's unique slug on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
inputAttrs={{
name: "slug",
defaultValue: slug,
- placeholder: "my-project",
+ placeholder: "my-workspace",
pattern: "^[a-z0-9-]+$",
maxLength: 48,
}}
helpText="Only lowercase letters, numbers, and dashes. Max 48 characters."
{...(!isOwner && {
- disabledTooltip: "Only project owners can change the project slug.",
+ disabledTooltip: "Only workspace owners can change the workspace slug.",
})}
handleSubmit={(data) =>
fetch(`/api/projects/${slug}`, {
@@ -76,7 +76,7 @@ export default function ProjectSettingsClient() {
const { slug: newSlug } = await res.json();
await mutate("/api/projects");
router.push(`/${newSlug}/settings`);
- toast.success("Successfully updated project slug!");
+ toast.success("Successfully updated workspace slug!");
} else {
const error = await res.text();
toast.error(error || "Something went wrong");
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
index fcfedd392f..07fac526f3 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
@@ -37,7 +37,7 @@ export default function ProjectPeopleClient() {
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">People</h2>
<p className="text-sm text-gray-500">
- Teammates that have access to this project.
+ Teammates that have access to this workspace.
</p>
</div>
<div className="flex space-x-2">
@@ -195,7 +195,7 @@ const UserCard = ({
<IconMenu
text={
session?.user?.email === email
- ? "Leave project"
+ ? "Leave workspace"
: currentTab === "Members"
? "Remove teammate"
: "Revoke invite"
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
index b2f8d18b62..5183c6e3ac 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
@@ -45,7 +45,7 @@ const SAMLSection = () => {
/>
),
title: `${provider} SAML`,
- description: "SAML SSO is configured for your project.",
+ description: "SAML SSO is configured for your workspace.",
};
} else
return {
@@ -189,7 +189,7 @@ const SCIMSection = () => {
/>
),
title: `${SAML_PROVIDERS.find((p) => p.scim === provider)!.name} SCIM`,
- description: "SCIM directory sync is configured for your project.",
+ description: "SCIM directory sync is configured for your workspace.",
};
} else
return {
diff --git a/apps/web/app/app.dub.co/(dashboard)/page.tsx b/apps/web/app/app.dub.co/(dashboard)/page.tsx
index fd63a8f192..feee420cf0 100644
--- a/apps/web/app/app.dub.co/(dashboard)/page.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/page.tsx
@@ -8,7 +8,7 @@ export default function App() {
<div className="flex h-36 items-center border-b border-gray-200 bg-white">
<MaxWidthWrapper>
<div className="flex items-center justify-between">
- <h1 className="text-2xl text-gray-600">My Projects</h1>
+ <h1 className="text-2xl text-gray-600">My Workspaces</h1>
<CreateProjectButton />
</div>
</MaxWidthWrapper>
diff --git a/apps/web/ui/account/delete-account.tsx b/apps/web/ui/account/delete-account.tsx
index 1791361981..259f79b51a 100644
--- a/apps/web/ui/account/delete-account.tsx
+++ b/apps/web/ui/account/delete-account.tsx
@@ -13,7 +13,7 @@ export default function DeleteAccountSection() {
<h2 className="text-xl font-medium">Delete Account</h2>
<p className="text-sm text-gray-500">
Permanently delete your {process.env.NEXT_PUBLIC_APP_NAME} account,
- all of your projects, links and their respective stats. This action
+ all of your workspaces, links and their respective stats. This action
cannot be undone - please proceed with caution.
</p>
</div>
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index 1d8a433cfa..a9e1e7f82f 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -86,7 +86,7 @@ export default function Toggle() {
) : (
<div className="flex items-center space-x-2">
<BlurImage
- alt={name || "Project Logo"}
+ alt={name || "Workspace Logo"}
src={logo || DUB_LOGO}
className="h-6 w-6 flex-shrink-0 overflow-hidden rounded-full"
width={48}
@@ -119,7 +119,7 @@ export default function Toggle() {
title={
slug
? `${display} stats can only be viewed on a Pro plan or higher. Upgrade now to view all-time stats.`
- : `${display} stats can only be viewed on a project with a Pro plan or higher. Create a project or navigate to an existing project to upgrade.`
+ : `${display} stats can only be viewed on a workspace with a Pro plan or higher. Create a workspace or navigate to an existing workspace to upgrade.`
}
cta="Upgrade to Pro"
{...(isPublicStatsPage
diff --git a/apps/web/ui/layout/project-select.tsx b/apps/web/ui/layout/project-select.tsx
index bf9a91ef52..e457c9540f 100644
--- a/apps/web/ui/layout/project-select.tsx
+++ b/apps/web/ui/layout/project-select.tsx
@@ -184,7 +184,7 @@ function ProjectList({
className="flex w-full cursor-pointer items-center space-x-2 rounded-md p-2 transition-all duration-75 hover:bg-gray-100"
>
<PlusCircle className="h-6 w-6 text-gray-500" />
- <span className="block truncate">Add a new project</span>
+ <span className="block truncate">Add a new workspace</span>
</button>
</div>
);
diff --git a/apps/web/ui/modals/accept-invite-modal.tsx b/apps/web/ui/modals/accept-invite-modal.tsx
index 755af8c72e..32a39bf494 100644
--- a/apps/web/ui/modals/accept-invite-modal.tsx
+++ b/apps/web/ui/modals/accept-invite-modal.tsx
@@ -35,13 +35,13 @@ function AcceptInviteModal({
<>
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
- <h3 className="text-lg font-medium">Project Invitation</h3>
+ <h3 className="text-lg font-medium">Workspace Invitation</h3>
<p className="text-center text-sm text-gray-500">
You've been invited to join and collaborate on the{" "}
<span className="font-mono text-purple-600">
{slug || "......"}
</span>{" "}
- project on {process.env.NEXT_PUBLIC_APP_NAME}
+ workspace on {process.env.NEXT_PUBLIC_APP_NAME}
</p>
</div>
<div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
@@ -52,7 +52,7 @@ function AcceptInviteModal({
method: "POST",
headers: { "Content-Type": "application/json" },
}).then(async () => {
- va.track("User accepted project invite", {
+ va.track("User accepted workspace invite", {
project: slug,
});
await Promise.all([
@@ -61,7 +61,7 @@ function AcceptInviteModal({
mutate(`/api/projects/${slug}/domains`),
]);
setShowAcceptInviteModal(false);
- toast.success("You now are a part of this project!");
+ toast.success("You now are a part of this workspace!");
});
}}
disabled={accepting}
@@ -79,7 +79,7 @@ function AcceptInviteModal({
<>
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
- <h3 className="text-lg font-medium">Project Invitation Expired</h3>
+ <h3 className="text-lg font-medium">Workspace Invitation Expired</h3>
<p className="text-center text-sm text-gray-500">
This invite has expired or is no longer valid.
</p>
diff --git a/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx b/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
index 42894e8542..14f2b07a8d 100644
--- a/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal/domain-input.tsx
@@ -130,7 +130,7 @@ export default function DomainInput({
>
Contact us
</a>{" "}
- if you'd like to use this domain for your project.
+ if you'd like to use this domain for your workspace.
</p>
) : (
<p className="mt-2 text-sm text-red-600" id="domain-error">
diff --git a/apps/web/ui/modals/add-edit-domain-modal/index.tsx b/apps/web/ui/modals/add-edit-domain-modal/index.tsx
index f33ba3d3d1..77e1434be1 100644
--- a/apps/web/ui/modals/add-edit-domain-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-domain-modal/index.tsx
@@ -186,7 +186,7 @@ function AddEditDomainModal({
type="button"
onClick={() => {
window.confirm(
- "Warning: Changing your project's domain will break all existing short links and reset their analytics. Are you sure you want to continue?",
+ "Warning: Changing your workspace's domain will break all existing short links and reset their analytics. Are you sure you want to continue?",
) && setLockDomain(false);
}}
>
@@ -355,7 +355,7 @@ function AddEditDomainModal({
text="Delete domain"
onClick={() => {
window.confirm(
- "Warning: Deleting your project's domain will delete all existing short links using the domain. Are you sure you want to continue?",
+ "Warning: Deleting your workspace's domain will delete all existing short links using the domain. Are you sure you want to continue?",
) && deleteDomain();
}}
loading={deleting}
diff --git a/apps/web/ui/modals/add-edit-link-modal/index.tsx b/apps/web/ui/modals/add-edit-link-modal/index.tsx
index 8bd1262cf1..fae7f90091 100644
--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx
+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx
@@ -676,7 +676,7 @@ function AddEditLinkButton({
disabledTooltip={
exceededLinks ? (
<TooltipContent
- title="Your project has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
+ title="Your workspace has exceeded its monthly links limit. We're still collecting data on your existing links, but you need to upgrade to add more links."
cta={`Upgrade to ${nextPlan.name}`}
onClick={() => {
queryParams({
diff --git a/apps/web/ui/modals/add-project-modal.tsx b/apps/web/ui/modals/add-project-modal.tsx
index 925248a149..7325cefd58 100644
--- a/apps/web/ui/modals/add-project-modal.tsx
+++ b/apps/web/ui/modals/add-project-modal.tsx
@@ -110,14 +110,14 @@ function AddProjectModalHelper({
>
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
- <h3 className="text-lg font-medium">Create a new project</h3>
+ <h3 className="text-lg font-medium">Create a new workspace</h3>
<a
href={`${HOME_DOMAIN}/help/article/what-is-a-project`}
target="_blank"
rel="noopener noreferrer"
className="-translate-y-2 text-center text-xs text-gray-500 underline underline-offset-4 hover:text-gray-800"
>
- What is a project?
+ What is a workspace?
</a>
</div>
@@ -137,13 +137,13 @@ function AddProjectModalHelper({
}).then(async (res) => {
if (res.status === 200) {
// track project creation event
- va.track("Created Project");
+ va.track("Created Workspace");
await mutate("/api/projects");
if (welcomeFlow) {
router.push(`/welcome?type=upgrade&slug=${slug}`);
} else {
router.push(`/${slug}`);
- toast.success("Successfully created project!");
+ toast.success("Successfully created workspace!");
setShowAddProjectModal(false);
}
} else {
@@ -169,10 +169,10 @@ function AddProjectModalHelper({
<div>
<label htmlFor="name" className="flex items-center space-x-2">
<p className="block text-sm font-medium text-gray-700">
- Project Name
+ Workspace Name
</p>
<InfoTooltip
- content={`This is the name of your project on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
+ content={`This is the name of your workspace on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
/>
</label>
<div className="mt-2 flex rounded-md shadow-sm">
@@ -197,10 +197,10 @@ function AddProjectModalHelper({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
<p className="block text-sm font-medium text-gray-700">
- Project Slug
+ Workspace Slug
</p>
<InfoTooltip
- content={`This is your project's unique slug on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
+ content={`This is your workspace's unique slug on ${process.env.NEXT_PUBLIC_APP_NAME}.`}
/>
</label>
<div className="relative mt-2 flex rounded-md shadow-sm">
diff --git a/apps/web/ui/modals/delete-account-modal.tsx b/apps/web/ui/modals/delete-account-modal.tsx
index cba0e4b498..95a777a1d4 100644
--- a/apps/web/ui/modals/delete-account-modal.tsx
+++ b/apps/web/ui/modals/delete-account-modal.tsx
@@ -55,7 +55,7 @@ function DeleteAccountModal({
<Avatar user={session?.user} />
<h3 className="text-lg font-medium">Delete Account</h3>
<p className="text-center text-sm text-gray-500">
- Warning: This will permanently delete your account, all your projects,
+ Warning: This will permanently delete your account, all your workspaces,
and all your short links.
</p>
</div>
diff --git a/apps/web/ui/modals/delete-project-modal.tsx b/apps/web/ui/modals/delete-project-modal.tsx
index bf2ee83c5e..8f1294474b 100644
--- a/apps/web/ui/modals/delete-project-modal.tsx
+++ b/apps/web/ui/modals/delete-project-modal.tsx
@@ -56,9 +56,9 @@ function DeleteProjectModal({
>
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
- <h3 className="text-lg font-medium">Delete Project</h3>
+ <h3 className="text-lg font-medium">Delete Workspace</h3>
<p className="text-center text-sm text-gray-500">
- Warning: This will permanently delete your project, custom domain, and
+ Warning: This will permanently delete your workspace, custom domain, and
all associated links and their respective stats.
</p>
</div>
@@ -67,8 +67,8 @@ function DeleteProjectModal({
onSubmit={async (e) => {
e.preventDefault();
toast.promise(deleteProject(), {
- loading: "Deleting project...",
- success: "Project deleted successfully!",
+ loading: "Deleting workspace...",
+ success: "Workspace deleted successfully!",
error: (err) => err,
});
}}
@@ -79,7 +79,7 @@ function DeleteProjectModal({
htmlFor="project-slug"
className="block text-sm font-medium text-gray-700"
>
- Enter the project slug{" "}
+ Enter the workspace slug{" "}
<span className="font-semibold text-black">{slug}</span> to
continue:
</label>
@@ -106,7 +106,7 @@ function DeleteProjectModal({
<label htmlFor="verification" className="block text-sm text-gray-700">
To verify, type{" "}
<span className="font-semibold text-black">
- confirm delete project
+ confirm delete workspace
</span>{" "}
below
</label>
@@ -115,7 +115,7 @@ function DeleteProjectModal({
type="text"
name="verification"
id="verification"
- pattern="confirm delete project"
+ pattern="confirm delete workspace"
required
autoComplete="off"
disabled={!isOwner}
@@ -130,11 +130,11 @@ function DeleteProjectModal({
</div>
<Button
- text="Confirm delete project"
+ text="Confirm delete workspace"
variant="danger"
loading={deleting}
{...(!isOwner && {
- disabledTooltip: "Only project owners can delete a project.",
+ disabledTooltip: "Only workspace owners can delete a workspace.",
})}
/>
</form>
diff --git a/apps/web/ui/modals/edit-role-modal.tsx b/apps/web/ui/modals/edit-role-modal.tsx
index 63c411b2c5..867d7cda8a 100644
--- a/apps/web/ui/modals/edit-role-modal.tsx
+++ b/apps/web/ui/modals/edit-role-modal.tsx
@@ -34,7 +34,7 @@ function EditRoleModal({
{logo ? (
<BlurImage
src={logo}
- alt="Project logo"
+ alt="Workspace logo"
className="h-10 w-10 rounded-full"
width={20}
height={20}
diff --git a/apps/web/ui/modals/remove-saml-modal.tsx b/apps/web/ui/modals/remove-saml-modal.tsx
index 432fb40709..59b2a7f4be 100644
--- a/apps/web/ui/modals/remove-saml-modal.tsx
+++ b/apps/web/ui/modals/remove-saml-modal.tsx
@@ -31,7 +31,7 @@ function RemoveSAMLModal({
{logo ? (
<BlurImage
src={logo}
- alt="Project logo"
+ alt="Workspace logo"
className="h-10 w-10 rounded-full"
width={20}
height={20}
@@ -41,7 +41,7 @@ function RemoveSAMLModal({
)}
<h3 className="text-lg font-medium">Remove SAML</h3>
<p className="text-center text-sm text-gray-500">
- This will remove SAML from your project. Are you sure you want to
+ This will remove SAML from your workspace. Are you sure you want to
continue?
</p>
</div>
diff --git a/apps/web/ui/modals/remove-scim-modal.tsx b/apps/web/ui/modals/remove-scim-modal.tsx
index 007424e290..ef5e22f8f2 100644
--- a/apps/web/ui/modals/remove-scim-modal.tsx
+++ b/apps/web/ui/modals/remove-scim-modal.tsx
@@ -37,7 +37,7 @@ function RemoveSCIMModal({
{logo ? (
<BlurImage
src={logo}
- alt="Project logo"
+ alt="Workspace logo"
className="h-10 w-10 rounded-full"
width={20}
height={20}
@@ -48,7 +48,7 @@ function RemoveSCIMModal({
<h3 className="text-lg font-medium">Remove SCIM Directory</h3>
<p className="text-center text-sm text-gray-500">
This will remove the currently configured SCIM directory from your
- project. Are you sure you want to continue?
+ workspace. Are you sure you want to continue?
</p>
</div>
diff --git a/apps/web/ui/modals/remove-teammate-modal.tsx b/apps/web/ui/modals/remove-teammate-modal.tsx
index fe2a16405a..7c549602d7 100644
--- a/apps/web/ui/modals/remove-teammate-modal.tsx
+++ b/apps/web/ui/modals/remove-teammate-modal.tsx
@@ -41,7 +41,7 @@ function RemoveTeammateModal({
{logo ? (
<BlurImage
src={logo}
- alt="Project logo"
+ alt="Workspace logo"
className="h-10 w-10 rounded-full"
width={20}
height={20}
@@ -53,7 +53,7 @@ function RemoveTeammateModal({
{invite
? "Revoke Invitation"
: session?.user?.email === email
- ? "Leave Project"
+ ? "Leave Workspace"
: "Remove Teammate"}
</h3>
<p className="text-center text-sm text-gray-500">
@@ -66,10 +66,10 @@ function RemoveTeammateModal({
{session?.user?.email === email ? projectName : name || email}
</span>
{invite
- ? "'s invitation to join your project. "
+ ? "'s invitation to join your workspace. "
: session?.user?.email === email
- ? ". You will lose all access to this project. "
- : " from your project. "}
+ ? ". You will lose all access to this workspace. "
+ : " from your workspace. "}
Are you sure you want to continue?
</p>
</div>
@@ -110,7 +110,7 @@ function RemoveTeammateModal({
}
toast.success(
session?.user?.email === email
- ? "You have left the project!"
+ ? "You have left the workspace!"
: invite
? "Successfully revoked invitation!"
: "Successfully removed teammate!",
diff --git a/apps/web/ui/projects/create-project-button.tsx b/apps/web/ui/projects/create-project-button.tsx
index 6d88e4d328..d2509fd9b3 100644
--- a/apps/web/ui/projects/create-project-button.tsx
+++ b/apps/web/ui/projects/create-project-button.tsx
@@ -18,7 +18,7 @@ export default function CreateProjectButton() {
disabledTooltip={
exceedingFreeProjects ? (
<TooltipContent
- title={`You can only create up to ${FREE_PROJECTS_LIMIT} free projects. Additional projects require a paid plan.`}
+ title={`You can only create up to ${FREE_PROJECTS_LIMIT} free workspaces. Additional workspaces require a paid plan.`}
cta="Upgrade to Pro"
href={
freeProjects
diff --git a/apps/web/ui/projects/delete-project.tsx b/apps/web/ui/projects/delete-project.tsx
index d8bef3668b..6bcf697e75 100644
--- a/apps/web/ui/projects/delete-project.tsx
+++ b/apps/web/ui/projects/delete-project.tsx
@@ -18,9 +18,9 @@ export default function DeleteProject() {
>
<DeleteProjectModal />
<div className="flex flex-col space-y-3 p-5 sm:p-10">
- <h2 className="text-xl font-medium">Delete Project</h2>
+ <h2 className="text-xl font-medium">Delete Workspace</h2>
<p className="text-sm text-gray-500">
- Permanently delete your project, custom domain, and all associated
+ Permanently delete your workspace, custom domain, and all associated
links + their stats. This action cannot be undone - please proceed
with caution.
</p>
@@ -34,11 +34,11 @@ export default function DeleteProject() {
<div className="flex items-center justify-end px-5 py-4 sm:px-10">
<div>
<Button
- text="Delete Project"
+ text="Delete Workspace"
variant="danger"
onClick={() => setShowDeleteProjectModal(true)}
{...(!isOwner && {
- disabledTooltip: "Only project owners can delete a project.",
+ disabledTooltip: "Only workspace owners can delete a workspace.",
})}
/>
</div>
diff --git a/apps/web/ui/projects/no-projects-placeholder.tsx b/apps/web/ui/projects/no-projects-placeholder.tsx
index bc4c90d2d3..07ddd2bea0 100644
--- a/apps/web/ui/projects/no-projects-placeholder.tsx
+++ b/apps/web/ui/projects/no-projects-placeholder.tsx
@@ -9,7 +9,7 @@ export default function NoProjectsPlaceholder() {
return (
<div className="col-span-3 flex flex-col items-center justify-center rounded-md border border-gray-200 bg-white py-12">
<h2 className="z-10 text-xl font-semibold text-gray-700">
- You don't have any projects yet!
+ You don't have any workspaces yet!
</h2>
<img
src="/_static/illustrations/shopping-call.svg"
@@ -22,7 +22,7 @@ export default function NoProjectsPlaceholder() {
onClick={() => setShowAddProjectModal(true)}
className="rounded-md border border-black bg-black px-10 py-2 text-sm font-medium text-white transition-all duration-75 hover:bg-white hover:text-black active:scale-95"
>
- Create a project
+ Create a workspace
</button>
</div>
);
diff --git a/apps/web/ui/projects/project-card.tsx b/apps/web/ui/projects/project-card.tsx
index 69dee9b013..bee990e306 100644
--- a/apps/web/ui/projects/project-card.tsx
+++ b/apps/web/ui/projects/project-card.tsx
@@ -65,7 +65,7 @@ export default function ProjectCard({
<div className="absolute -bottom-28 right-0 z-10 w-full max-w-[16rem] rounded-lg border border-gray-200 bg-white p-3 text-center text-sm shadow lg:-right-56">
<p>
Your <InlineSnippet>dub.sh</InlineSnippet> links have been
- migrated to a custom project.
+ migrated to a custom workspace.
</p>
<a
href={`${HOME_DOMAIN}/changelog/dub-links-updates`}
@@ -109,7 +109,7 @@ export default function ProjectCard({
title={
primaryDomain?.verified === false
? "Please verify your domain to start adding links."
- : "Here are all the domains for this project."
+ : "Here are all the domains for this workspace."
}
cta={
primaryDomain?.verified === false
diff --git a/apps/web/ui/projects/project-exceeded-clicks.tsx b/apps/web/ui/projects/project-exceeded-clicks.tsx
index 79008c069d..410e7f1187 100644
--- a/apps/web/ui/projects/project-exceeded-clicks.tsx
+++ b/apps/web/ui/projects/project-exceeded-clicks.tsx
@@ -18,7 +18,7 @@ export default function ProjectExceededClicks() {
Stats Locked
</h1>
<p className="z-10 max-w-sm text-center text-sm text-gray-600">
- Your project has exceeded your monthly clicks limits. We're still
+ Your workspace has exceeded your monthly clicks limits. We're still
collecting data on your links, but you need to upgrade to view them.
</p>
<img
diff --git a/apps/web/ui/projects/project-not-found.tsx b/apps/web/ui/projects/project-not-found.tsx
index 130e2748ba..5d11aae57d 100644
--- a/apps/web/ui/projects/project-not-found.tsx
+++ b/apps/web/ui/projects/project-not-found.tsx
@@ -10,11 +10,11 @@ export default function ProjectNotFound() {
<FileX2 className="h-6 w-6 text-gray-600" />
</div>
<h1 className="my-3 text-xl font-semibold text-gray-700">
- Project Not Found
+ Workspace Not Found
</h1>
<p className="z-10 max-w-sm text-center text-sm text-gray-600">
- Bummer! The project you are looking for does not exist. You either
- typed in the wrong URL or don't have access to this project.
+ Bummer! The workspace you are looking for does not exist. You either
+ typed in the wrong URL or don't have access to this workspace.
</p>
<img
src="/_static/illustrations/coffee-call.svg"
@@ -26,7 +26,7 @@ export default function ProjectNotFound() {
href="/"
className="z-10 rounded-md border border-black bg-black px-10 py-2 text-sm font-medium text-white transition-all duration-75 hover:bg-white hover:text-black"
>
- Back to my projects
+ Back to my workspaces
</Link>
</div>
</MaxWidthWrapper>
diff --git a/apps/web/ui/projects/upload-logo.tsx b/apps/web/ui/projects/upload-logo.tsx
index d0d355ac23..bfb1f2e640 100644
--- a/apps/web/ui/projects/upload-logo.tsx
+++ b/apps/web/ui/projects/upload-logo.tsx
@@ -57,7 +57,7 @@ export default function UploadLogo() {
mutate("/api/projects"),
mutate(`/api/projects/${slug}`),
]);
- toast.success("Succesfully uploaded project logo!");
+ toast.success("Succesfully uploaded workspace logo!");
} else {
const { error } = await res.json();
toast.error(error.message);
@@ -68,9 +68,9 @@ export default function UploadLogo() {
className="rounded-lg border border-gray-200 bg-white"
>
<div className="flex flex-col space-y-3 p-5 sm:p-10">
- <h2 className="text-xl font-medium">Project Logo</h2>
+ <h2 className="text-xl font-medium">Workspace Logo</h2>
<p className="text-sm text-gray-500">
- This is your project's logo on {process.env.NEXT_PUBLIC_APP_NAME}
+ This is your workspace's logo on {process.env.NEXT_PUBLIC_APP_NAME}
</p>
<div>
<label
@@ -167,7 +167,7 @@ export default function UploadLogo() {
disabled={!isOwner || !image || logo === image}
{...(!isOwner && {
disabledTooltip:
- "Only project owners can change the project logo.",
+ "Only workspace owners can change the workspace logo.",
})}
/>
</div>