Progress moves as their own Item type #817
Labels
▶️ feature: moves
creation, management, and use of moves reference
🧵 type: discussion
thread for extended discussion
I've been thinking on ways to make the progress subtypes more flexible/extensible. The conclusion I keep coming back to is: maybe progress moves ought to be their own Item type.
Okay, maybe that sounds a little extreme. But hear me out! My reasoning goes like this:
MoveBase
, to keep it DRY; thenMove
andProgressMove
can extend that.ForeignDocumentField
, the stored ID would become a reference to that item at run time.With that in place, several things become simpler:
Required changes
Data migration
subtype
property, infer the relevant progress move, and insert the move's ID; fall back tonull
for generic'progress'
-subtyped tracksprogress_move
model. otherwise, pass to themove
model.progress_move
and amove
to preserve the data, and inform the user of itProgress track components
Move components
Roll pipeline
IronswornItem<'progress_move'>
instead. There's specific methods for progress moves anyways, so this won't change muchThe text was updated successfully, but these errors were encountered: