diff --git a/web/core/components/core/activity.tsx b/web/core/components/core/activity.tsx index e456dcee6..94273f4a9 100644 --- a/web/core/components/core/activity.tsx +++ b/web/core/components/core/activity.tsx @@ -101,7 +101,7 @@ const LabelPill = observer(({ labelId, workspaceSlug }: { labelId: string; works const inboxActivityMessage = { declined: { showIssue: "declined issue", - noIssue: "declined this issue from inbox.", + noIssue: "declined this issue from intake.", }, snoozed: { showIssue: "snoozed issue", @@ -109,11 +109,11 @@ const inboxActivityMessage = { }, accepted: { showIssue: "accepted issue", - noIssue: "accepted this issue from inbox.", + noIssue: "accepted this issue from intake.", }, markedDuplicate: { showIssue: "declined issue", - noIssue: "declined this issue from inbox by marking a duplicate issue.", + noIssue: "declined this issue from intake by marking a duplicate issue.", }, }; @@ -128,7 +128,7 @@ const getInboxUserActivityMessage = (activity: IIssueActivity, showIssue: boolea case "2": return showIssue ? inboxActivityMessage.markedDuplicate.showIssue : inboxActivityMessage.markedDuplicate.noIssue; default: - return "updated inbox issue status."; + return "updated intake issue status."; } }; diff --git a/web/core/components/inbox/modals/create-edit-modal/create-root.tsx b/web/core/components/inbox/modals/create-edit-modal/create-root.tsx index 36574b513..e343da3b9 100644 --- a/web/core/components/inbox/modals/create-edit-modal/create-root.tsx +++ b/web/core/components/inbox/modals/create-edit-modal/create-root.tsx @@ -155,7 +155,7 @@ export const InboxIssueCreateRoot: FC = observer((props) return (
-

Create Inbox Issue

+

Create Intake Issue

= observer(({ isOpen, onClos {projectDetails?.identifier}-{data?.sequence_id} - {""}? The issue will only be deleted from the inbox and this action cannot be undone. + {""}? The issue will only be deleted from the intake and this action cannot be undone. } /> diff --git a/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx b/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx index 6607a90d5..18780d434 100644 --- a/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx +++ b/web/core/components/issues/issue-detail/issue-activity/activity/actions/inbox.tsx @@ -21,15 +21,15 @@ export const IssueInboxActivity: FC = observer((props) => { const getInboxActivityMessage = () => { switch (activity?.verb) { case "-1": - return "declined this issue from inbox."; + return "declined this issue from intake."; case "0": return "snoozed this issue."; case "1": - return "accepted this issue from inbox."; + return "accepted this issue from intake."; case "2": - return "declined this issue from inbox by marking a duplicate issue."; + return "declined this issue from intake by marking a duplicate issue."; default: - return "updated inbox issue status."; + return "updated intake issue status."; } }; diff --git a/web/core/store/inbox/project-inbox.store.ts b/web/core/store/inbox/project-inbox.store.ts index e77ccfcd1..4b1c9bb22 100644 --- a/web/core/store/inbox/project-inbox.store.ts +++ b/web/core/store/inbox/project-inbox.store.ts @@ -249,7 +249,7 @@ export class ProjectInboxStore implements IProjectInboxStore { }; /** - * @description fetch inbox issues with paginated data + * @description fetch intake issues with paginated data * @param workspaceSlug * @param projectId */ @@ -285,10 +285,10 @@ export class ProjectInboxStore implements IProjectInboxStore { } }); } catch (error) { - console.error("Error fetching the inbox issues", error); + console.error("Error fetching the intake issues", error); this.loader = undefined; this.error = { - message: "Error fetching the inbox issues please try again later.", + message: "Error fetching the intake issues please try again later.", status: "init-error", }; throw error; @@ -296,7 +296,7 @@ export class ProjectInboxStore implements IProjectInboxStore { }; /** - * @description fetch inbox issues with paginated data + * @description fetch intake issues with paginated data * @param workspaceSlug * @param projectId */ @@ -326,9 +326,9 @@ export class ProjectInboxStore implements IProjectInboxStore { }); } else set(this, ["inboxIssuePaginationInfo", "next_page_results"], false); } catch (error) { - console.error("Error fetching the inbox issues", error); + console.error("Error fetching the intake issues", error); this.error = { - message: "Error fetching the paginated inbox issues please try again later.", + message: "Error fetching the paginated intake issues please try again later.", status: "pagination-error", }; throw error; @@ -336,7 +336,7 @@ export class ProjectInboxStore implements IProjectInboxStore { }; /** - * @description fetch inbox issue with issue id + * @description fetch intake issue with issue id * @param workspaceSlug * @param projectId * @param inboxIssueId @@ -369,14 +369,14 @@ export class ProjectInboxStore implements IProjectInboxStore { } return inboxIssue; } catch (error) { - console.error("Error fetching the inbox issue with inbox issue id"); + console.error("Error fetching the intake issue with intake issue id"); this.loader = undefined; throw error; } }; /** - * @description create inbox issue + * @description create intake issue * @param workspaceSlug * @param projectId * @param data @@ -400,12 +400,12 @@ export class ProjectInboxStore implements IProjectInboxStore { }); return inboxIssueResponse; } catch { - console.error("Error creating the inbox issue"); + console.error("Error creating the intake issue"); } }; /** - * @description delete inbox issue + * @description delete intake issue * @param workspaceSlug * @param projectId * @param inboxIssueId @@ -429,7 +429,7 @@ export class ProjectInboxStore implements IProjectInboxStore { }); await this.inboxIssueService.destroy(workspaceSlug, projectId, inboxIssueId); } catch { - console.error("Error removing the inbox issue"); + console.error("Error removing the intake issue"); set(this.inboxIssues, [inboxIssueId], currentIssue); set(this, ["inboxIssuePaginationInfo", "total_results"], (this.inboxIssuePaginationInfo?.total_results || 0) + 1); set(this, ["inboxIssueIds"], [...this.inboxIssueIds, inboxIssueId]);