Open doub1ejack opened 5 years ago
Steps to implement this:
1) Update the users->(uid)->goals->(goal id) collection to add the "status" field which will have the options of "open", "submitted", "complete".
2) Modify the application use that field instead of the individual boolean fields
3) Remove the "completed", "submittedForReview", and "requiresReview" fields.
Currently there are a few different goal properties that appear to give boolean representations of different types of statuses (
completed
,requiresReview
,submittedForReview
, etc). It looks like we can probably simplify the goal object by consolidating these into a singlestatus
with different values.This relates to @jfenner's comment on #87: