mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
e269fddffc
Reviewer feedback on cd122f867cc: the `parts << status / type / label` block was duplicated between the regex-driven (`WorkPackages` link handler) and envelope-driven (`MentionFilter`) static paths, with no guard against silent desynchronisation. Centralise the composition on the link handler and document why the two callers pass different labels — the regex path preserves the alias-as-matched, the envelope path normalises to the WP's current formatted_id.