chore: project intake toast and activity message updated (#5143)
This commit is contained in:
parent
0b1f9f0e5b
commit
85719b9a12
5 changed files with 22 additions and 22 deletions
|
|
@ -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.";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ export const InboxIssueCreateRoot: FC<TInboxIssueCreateRoot> = observer((props)
|
|||
return (
|
||||
<form onSubmit={handleFormSubmit}>
|
||||
<div className="space-y-5 p-5">
|
||||
<h3 className="text-xl font-medium text-custom-text-200">Create Inbox Issue</h3>
|
||||
<h3 className="text-xl font-medium text-custom-text-200">Create Intake Issue</h3>
|
||||
<div className="space-y-3">
|
||||
<InboxIssueTitle
|
||||
data={formData}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ export const DeleteInboxIssueModal: React.FC<Props> = observer(({ isOpen, onClos
|
|||
<span className="break-words font-medium text-custom-text-100">
|
||||
{projectDetails?.identifier}-{data?.sequence_id}
|
||||
</span>
|
||||
{""}? 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.
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -21,15 +21,15 @@ export const IssueInboxActivity: FC<TIssueInboxActivity> = 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.";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue