Work in progress - Jan 30 2023
What is a delete?
A delete is a record that shouldn’t be shown to the user.
Why should records be deleted?
Records should be deleted when it’s clear they aren’t correct or valid for some reason. Examples include:
Selecting the wrong location for a task
Things created while “test driving” LiteFarm
When shouldn’t records be deleted?
When being able to review or analyze them has value. Examples include:
Activities that were planned in good faith, but didn’t happen for some reason (should be abandoned)
Activities that happened but are now completed (should be past, completed, archived, etc.)
General patterns:
Any multi-views will have accordion sections, some flavour of “Active” and “Past”
In some places, things will transition from active to past when they are marked completed or abandoned. In other places (documents) they automatically move from one section to another.
Explicit deletes are available in some cases, but have greater restrictions than abandon.
Areas where deleting is important:
Tasks:
Current: Planned or late; I am doing this now or will be in the near future
Past: Completed or abandoned; This is done. I want a record of this so I can reconcile my activities and finances.
Deleted (not shown): I don’t want a record of this; can’t be deleted if completed with wage associated with it
Crop plans:
Current*: Planned or active; I am doing this now or will be in the near future
Past: Completed or abandoned; This is done. I want a record of this so I can learn from it in the future.
Deleted (not shown): I don’t want a record of this
varietals
Current*: Planned or active; I am doing this now or will be in the near future
Past: Completed or abandoned; This is done. I want a record of this so I can learn from it in the future.
Deleted (not shown): I don’t want a record of this
crop_types
On my farm: Planned or active; I am doing this now or will be in the near future
Past: Completed or abandoned; This is done. I want a record of this so I can learn from it in the future.
Deleted (not shown): I don’t want a record of this
Open questions:
Should things that are containers for other things automatically transition from active to “archived” based on certain actions (e.g. all tasks being completed)?
It depends on what the thing is. For tasks, yes.
Should we allow deleting tasks that are completed / abandoned with wages attached to them?
Maybe just the assignee?