platform icon indicating copy to clipboard operation
platform copied to clipboard

fix(tracker): allow clearing issue assignees

Open ignatremizov opened this issue 6 months ago • 1 comments

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.

ignatremizov avatar May 25 '26 15:05 ignatremizov

Connected to Huly®: UBERF-16477

huly-github-staging avatar May 25 '26 15:05 huly-github-staging