Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: casing across all settings pages (#5675)

Aaryan Khandelwal846398df41fc
diff --git a/web/ce/components/projects/settings/useProjectColumns.tsx b/web/ce/components/projects/settings/useProjectColumns.tsx
index 22e7c8fb77..8103e9eefa 100644
--- a/web/ce/components/projects/settings/useProjectColumns.tsx
+++ b/web/ce/components/projects/settings/useProjectColumns.tsx
@@ -40,7 +40,7 @@ export const useProjectColumns = () => {
const columns = [
{
key: "Full Name",
- content: "Full Name",
+ content: "Full name",
thClassName: "text-left",
tdRender: (rowData: RowData) => (
<NameColumn
@@ -54,13 +54,13 @@ export const useProjectColumns = () => {
},
{
key: "Display Name",
- content: "Display Name",
+ content: "Display name",
tdRender: (rowData: RowData) => <div className="w-32">{rowData.member.display_name}</div>,
},
{
key: "Account Type",
- content: "Account Type",
+ content: "Account type",
tdRender: (rowData: RowData) => (
<AccountTypeColumn
rowData={rowData}
@@ -72,7 +72,7 @@ export const useProjectColumns = () => {
},
{
key: "Joining Date",
- content: "Joining Date",
+ content: "Joining date",
tdRender: (rowData: RowData) => <div>{getFormattedDate(rowData?.member?.joining_date || "")}</div>,
},
];
diff --git a/web/ce/components/workspace/billing/root.tsx b/web/ce/components/workspace/billing/root.tsx
index 50ad7c8152..3a6d6c45cb 100644
--- a/web/ce/components/workspace/billing/root.tsx
+++ b/web/ce/components/workspace/billing/root.tsx
@@ -15,7 +15,7 @@ export const BillingRoot = () => (
<h4 className="text-md mb-1 leading-6">Current plan</h4>
<p className="mb-3 text-sm text-custom-text-200">You are currently using the free plan</p>
<a href={MARKETING_PRICING_PAGE_LINK} target="_blank" rel="noreferrer">
- <Button variant="neutral-primary">View Plans</Button>
+ <Button variant="neutral-primary">View plans</Button>
</a>
</div>
</div>
diff --git a/web/ce/components/workspace/delete-workspace-section.tsx b/web/ce/components/workspace/delete-workspace-section.tsx
index bf212bb596..93836284f8 100644
--- a/web/ce/components/workspace/delete-workspace-section.tsx
+++ b/web/ce/components/workspace/delete-workspace-section.tsx
@@ -34,7 +34,7 @@ export const DeleteWorkspaceSection: FC<TDeleteWorkspace> = observer((props) =>
buttonClassName="flex w-full items-center justify-between py-4"
title={
<>
- <span className="text-lg tracking-tight">Delete Workspace</span>
+ <span className="text-lg tracking-tight">Delete workspace</span>
{isOpen ? <ChevronUp className="h-5 w-5" /> : <ChevronDown className="h-5 w-5" />}
</>
}
diff --git a/web/core/components/automation/auto-close-automation.tsx b/web/core/components/automation/auto-close-automation.tsx
index 8d33a1b86d..dce5764d42 100644
--- a/web/core/components/automation/auto-close-automation.tsx
+++ b/web/core/components/automation/auto-close-automation.tsx
@@ -81,7 +81,7 @@ export const AutoCloseAutomation: React.FC<Props> = observer((props) => {
<div className="">
<h4 className="text-sm font-medium">Auto-close issues</h4>
<p className="text-sm tracking-tight text-custom-text-200">
- Plane will automatically close issue that haven{"'"}t been completed or canceled.
+ Plane will automatically close issues that haven{"'"}t been completed or canceled.
</p>
</div>
</div>
@@ -134,7 +134,7 @@ export const AutoCloseAutomation: React.FC<Props> = observer((props) => {
</div>
<div className="flex w-full items-center justify-between gap-2 px-5 py-4">
- <div className="w-1/2 text-sm font-medium">Auto-close Status</div>
+ <div className="w-1/2 text-sm font-medium">Auto-close status</div>
<div className="w-1/2 ">
<CustomSearchSelect
value={currentProjectDetails?.default_state ?? defaultState}
diff --git a/web/core/components/estimates/create/modal.tsx b/web/core/components/estimates/create/modal.tsx
index 3eee4fc011..565a3ce7ff 100644
--- a/web/core/components/estimates/create/modal.tsx
+++ b/web/core/components/estimates/create/modal.tsx
@@ -194,7 +194,7 @@ export const CreateEstimateModal: FC<TCreateEstimateModal> = observer((props) =>
</Button>
{estimatePoints && (
<Button variant="primary" size="sm" onClick={handleCreateEstimate} disabled={buttonLoader}>
- {buttonLoader ? `Creating` : `Create Estimate`}
+ {buttonLoader ? `Creating` : `Create estimate`}
</Button>
)}
</div>
diff --git a/web/core/components/exporter/guide.tsx b/web/core/components/exporter/guide.tsx
index e5386d2192..7ee2899956 100644
--- a/web/core/components/exporter/guide.tsx
+++ b/web/core/components/exporter/guide.tsx
@@ -114,7 +114,7 @@ const IntegrationGuide = observer(() => {
<div>
<div className="flex items-center justify-between border-b border-custom-border-100 pb-3.5 pt-7">
<div className="flex items-center gap-2">
- <h3 className="flex gap-2 text-xl font-medium">Previous Exports</h3>
+ <h3 className="flex gap-2 text-xl font-medium">Previous exports</h3>
<button
type="button"
diff --git a/web/core/components/onboarding/tour/root.tsx b/web/core/components/onboarding/tour/root.tsx
index 3d96cb1478..20c3fbcbd5 100644
--- a/web/core/components/onboarding/tour/root.tsx
+++ b/web/core/components/onboarding/tour/root.tsx
@@ -176,7 +176,7 @@ export const TourRoot: React.FC<Props> = observer((props) => {
toggleCreateProjectModal(true);
}}
>
- Create my first project
+ Create your first project
</Button>
)}
</div>
diff --git a/web/core/components/profile/notification/email-notification-form.tsx b/web/core/components/profile/notification/email-notification-form.tsx
index 990ade067a..d3e9049e72 100644
--- a/web/core/components/profile/notification/email-notification-form.tsx
+++ b/web/core/components/profile/notification/email-notification-form.tsx
@@ -79,7 +79,7 @@ export const EmailNotificationForm: FC<IEmailNotificationFormProps> = (props) =>
</div>
<div className="flex gap-2 items-center pt-6 pb-2">
<div className="grow">
- <div className="pb-1 text-base font-medium text-custom-text-100">State Change</div>
+ <div className="pb-1 text-base font-medium text-custom-text-100">State change</div>
<div className="text-sm font-normal text-custom-text-300">
Notify me when the issues moves to a different state
</div>
diff --git a/web/core/components/project-states/create-update/form.tsx b/web/core/components/project-states/create-update/form.tsx
index 73d638ff21..14c2dc0b77 100644
--- a/web/core/components/project-states/create-update/form.tsx
+++ b/web/core/components/project-states/create-update/form.tsx
@@ -94,7 +94,7 @@ export const StateForm: FC<TStateForm> = (props) => {
/>
<Button type="button" variant="neutral-primary" size="sm" disabled={buttonDisabled} onClick={onCancel}>
- cancel
+ Cancel
</Button>
<Button type="submit" variant="primary" size="sm" disabled={buttonDisabled}>
diff --git a/web/core/components/project/delete-project-modal.tsx b/web/core/components/project/delete-project-modal.tsx
index 7e046be856..c8deaf97e4 100644
--- a/web/core/components/project/delete-project-modal.tsx
+++ b/web/core/components/project/delete-project-modal.tsx
@@ -118,7 +118,7 @@ export const DeleteProjectModal: React.FC<DeleteProjectModal> = (props) => {
<AlertTriangle className="h-6 w-6 text-red-600" aria-hidden="true" />
</span>
<span className="flex items-center justify-start">
- <h3 className="text-xl font-medium 2xl:text-2xl">Delete Project</h3>
+ <h3 className="text-xl font-medium 2xl:text-2xl">Delete project</h3>
</span>
</div>
<span>
@@ -181,7 +181,7 @@ export const DeleteProjectModal: React.FC<DeleteProjectModal> = (props) => {
Cancel
</Button>
<Button variant="danger" size="sm" type="submit" disabled={!canDelete} loading={isSubmitting}>
- {isSubmitting ? "Deleting..." : "Delete Project"}
+ {isSubmitting ? "Deleting" : "Delete project"}
</Button>
</div>
</form>
diff --git a/web/core/components/project/form-loader.tsx b/web/core/components/project/form-loader.tsx
index 57c1eac4b0..e889c2bef9 100644
--- a/web/core/components/project/form-loader.tsx
+++ b/web/core/components/project/form-loader.tsx
@@ -29,7 +29,7 @@ export const ProjectDetailsFormLoader: FC<IProjectDetailsFormLoader> = () => (
</div>
<div className="my-8 flex flex-col gap-8">
<div className="flex flex-col gap-1">
- <h4 className="text-sm">Project Name</h4>
+ <h4 className="text-sm">Project name</h4>
<Loader>
<Loader.Item height="46px" width="100%" />
</Loader>
diff --git a/web/core/components/project/form.tsx b/web/core/components/project/form.tsx
index 7b9e13d704..230f17fa4b 100644
--- a/web/core/components/project/form.tsx
+++ b/web/core/components/project/form.tsx
@@ -213,7 +213,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
</div>
<div className="my-8 flex flex-col gap-8">
<div className="flex flex-col gap-1">
- <h4 className="text-sm">Project Name</h4>
+ <h4 className="text-sm">Project name</h4>
<Controller
control={control}
name="name"
@@ -234,7 +234,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
onChange={onChange}
hasError={Boolean(errors.name)}
className="rounded-md !p-3 font-medium"
- placeholder="Project Name"
+ placeholder="Project name"
disabled={!isAdmin}
/>
)}
@@ -290,7 +290,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
onChange={handleIdentifierChange}
ref={ref}
hasError={Boolean(errors.identifier)}
- placeholder="Enter Project ID"
+ placeholder="Enter project ID"
className="w-full font-medium"
disabled={!isAdmin}
/>
diff --git a/web/core/components/project/project-settings-member-defaults.tsx b/web/core/components/project/project-settings-member-defaults.tsx
index d58044ca75..4b6c3cd390 100644
--- a/web/core/components/project/project-settings-member-defaults.tsx
+++ b/web/core/components/project/project-settings-member-defaults.tsx
@@ -115,7 +115,7 @@ export const ProjectSettingsMemberDefaults: React.FC = observer(() => {
<div className="flex w-full flex-col gap-2 pb-4">
<div className="flex w-full items-center gap-4 py-4">
<div className="flex w-1/2 flex-col gap-2">
- <h4 className="text-sm">Project Lead</h4>
+ <h4 className="text-sm">Project lead</h4>
<div className="">
{currentProjectDetails ? (
<Controller
@@ -140,7 +140,7 @@ export const ProjectSettingsMemberDefaults: React.FC = observer(() => {
</div>
<div className="flex w-1/2 flex-col gap-2">
- <h4 className="text-sm">Default Assignee</h4>
+ <h4 className="text-sm">Default assignee</h4>
<div className="">
{currentProjectDetails ? (
<Controller
diff --git a/web/core/components/project/send-project-invitation-modal.tsx b/web/core/components/project/send-project-invitation-modal.tsx
index c3b2fc1725..2eaa615601 100644
--- a/web/core/components/project/send-project-invitation-modal.tsx
+++ b/web/core/components/project/send-project-invitation-modal.tsx
@@ -210,7 +210,7 @@ export const SendProjectInvitationModal: React.FC<Props> = observer((props) => {
<form onSubmit={handleSubmit(onSubmit)}>
<div className="space-y-5">
<Dialog.Title as="h3" className="text-lg font-medium leading-6 text-custom-text-100">
- Invite Members
+ Invite members
</Dialog.Title>
<div className="mt-2">
<p className="text-sm text-custom-text-200">Invite members to work on your project.</p>
diff --git a/web/core/components/project/settings/delete-project-section.tsx b/web/core/components/project/settings/delete-project-section.tsx
index 1dbeb18dc6..d425af53e4 100644
--- a/web/core/components/project/settings/delete-project-section.tsx
+++ b/web/core/components/project/settings/delete-project-section.tsx
@@ -21,7 +21,7 @@ export const DeleteProjectSection: React.FC<IDeleteProjectSection> = (props) =>
{({ open }) => (
<div className="w-full">
<Disclosure.Button as="button" type="button" className="flex w-full items-center justify-between">
- <span className="text-xl tracking-tight">Delete Project</span>
+ <span className="text-xl tracking-tight">Delete project</span>
{open ? <ChevronUp className="h-5 w-5" /> : <ChevronRight className="h-5 w-5" />}
</Disclosure.Button>
@@ -37,8 +37,8 @@ export const DeleteProjectSection: React.FC<IDeleteProjectSection> = (props) =>
<Disclosure.Panel>
<div className="flex flex-col gap-8 pt-4">
<span className="text-sm tracking-tight">
- When deleting a project, all of the data and resources within that project will be
- permanently removed and cannot be recovered.
+ When deleting a project, all of the data and resources within that project will be permanently removed
+ and cannot be recovered.
</span>
<div>
{projectDetails ? (
diff --git a/web/core/components/workspace/delete-workspace-modal.tsx b/web/core/components/workspace/delete-workspace-modal.tsx
index 3d893a6875..b3ada6dd78 100644
--- a/web/core/components/workspace/delete-workspace-modal.tsx
+++ b/web/core/components/workspace/delete-workspace-modal.tsx
@@ -124,7 +124,7 @@ export const DeleteWorkspaceModal: React.FC<Props> = observer((props) => {
<AlertTriangle className="h-6 w-6 text-red-600" aria-hidden="true" />
</span>
<span className="flex items-center justify-start">
- <h3 className="text-xl font-medium 2xl:text-2xl">Delete Workspace</h3>
+ <h3 className="text-xl font-medium 2xl:text-2xl">Delete workspace</h3>
</span>
</div>
@@ -191,7 +191,7 @@ export const DeleteWorkspaceModal: React.FC<Props> = observer((props) => {
Cancel
</Button>
<Button variant="danger" size="sm" type="submit" disabled={!canDelete} loading={isSubmitting}>
- {isSubmitting ? "Deleting..." : "Delete Workspace"}
+ {isSubmitting ? "Deleting" : "Delete workspace"}
</Button>
</div>
</form>
diff --git a/web/core/components/workspace/settings/workspace-details.tsx b/web/core/components/workspace/settings/workspace-details.tsx
index b05f328c59..d1d6f19091 100644
--- a/web/core/components/workspace/settings/workspace-details.tsx
+++ b/web/core/components/workspace/settings/workspace-details.tsx
@@ -296,7 +296,7 @@ export const WorkspaceDetails: FC = observer(() => {
{isAdmin && (
<div className="flex items-center justify-between py-2">
<Button variant="primary" onClick={handleSubmit(onSubmit)} loading={isLoading}>
- {isLoading ? "Updating..." : "Update Workspace"}
+ {isLoading ? "Updating" : "Update workspace"}
</Button>
</div>
)}
diff --git a/web/core/components/workspace/sidebar/quick-actions.tsx b/web/core/components/workspace/sidebar/quick-actions.tsx
index e416c537ec..5df8eb952e 100644
--- a/web/core/components/workspace/sidebar/quick-actions.tsx
+++ b/web/core/components/workspace/sidebar/quick-actions.tsx
@@ -36,7 +36,7 @@ export const SidebarQuickActions = observer(() => {
const canCreateIssue = allowPermissions(
[EUserPermissions.ADMIN, EUserPermissions.MEMBER],
EUserPermissionsLevel.WORKSPACE
- );
+ );
const disabled = joinedProjectIds.length === 0 || !canCreateIssue;
const workspaceDraftIssue = workspaceSlug ? (storedValue?.[workspaceSlug] ?? undefined) : undefined;
@@ -121,7 +121,7 @@ export const SidebarQuickActions = observer(() => {
className="flex w-full flex-shrink-0 items-center rounded border-[0.5px] border-custom-border-300 bg-custom-background-100 px-3 py-[10px] text-sm text-custom-text-300 shadow"
>
<PenSquare size={16} className="mr-2 !text-lg !leading-4 text-custom-sidebar-text-300" />
- Last Drafted Issue
+ Last drafted issue
</button>
</div>
</div>
diff --git a/web/core/constants/themes.ts b/web/core/constants/themes.ts
index 96ece0600d..c221a631ed 100644
--- a/web/core/constants/themes.ts
+++ b/web/core/constants/themes.ts
@@ -14,7 +14,7 @@ export interface I_THEME_OPTION {
export const THEME_OPTIONS: I_THEME_OPTION[] = [
{
value: "system",
- label: "System Preference",
+ label: "System preference",
type: "light",
icon: {
border: "#DEE2E6",
@@ -44,7 +44,7 @@ export const THEME_OPTIONS: I_THEME_OPTION[] = [
},
{
value: "light-contrast",
- label: "Light High Contrast",
+ label: "Light high contrast",
type: "light",
icon: {
border: "#000000",
@@ -54,7 +54,7 @@ export const THEME_OPTIONS: I_THEME_OPTION[] = [
},
{
value: "dark-contrast",
- label: "Dark High Contrast",
+ label: "Dark high contrast",
type: "dark",
icon: {
border: "#FFFFFF",
@@ -64,7 +64,7 @@ export const THEME_OPTIONS: I_THEME_OPTION[] = [
},
{
value: "custom",
- label: "Custom Theming",
+ label: "Custom theme",
type: "light",
icon: {
border: "#FFC9C9",