Skip to content

think out delete feature #48

@cch5ng

Description

@cch5ng

should it have a confirmation option or undo option (after the deletion has executed)

  • undo is a bit more complex due to async nature of localForage/indexedDb functions

  • not even positive how you would track info to execute undo

    • does that mean that you would add a flag to each indexedDb entry (justDeleted: boolean)
    • there has to be some unique qualifier to know which entry to undo; and if deleted to know whether to display or not...
    • then to avoid clutter, over time, need to actual delete stuff that you can no longer undo
    • need to add a time limit to undo (like maybe a day? then need to store date deleted to compare to cur date and also the flag if entry eligible for undo)
  • make undo function as an enhancement for next version but it is a good problem to figure out in the long run...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions