Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -241,6 +241,7 @@ export const InboxIssueActionsHeader = observer(function InboxIssueActionsHeader
beforeFormSubmit={handleInboxIssueAccept}
withDraftIssueWrapper={false}
fetchIssueDetails={false}
showActionItemsOnUpdate
modalTitle={t("inbox_issue.actions.move", {
value: `${currentProjectDetails?.identifier}-${issue?.sequence_id}`,
})}
Expand Down
9 changes: 9 additions & 0 deletions apps/web/core/components/issues/issue-modal/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const CreateUpdateIssueModalBase = observer(function CreateUpdateIssueMod
modalTitle,
primaryButtonText,
isProjectSelectionDisabled = false,
showActionItemsOnUpdate = false,
} = props;
const issueStoreType = useIssueStoreType();

Expand Down Expand Up @@ -318,6 +319,14 @@ export const CreateUpdateIssueModalBase = observer(function CreateUpdateIssueMod
type: TOAST_TYPE.SUCCESS,
title: t("success"),
message: t("issue_updated_successfully"),
actionItems:
showActionItemsOnUpdate && payload.project_id ? (
<CreateIssueToastActionItems
workspaceSlug={workspaceSlug.toString()}
projectId={payload.project_id}
issueId={data.id}
/>
) : undefined,
});
captureSuccess({
eventName: WORK_ITEM_TRACKER_EVENTS.update,
Expand Down
1 change: 1 addition & 0 deletions apps/web/core/components/issues/issue-modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface IssuesModalProps {
isProjectSelectionDisabled?: boolean;
templateId?: string;
allowedProjectIds?: string[];
showActionItemsOnUpdate?: boolean;
}

export const CreateUpdateIssueModal = observer(function CreateUpdateIssueModal(props: IssuesModalProps) {
Expand Down
Loading