Skip to content

fix(tracker): allow clearing issue assignees#10887

Open
ignatremizov wants to merge 1 commit into
hcengineering:developfrom
ignatremizov:fix/tracker-clear-assignee
Open

fix(tracker): allow clearing issue assignees#10887
ignatremizov wants to merge 1 commit into
hcengineering:developfrom
ignatremizov:fix/tracker-clear-assignee

Conversation

@ignatremizov
Copy link
Copy Markdown
Contributor

@ignatremizov ignatremizov commented May 25, 2026

Summary

  • Add an explicit "No assignee" option to the assignee picker when deselection is allowed.
  • Preserve the difference between popup cancellation/no selection (undefined) and an intentional clear-assignee action (null).
  • Convert cleared assignee updates in the tracker assignee editor into a $unset update so persisted issue documents remove the assignee field.
  • Keep regular person selection behavior unchanged for single-issue and multi-issue assignee updates.

Testing

  • git diff --check upstream/develop...HEAD
  • node common/scripts/install-run-rush.js build --to @hcengineering/presentation --to @hcengineering/contact-resources --to @hcengineering/tracker-resources

Notes

  • The change intentionally uses null only as the popup event detail for a user-requested assignee clear; undefined remains the cancel/no-selection result.
  • The tracker update path maps null to $unset for persistence, while selected person refs continue to use normal assignee updates.

Add an explicit no-assignee path to the issue assignee picker so users can remove an assignee without the popup fallback assigning the current user again.

Changes:
- Add a selectable No assignee row to the contact assignee popup and keep it available when deselection is allowed.
- Preserve undefined as the cancel/no-selection result while dispatching null for an intentional clear-assignee action.
- Translate null assignee updates in the tracker assignee editor into a $unset operation so the issue assignee field is removed from persistence.
- Keep normal user selection behavior unchanged for person rows and multi-issue assignee updates.

Validation:
- git diff --check

Signed-off-by: Ignat Remizov <ignat@ignatremizov.com>
@huly-github-staging
Copy link
Copy Markdown

Connected to Huly®: UBERF-16477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant