Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const CycleIssuesMobileHeader = () => {
const { getCycleById } = useCycle();
const layouts = [
{ key: "list", title: "List", icon: List },
{ key: "kanban", title: "Kanban", icon: Kanban },
{ key: "kanban", title: "Board", icon: Kanban },
{ key: "calendar", title: "Calendar", icon: Calendar },
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { useIssues, useLabel, useMember, useProject, useProjectState } from "@/h
export const ProjectIssuesMobileHeader = observer(() => {
const layouts = [
{ key: "list", title: "List", icon: List },
{ key: "kanban", title: "Kanban", icon: Kanban },
{ key: "kanban", title: "Board", icon: Kanban },
{ key: "calendar", title: "Calendar", icon: Calendar },
];
const [analyticsModal, setAnalyticsModal] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const ModuleIssuesMobileHeader = observer(() => {
const { getModuleById } = useModule();
const layouts = [
{ key: "list", title: "List", icon: List },
{ key: "kanban", title: "Kanban", icon: Kanban },
{ key: "kanban", title: "Board", icon: Kanban },
{ key: "calendar", title: "Calendar", icon: Calendar },
];
const { workspaceSlug, projectId, moduleId } = useParams() as {
Expand Down
4 changes: 2 additions & 2 deletions web/core/constants/cycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ export const CYCLE_VIEW_LAYOUTS: {
{
key: "board",
icon: LayoutGrid,
title: "Grid layout",
title: "Gallery layout",
},
{
key: "gantt",
icon: GanttChartSquare,
title: "Gantt layout",
title: "Timeline layout",
},
];

Expand Down
10 changes: 5 additions & 5 deletions web/core/constants/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const ISSUE_EXTRA_OPTIONS: {

export const ISSUE_LAYOUT_MAP = {
[EIssueLayoutTypes.LIST]: { key: EIssueLayoutTypes.LIST, title: "List Layout", label: "List", icon: List },
[EIssueLayoutTypes.KANBAN]: { key: EIssueLayoutTypes.KANBAN, title: "Kanban Layout", label: "Kanban", icon: Kanban },
[EIssueLayoutTypes.KANBAN]: { key: EIssueLayoutTypes.KANBAN, title: "Board Layout", label: "Board", icon: Kanban },
Copy link
Member

@aaryan610 aaryan610 Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the casing of layout from Layout to layout across this file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

[EIssueLayoutTypes.CALENDAR]: {
key: EIssueLayoutTypes.CALENDAR,
title: "Calendar Layout",
Expand All @@ -166,14 +166,14 @@ export const ISSUE_LAYOUT_MAP = {
},
[EIssueLayoutTypes.SPREADSHEET]: {
key: EIssueLayoutTypes.SPREADSHEET,
title: "Spreadsheet Layout",
label: "Spreadsheet",
title: "Table Layout",
label: "Table",
icon: Sheet,
},
[EIssueLayoutTypes.GANTT]: {
key: EIssueLayoutTypes.GANTT,
title: "Gantt Chart Layout",
label: "Gantt",
title: "Timeline Layout",
label: "Timeline",
icon: GanttChartSquare,
},
};
Expand Down
4 changes: 2 additions & 2 deletions web/core/constants/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export const MODULE_VIEW_LAYOUTS: { key: TModuleLayoutOptions; icon: any; title:
{
key: "board",
icon: LayoutGrid,
title: "Grid layout",
title: "Gallery layout",
},
{
key: "gantt",
icon: GanttChartSquare,
title: "Gantt layout",
title: "Timeline layout",
},
];

Expand Down