This came up during the code review of this patch.
make a single helper class for all task card logic (mobile module preview, mobile module, desktop module, post-edit dialog) and cut down on code duplication.
It would be nice to take action on this to reduce code duplication and facilitate maintenance.