Skip to content

Commit 6bf0e27

Browse files
authored
[WEB-2433] chore-Update name of the Layout (#5661)
* Updated layout names * Corrected character casing for titles
1 parent 5fb7e98 commit 6bf0e27

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/cycles/(detail)/mobile-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const CycleIssuesMobileHeader = () => {
2929
const { getCycleById } = useCycle();
3030
const layouts = [
3131
{ key: "list", title: "List", icon: List },
32-
{ key: "kanban", title: "Kanban", icon: Kanban },
32+
{ key: "kanban", title: "Board", icon: Kanban },
3333
{ key: "calendar", title: "Calendar", icon: Calendar },
3434
];
3535

web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/issues/(list)/mobile-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { useIssues, useLabel, useMember, useProject, useProjectState } from "@/h
2828
export const ProjectIssuesMobileHeader = observer(() => {
2929
const layouts = [
3030
{ key: "list", title: "List", icon: List },
31-
{ key: "kanban", title: "Kanban", icon: Kanban },
31+
{ key: "kanban", title: "Board", icon: Kanban },
3232
{ key: "calendar", title: "Calendar", icon: Calendar },
3333
];
3434
const [analyticsModal, setAnalyticsModal] = useState(false);

web/app/[workspaceSlug]/(projects)/projects/(detail)/[projectId]/modules/(detail)/mobile-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const ModuleIssuesMobileHeader = observer(() => {
3131
const { getModuleById } = useModule();
3232
const layouts = [
3333
{ key: "list", title: "List", icon: List },
34-
{ key: "kanban", title: "Kanban", icon: Kanban },
34+
{ key: "kanban", title: "Board", icon: Kanban },
3535
{ key: "calendar", title: "Calendar", icon: Calendar },
3636
];
3737
const { workspaceSlug, projectId, moduleId } = useParams() as {

web/core/constants/cycle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ export const CYCLE_VIEW_LAYOUTS: {
4040
{
4141
key: "board",
4242
icon: LayoutGrid,
43-
title: "Grid layout",
43+
title: "Gallery layout",
4444
},
4545
{
4646
key: "gantt",
4747
icon: GanttChartSquare,
48-
title: "Gantt layout",
48+
title: "Timeline layout",
4949
},
5050
];
5151

web/core/constants/issue.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,24 +156,24 @@ export const ISSUE_EXTRA_OPTIONS: {
156156
];
157157

158158
export const ISSUE_LAYOUT_MAP = {
159-
[EIssueLayoutTypes.LIST]: { key: EIssueLayoutTypes.LIST, title: "List Layout", label: "List", icon: List },
160-
[EIssueLayoutTypes.KANBAN]: { key: EIssueLayoutTypes.KANBAN, title: "Kanban Layout", label: "Kanban", icon: Kanban },
159+
[EIssueLayoutTypes.LIST]: { key: EIssueLayoutTypes.LIST, title: "List layout", label: "List", icon: List },
160+
[EIssueLayoutTypes.KANBAN]: { key: EIssueLayoutTypes.KANBAN, title: "Board layout", label: "Board", icon: Kanban },
161161
[EIssueLayoutTypes.CALENDAR]: {
162162
key: EIssueLayoutTypes.CALENDAR,
163-
title: "Calendar Layout",
163+
title: "Calendar layout",
164164
label: "Calendar",
165165
icon: Calendar,
166166
},
167167
[EIssueLayoutTypes.SPREADSHEET]: {
168168
key: EIssueLayoutTypes.SPREADSHEET,
169-
title: "Spreadsheet Layout",
170-
label: "Spreadsheet",
169+
title: "Table layout",
170+
label: "Table",
171171
icon: Sheet,
172172
},
173173
[EIssueLayoutTypes.GANTT]: {
174174
key: EIssueLayoutTypes.GANTT,
175-
title: "Gantt Chart Layout",
176-
label: "Gantt",
175+
title: "Timeline layout",
176+
label: "Timeline",
177177
icon: GanttChartSquare,
178178
},
179179
};

web/core/constants/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export const MODULE_VIEW_LAYOUTS: { key: TModuleLayoutOptions; icon: any; title:
6262
{
6363
key: "board",
6464
icon: LayoutGrid,
65-
title: "Grid layout",
65+
title: "Gallery layout",
6666
},
6767
{
6868
key: "gantt",
6969
icon: GanttChartSquare,
70-
title: "Gantt layout",
70+
title: "Timeline layout",
7171
},
7272
];
7373

0 commit comments

Comments
 (0)