HomePhabricator

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 11 2019, 2:53 AM
epriestleyPushed on Mar 12 2019, 8:01 PM
Reviewer
amckinley
Differential Revision
D20267: Add a "WorkboardCardTemplate" class to make workboard client code easier to reason about
Parents
rP4bad6bc42af9: Remove all readers/writers for task "subpriority"
Branches
Unknown
Tags
Unknown
Build Status
Buildable 22265
Build 30448: Run Core Tests