HomePhorge

Add a "WorkboardCardTemplate" class to make workboard client code easier to…

Description

Add a "WorkboardCardTemplate" class to make workboard client code easier to reason about

Summary:
Depends on D20266. Boards currently have several whateverMap<cardPHID => stuff> properties, but we can just move these all down into a CardTemplate, similar to the recently introduced HeaderTemplate.

The CardTemplate holds all the global information for a card, and then Card is specific for a particular copy in a column. Today, each CardTemplate has one Card, but a CardTemplate may have more than one card in the future (when we add subproject columns).

Test Plan: Viewed workboards in different sort orders and dragged stuff around, grepped for all affected symbols.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20267

Details

Provenance
epriestleyAuthored on Mar 10 2019, 7:53 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP4bad6bc42af9: Remove all readers/writers for task "subpriority"
Branches
Unknown
Tags
Unknown

Event Timeline