[WEB-3826] feat: estimate activitites #6937

This commit is contained in:
Sangeetha 2025-04-17 17:16:57 +05:30 committed by GitHub
parent 55eea1a8b7
commit aeb41e603c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -482,7 +482,7 @@ def track_estimate_points(
),
old_value=old_estimate.value if old_estimate else None,
new_value=new_estimate.value if new_estimate else None,
field="estimate_point",
field="estimate_" + new_estimate.estimate.type,
project_id=project_id,
workspace_id=workspace_id,
comment="updated the estimate point to ",

View file

@ -39,7 +39,7 @@ export const IssueActivityItem: FC<TIssueActivityItem> = observer((props) => {
// hooks
const {
activity: { getActivityById },
comment: {},
comment: { },
} = useIssueDetail();
const ISSUE_RELATION_OPTIONS = useTimeLineRelationOptions();
const activityRelations = getValidKeysFromObject(ISSUE_RELATION_OPTIONS);
@ -60,7 +60,7 @@ export const IssueActivityItem: FC<TIssueActivityItem> = observer((props) => {
return <IssueAssigneeActivity {...componentDefaultProps} showIssue={false} />;
case "priority":
return <IssuePriorityActivity {...componentDefaultProps} showIssue={false} />;
case "estimate_point":
case "estimate_points":
case "estimate_categories":
return <IssueEstimateActivity {...componentDefaultProps} showIssue={false} />;
case "parent":