GeriLife / GeriLife/wellbeing

Add Edit/Delete activity buttons to Resident Activities table for single resident

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

It may be useful for users to delete/edit activities while viewing a single resident activity table. However, the following should be observed:
- only activities within 7 days should be editable
- when 'deleting' a resident activity with other residents, the single resident is removed
- the activity is not actually deleted, so that it does not affect other resident data

The seven day activity edit/delete feature is already active on the 'manageActivityButtons' template. The additional logic to only remove a single resident upon 'deletion' needs to be written.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.