Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
3072ced
chore: ln support modules constants
gakshita Jan 20, 2025
f8dc1bd
fix: translation key
gakshita Jan 22, 2025
ad2dc67
chore: empty state refactor (#6404)
anmolsinghbhatia Jan 25, 2025
9093b41
fix: language support fo profile (#6461)
gakshita Jan 27, 2025
0e110f3
[WEB-3165]feat: language support for issues (#6452)
vamsikrishnamathala Jan 27, 2025
2e022a4
chore: migrated filters.ts to packages (#6459)
vamsikrishnamathala Jan 27, 2025
385be31
chore: workspace drafts constant moved to plane constant package
anmolsinghbhatia Jan 27, 2025
9a3fb8b
Merge pull request #6463 from makeplane/chore-workspace-drafts-consta…
gakshita Jan 27, 2025
571c3f6
feat: home language support without stickies (#6443)
gakshita Jan 27, 2025
3ec71d6
chore: translation update
prateekshourya29 Jan 27, 2025
7f19caf
feat: workspace constant language support and refactor (#6462)
anmolsinghbhatia Jan 27, 2025
a4450d3
chore: tab indices constant moved to plane package (#6464)
anmolsinghbhatia Jan 27, 2025
fdff476
chore: notification language support and refactor
anmolsinghbhatia Jan 27, 2025
eaf8ce0
chore: ln support for inbox constants (#6432)
gakshita Jan 27, 2025
ca02b0d
fix: ln support for views constants (#6431)
gakshita Jan 27, 2025
46fd7ae
chore: code refactor
anmolsinghbhatia Jan 27, 2025
2f56caa
chore: ln support workspace projects constants (#6429)
gakshita Jan 27, 2025
51c16a9
Merge branch 'feat-language-support' of https://github.com/makeplane/…
gakshita Jan 27, 2025
5f6b443
fi: added translations
gakshita Jan 27, 2025
4cd94bb
Merge pull request #6428 from makeplane/chore-ln-module
gakshita Jan 27, 2025
c1a7fac
Merge branch 'feat-language-support' of https://github.com/makeplane/…
gakshita Jan 27, 2025
0ef3c2d
Merge pull request #6469 from makeplane/chore-notification-language-s…
gakshita Jan 27, 2025
cbef96a
Chore: theme language support and refactor (#6465)
anmolsinghbhatia Jan 27, 2025
77da491
[WEB-3173] chore: language support for cycles constant file (#6415)
gakshita Jan 27, 2025
678cde7
fix: build errors
prateekshourya29 Jan 27, 2025
586b2ae
minor updates
prateekshourya29 Jan 27, 2025
efc35ef
chore: minor translation update
prateekshourya29 Jan 27, 2025
1ace9d3
chore: minor translation update
prateekshourya29 Jan 28, 2025
b890c88
refactor: move labels contants to packages
prateekshourya29 Jan 28, 2025
c600020
Merge pull request #6473 from makeplane/refactor-label-constant
vamsikrishnamathala Jan 28, 2025
660531e
refactor: move swr, file and error related constants to packages
prateekshourya29 Jan 28, 2025
3487e20
chore: timezones constant moved to plane package
anmolsinghbhatia Jan 28, 2025
f5fc608
chore: metadata constant code refactor
anmolsinghbhatia Jan 28, 2025
0ff59f0
chore: code refactor
anmolsinghbhatia Jan 28, 2025
03e44f2
Merge pull request #6475 from makeplane/chore-constant-file-refactor
gakshita Jan 28, 2025
d7f3a8e
fix: dashboard constants moved
gakshita Jan 28, 2025
0221bf9
chore: code refactor (#6478)
anmolsinghbhatia Jan 28, 2025
02ad41e
refactor: spreadsheet constants
vamsikrishnamathala Jan 28, 2025
b75e624
chore: drafts language support (#6485)
anmolsinghbhatia Jan 28, 2025
2160f8c
feat: ln support for notifications (#6486)
gakshita Jan 28, 2025
2fdba59
Merge pull request #6474 from makeplane/refactor-constants
vamsikrishnamathala Jan 28, 2025
a250b7e
* refactor: moved page constants to packages (#6480)
vamsikrishnamathala Jan 28, 2025
b2f06d2
Merge branch 'feat-language-support' of https://github.com/makeplane/…
gakshita Jan 28, 2025
f260c91
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
vamsikrishnamathala Jan 28, 2025
c09acca
fix: removed use-client
gakshita Jan 28, 2025
1b914ce
Merge pull request #6481 from makeplane/feat-dashboards-constants
vamsikrishnamathala Jan 28, 2025
9c99cda
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
vamsikrishnamathala Jan 28, 2025
52193c1
chore: removed unnecessary commnets
vamsikrishnamathala Jan 28, 2025
d01f774
Merge pull request #6489 from makeplane/refactor-spredsheets
gakshita Jan 28, 2025
82b5b02
chore: workspace draft language support (#6490)
anmolsinghbhatia Jan 28, 2025
eb9d6a5
Feat constant event tracker (#6479)
gakshita Jan 28, 2025
4b17067
feat: language translation - projects list (#6493)
vamsikrishnamathala Jan 28, 2025
7a8ba8e
chore: module language support (#6499)
anmolsinghbhatia Jan 28, 2025
5e5fde5
chore: workspace views language support (#6492)
anmolsinghbhatia Jan 28, 2025
20e4cda
feat: custom analytics language support (#6494)
gakshita Jan 28, 2025
586bd64
chore: minor improvements
prateekshourya29 Jan 28, 2025
a32345b
feat: language support for intake (#6498)
gakshita Jan 29, 2025
a9e805c
refactor: authentications related translations
prateekshourya29 Jan 29, 2025
360d02f
feat: language support issues (#6501)
vamsikrishnamathala Jan 29, 2025
0374d34
Merge branch 'preview' of github.com:makeplane/plane into refactor-au…
prateekshourya29 Jan 29, 2025
7afeeaf
Merge branch 'preview' of github.com:makeplane/plane into feat-langua…
prateekshourya29 Jan 29, 2025
0878aa2
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
prateekshourya29 Jan 29, 2025
f0fdbb0
Merge pull request #6506 from makeplane/refactor-autentication-transl…
gakshita Jan 29, 2025
394bb6d
Feat: workspace settings language support (#6508)
gakshita Jan 29, 2025
9b4e086
chore project settings language support (#6502)
anmolsinghbhatia Jan 29, 2025
069e577
refactor: workspace creation related translations
prateekshourya29 Jan 29, 2025
355c442
Merge pull request #6510 from makeplane/refactor-workspace-creation-t…
gakshita Jan 29, 2025
565e9b9
chore: renamed issues to work items
vamsikrishnamathala Jan 29, 2025
7610185
fix: build errors
prateekshourya29 Jan 29, 2025
8965208
fix: lint
gakshita Jan 29, 2025
6a88bbc
chore: modified translations
vamsikrishnamathala Jan 29, 2025
36ad2ea
Merge pull request #6511 from makeplane/chore-work_items_rename
gakshita Jan 29, 2025
f44e304
chore: remove duplicate
prateekshourya29 Jan 29, 2025
8845736
improvement: french translation
prateekshourya29 Jan 29, 2025
280e4f7
chore: chinese translation improvement
anmolsinghbhatia Jan 29, 2025
3bc63de
fix: japanese translations
gakshita Jan 29, 2025
1dc2976
chore: added spanish translation
vamsikrishnamathala Jan 29, 2025
ed520c2
t pull Merge branch 'feat-language-support' of github.com:makeplane/p…
vamsikrishnamathala Jan 29, 2025
aab688a
minor improvements
prateekshourya29 Jan 29, 2025
79865b8
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
anmolsinghbhatia Jan 29, 2025
752c09a
fix: miscelleous language translations
gakshita Jan 30, 2025
d905112
fix: clear_all key
gakshita Jan 30, 2025
cc2774a
fix: moved user permission constants (#6516)
gakshita Jan 30, 2025
067aa60
Merge branch 'feat-language-support' of https://github.com/makeplane/…
gakshita Jan 30, 2025
ea78653
Merge pull request #6515 from makeplane/fix-language-translations
gakshita Jan 30, 2025
6db7421
feat: language support for issues (#6513)
vamsikrishnamathala Jan 30, 2025
e220dd4
chore: translation improvement (#6518)
anmolsinghbhatia Jan 30, 2025
ea8e434
feat: language support description (#6519)
vamsikrishnamathala Jan 30, 2025
8390c5e
chore: renamed issue to work item (#6522)
vamsikrishnamathala Jan 30, 2025
9a60430
Merge branch 'preview' of github.com:makeplane/plane into feat-langua…
prateekshourya29 Jan 30, 2025
eae8505
chore: replace missing issue occurances to work items
prateekshourya29 Jan 30, 2025
55a686f
fix: build errors
prateekshourya29 Jan 30, 2025
a57f4f9
minor improvements
prateekshourya29 Jan 30, 2025
ccfbe9c
fix: profile links
vamsikrishnamathala Jan 31, 2025
94eb833
Merge pull request #6527 from makeplane/fix-language-support
gakshita Jan 31, 2025
7601fce
Feat ln cycles (#6528)
gakshita Jan 31, 2025
c5afc3e
chore: added core.json
gakshita Jan 31, 2025
2f85f1e
fix: translation keys
vamsikrishnamathala Jan 31, 2025
dd02918
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
vamsikrishnamathala Jan 31, 2025
1a7ab6b
fix: translation keys (#6530)
vamsikrishnamathala Jan 31, 2025
06e2bf0
fix: changed sidebar keys
gakshita Jan 31, 2025
0b8b19c
fix: removed extras
gakshita Jan 31, 2025
73c1a02
fix: updated keys
vamsikrishnamathala Jan 31, 2025
3c994c3
Merge pull request #6532 from makeplane/fix-language-support
gakshita Jan 31, 2025
848b9c9
chore: optimize translation imports
prateekshourya29 Jan 31, 2025
865a6c9
Merge pull request #6533 from makeplane/chore-language-optimization
gakshita Jan 31, 2025
fb15dc8
fix: updated keys (#6534)
vamsikrishnamathala Jan 31, 2025
92989d0
chore: add missing translation and minor fixes
prateekshourya29 Feb 4, 2025
43c2855
chore: code refactor
anmolsinghbhatia Feb 4, 2025
c9ea8b8
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
anmolsinghbhatia Feb 4, 2025
9d321a4
fix: language support keys (#6553)
vamsikrishnamathala Feb 5, 2025
29fae81
Merge branch 'preview' of github.com:makeplane/plane into feat-langua…
prateekshourya29 Feb 5, 2025
109b96c
minor improvements
prateekshourya29 Feb 5, 2025
cd6d957
minor fixes
prateekshourya29 Feb 5, 2025
274fc1d
fix: remove lucide import from constants package
prateekshourya29 Feb 5, 2025
540d986
chore: regenerate all translations
prateekshourya29 Feb 5, 2025
a47b47c
chore: addded chinese and japanese translation files
vamsikrishnamathala Feb 5, 2025
6d5d281
Merge branch 'feat-language-support' of github.com:makeplane/plane in…
vamsikrishnamathala Feb 5, 2025
482c831
chore: remove all from translations
prateekshourya29 Feb 5, 2025
4e1c630
fix: added member
gakshita Feb 6, 2025
a36564c
fix: language support keys (#6558)
vamsikrishnamathala Feb 6, 2025
de55b32
Merge branch 'preview' of github.com:makeplane/plane into feat-langua…
prateekshourya29 Feb 6, 2025
319cb73
chore: updated translations
vamsikrishnamathala Feb 6, 2025
f43cb9b
fix: lang keys
vamsikrishnamathala Feb 6, 2025
711cdc9
chore: update translations
prateekshourya29 Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions admin/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import { DefaultLayout } from "@/layouts/default-layout";
export const metadata: Metadata = {
title: "Plane | Simple, extensible, open-source project management tool.",
description:
"Open-source project management tool to manage issues, sprints, and product roadmaps with peace of mind.",
"Open-source project management tool to manage work items, sprints, and product roadmaps with peace of mind.",
openGraph: {
title: "Plane | Simple, extensible, open-source project management tool.",
description:
"Open-source project management tool to manage issues, sprints, and product roadmaps with peace of mind.",
"Open-source project management tool to manage work items, sprints, and product roadmaps with peace of mind.",
url: "https://plane.so/",
},
keywords:
"software development, customer feedback, software, accelerate, code management, release management, project management, issue tracking, agile, scrum, kanban, collaboration",
"software development, customer feedback, software, accelerate, code management, release management, project management, work items tracking, agile, scrum, kanban, collaboration",
twitter: {
site: "@planepowers",
},
Expand Down
9 changes: 6 additions & 3 deletions packages/constants/src/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
import { TXAxisValues, TYAxisValues } from "@plane/types";

export const ANALYTICS_TABS = [
{ key: "scope_and_demand", title: "Scope and Demand" },
{ key: "custom", title: "Custom Analytics" },
{
key: "scope_and_demand",
i18n_title: "workspace_analytics.tabs.scope_and_demand",
},
{ key: "custom", i18n_title: "workspace_analytics.tabs.custom" },
];

export const ANALYTICS_X_AXIS_VALUES: { value: TXAxisValues; label: string }[] =
Expand Down Expand Up @@ -62,7 +65,7 @@ export const ANALYTICS_Y_AXIS_VALUES: { value: TYAxisValues; label: string }[] =
[
{
value: "issue_count",
label: "Issue Count",
label: "Work item Count",
},
{
value: "estimate",
Expand Down
36 changes: 10 additions & 26 deletions web/core/constants/cycle.ts → packages/constants/src/cycle.ts
Original file line number Diff line number Diff line change
@@ -1,56 +1,40 @@
// types
import { TCycleLayoutOptions, TCycleTabOptions } from "@plane/types";

export const CYCLE_TABS_LIST: {
key: TCycleTabOptions;
name: string;
}[] = [
{
key: "active",
name: "Active",
},
{
key: "all",
name: "All",
},
];

export const CYCLE_STATUS: {
label: string;
i18n_label: string;
value: "current" | "upcoming" | "completed" | "draft";
title: string;
i18n_title: string;
color: string;
textColor: string;
bgColor: string;
}[] = [
{
label: "day left",
i18n_label: "project_cycles.status.days_left",
value: "current",
title: "In progress",
i18n_title: "project_cycles.status.in_progress",
color: "#F59E0B",
textColor: "text-amber-500",
bgColor: "bg-amber-50",
},
{
label: "Yet to start",
i18n_label: "project_cycles.status.yet_to_start",
value: "upcoming",
title: "Yet to start",
i18n_title: "project_cycles.status.yet_to_start",
color: "#3F76FF",
textColor: "text-blue-500",
bgColor: "bg-indigo-50",
},
{
label: "Completed",
i18n_label: "project_cycles.status.completed",
value: "completed",
title: "Completed",
i18n_title: "project_cycles.status.completed",
color: "#16A34A",
textColor: "text-green-600",
bgColor: "bg-green-50",
},
{
label: "Draft",
i18n_label: "project_cycles.status.draft",
value: "draft",
title: "Draft",
i18n_title: "project_cycles.status.draft",
color: "#525252",
textColor: "text-custom-text-300",
bgColor: "bg-custom-background-90",
Expand Down
92 changes: 92 additions & 0 deletions packages/constants/src/dashboard.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
// types
import { TIssuesListTypes } from "@plane/types";

export enum EDurationFilters {
NONE = "none",
TODAY = "today",
THIS_WEEK = "this_week",
THIS_MONTH = "this_month",
THIS_YEAR = "this_year",
CUSTOM = "custom",
}

// filter duration options
export const DURATION_FILTER_OPTIONS: {
key: EDurationFilters;
label: string;
}[] = [
{
key: EDurationFilters.NONE,
label: "All time",
},
{
key: EDurationFilters.TODAY,
label: "Due today",
},
{
key: EDurationFilters.THIS_WEEK,
label: "Due this week",
},
{
key: EDurationFilters.THIS_MONTH,
label: "Due this month",
},
{
key: EDurationFilters.THIS_YEAR,
label: "Due this year",
},
{
key: EDurationFilters.CUSTOM,
label: "Custom",
},
];

// random background colors for project cards
export const PROJECT_BACKGROUND_COLORS = [
"bg-gray-500/20",
"bg-green-500/20",
"bg-red-500/20",
"bg-orange-500/20",
"bg-blue-500/20",
"bg-yellow-500/20",
"bg-pink-500/20",
"bg-purple-500/20",
];

// assigned and created issues widgets tabs list
export const FILTERED_ISSUES_TABS_LIST: {
key: TIssuesListTypes;
label: string;
}[] = [
{
key: "upcoming",
label: "Upcoming",
},
{
key: "overdue",
label: "Overdue",
},
{
key: "completed",
label: "Marked completed",
},
];

// assigned and created issues widgets tabs list
export const UNFILTERED_ISSUES_TABS_LIST: {
key: TIssuesListTypes;
label: string;
}[] = [
{
key: "pending",
label: "Pending",
},
{
key: "completed",
label: "Marked completed",
},
];

export type TLinkOptions = {
userId: string | undefined;
};
5 changes: 0 additions & 5 deletions packages/constants/src/error.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ export const getIssueEventPayload = (props: IssueEventProps) => {
module_id: payload.module_id,
archived_at: payload.archived_at,
state: payload.state,
view_id: path?.includes("workspace-views") || path?.includes("views") ? path.split("/").pop() : "",
view_id:
path?.includes("workspace-views") || path?.includes("views")
? path.split("/").pop()
: "",
};

if (eventName === ISSUE_UPDATED) {
Expand Down Expand Up @@ -166,12 +169,12 @@ export const MODULE_LINK_CREATED = "Module link created";
export const MODULE_LINK_UPDATED = "Module link updated";
export const MODULE_LINK_DELETED = "Module link deleted";
// Issue Events
export const ISSUE_CREATED = "Issue created";
export const ISSUE_UPDATED = "Issue updated";
export const ISSUE_DELETED = "Issue deleted";
export const ISSUE_ARCHIVED = "Issue archived";
export const ISSUE_RESTORED = "Issue restored";
export const ISSUE_OPENED = "Issue opened";
export const ISSUE_CREATED = "Work item created";
export const ISSUE_UPDATED = "Work item updated";
export const ISSUE_DELETED = "Work item deleted";
export const ISSUE_ARCHIVED = "Work item archived";
export const ISSUE_RESTORED = "Work item restored";
export const ISSUE_OPENED = "Work item opened";
// Project State Events
export const STATE_CREATED = "State created";
export const STATE_UPDATED = "State updated";
Expand Down
1 change: 0 additions & 1 deletion packages/constants/src/event.ts

This file was deleted.

53 changes: 53 additions & 0 deletions packages/constants/src/filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,56 @@ export enum E_SORT_ORDER {
ASC = "asc",
DESC = "desc",
}
export const DATE_AFTER_FILTER_OPTIONS = [
{
name: "1 week from now",
value: "1_weeks;after;fromnow",
},
{
name: "2 weeks from now",
value: "2_weeks;after;fromnow",
},
{
name: "1 month from now",
value: "1_months;after;fromnow",
},
{
name: "2 months from now",
value: "2_months;after;fromnow",
},
];

export const DATE_BEFORE_FILTER_OPTIONS = [
{
name: "1 week ago",
value: "1_weeks;before;fromnow",
},
{
name: "2 weeks ago",
value: "2_weeks;before;fromnow",
},
{
name: "1 month ago",
i18n_name: "date_filters.1_month_ago",
value: "1_months;before;fromnow",
},
];

export const PROJECT_CREATED_AT_FILTER_OPTIONS = [
{
name: "Today",
value: "today;custom;custom",
},
{
name: "Yesterday",
value: "yesterday;custom;custom",
},
{
name: "Last 7 days",
value: "last_7_days;custom;custom",
},
{
name: "Last 30 days",
value: "last_30_days;custom;custom",
},
];
91 changes: 91 additions & 0 deletions packages/constants/src/inbox.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
import { TInboxDuplicateIssueDetails, TIssue } from "@plane/types";

export enum EInboxIssueCurrentTab {
OPEN = "open",
CLOSED = "closed",
}

export enum EInboxIssueStatus {
PENDING = -2,
DECLINED = -1,
SNOOZED = 0,
ACCEPTED = 1,
DUPLICATE = 2,
}

export type TInboxIssueCurrentTab = EInboxIssueCurrentTab;
export type TInboxIssueStatus = EInboxIssueStatus;
export type TInboxIssue = {
id: string;
status: TInboxIssueStatus;
snoozed_till: Date | null;
duplicate_to: string | undefined;
source: string;
issue: TIssue;
created_by: string;
duplicate_issue_detail: TInboxDuplicateIssueDetails | undefined;
};

export const INBOX_STATUS: {
key: string;
status: TInboxIssueStatus;
i18n_title: string;
i18n_description: () => string;
}[] = [
{
key: "pending",
i18n_title: "inbox_issue.status.pending.title",
status: EInboxIssueStatus.PENDING,
i18n_description: () => `inbox_issue.status.pending.description`,
},
{
key: "declined",
i18n_title: "inbox_issue.status.declined.title",
status: EInboxIssueStatus.DECLINED,
i18n_description: () => `inbox_issue.status.declined.description`,
},
{
key: "snoozed",
i18n_title: "inbox_issue.status.snoozed.title",
status: EInboxIssueStatus.SNOOZED,
i18n_description: () => `inbox_issue.status.snoozed.description`,
},
{
key: "accepted",
i18n_title: "inbox_issue.status.accepted.title",
status: EInboxIssueStatus.ACCEPTED,
i18n_description: () => `inbox_issue.status.accepted.description`,
},
{
key: "duplicate",
i18n_title: "inbox_issue.status.duplicate.title",
status: EInboxIssueStatus.DUPLICATE,
i18n_description: () => `inbox_issue.status.duplicate.description`,
},
];

export const INBOX_ISSUE_ORDER_BY_OPTIONS = [
{
key: "issue__created_at",
i18n_label: "inbox_issue.order_by.created_at",
},
{
key: "issue__updated_at",
i18n_label: "inbox_issue.order_by.updated_at",
},
{
key: "issue__sequence_id",
i18n_label: "inbox_issue.order_by.id",
},
];

export const INBOX_ISSUE_SORT_BY_OPTIONS = [
{
key: "asc",
i18n_label: "common.sort.asc",
},
{
key: "desc",
i18n_label: "common.sort.desc",
},
];
Loading
Loading