MPDX-8832 Stop over-writing custom task name when action changes - #2015
Conversation
Bundle sizes [mpdx-react]Compared against 4a196e3 No significant changes found |
| activityType, | ||
| activityType: newActivityType, | ||
| previousActivityType: activityType, | ||
| currentSubject: subject, |
There was a problem hiding this comment.
Can we change this currentSubject to currentTaskName? What do you think?
|
Preview branch generated at https://MPDX-8832-stop-over-writing-custom-task-name-when-action-changes.d3dytjb8adxkk5.amplifyapp.com |
|
🤖 agent-review · ✅ no blockers · risk MEDIUM BLOCKERS — fix or dismiss to pass✅ No blockers. OTHER FINDINGS (3)
🔧 Fix suggestions (1)
- (entire file, no longer referenced anywhere in src/)
+ git rm src/components/Task/Modal/Form/TaskModalForm.mock.tsxApply: 📦 Dependency impactBlast radius: 6 transitive dependents (index enabled, warmed this session). Direct dependents of changed files:
No breaking changes detected (no exports removed; 📊 Review detail & statsGenerated: 2026-09-01 · Day: Tuesday · Files changed: 4 (+146 -77 lines) Risk factors detected: pattern score 4 (medium-tier Deterministic evidence:
Agent summary (bands: Critical 9-10 · High 7-8 · Important 5-6 · Suggestions 3-4):
Per-agent perspectives on blockers: No blockers to detail. Debate summary:
Review quality:
💬 How to act on this reviewEvery finding above is numbered. No severity ≥7 findings exist, so nothing blocks this PR — all three are advisory. Locally:
|
b8ecb29 to
2aef187
Compare
8b2c5f5 to
7259302
Compare
|
Preview branch generated at https://MPDX-8832-stop-over-writing-custom-task-name-when-action-changes.d3dytjb8adxkk5.amplifyapp.com |
|
Don't forget to put the ticket link in the description |
fc39e45 to
fd7e8d3
Compare
zweatshirt
left a comment
There was a problem hiding this comment.
Thanks for working on this Tam
Co-authored-by: zach w/ an e <zweatshirt@users.noreply.github.com>
fd7e8d3 to
16aa412
Compare
Description
https://jira.cru.org/browse/MPDX-8832
The task name keeps being overwritten whenever the task type and action fields are selected. Now it will not overwrite what the user typed in the task name field; it only autofills when the task name is empty or has other generic autofilled content.
Testing
MPDX -> Tasks -> Add Task -> Select Task Type -> Select Action (Task name should now autofill):
1. Rewrite the Task Name to whatever you want-> Change the Action or the Task Type -> Task Name should not change
2. Delete the Task Name -> Change the Action or the Task Type -> Task Name should autofill again.
Checklist:
/quality:agent-reviewcommand locally and fixed any relevant suggestions