Skip to content

feat: subteams support

Navin Karkera requested to merge navin/subteams into master

Sub team support is included by having a self referencing foreign key as parent. Only one level of parent-child relationship is allowed and team cannot be parent of itself. Reports can be divided by subteams. A recurrence and run can be assigned to multiple subteams and if a user is part of more than one subteam in a recurrence/run, only one checklist is created for them.

Supporting information

Testing instructions

  • Create multiple users
  • Create multiple teams, few subteams
  • Create recurrence, assign multiple teams/subteams. Check the error message for different combinations of teams.
  • Check listing of checklists in UI
  • Check reports, for a single run with multiple subteams. Divide it by subteams and check overview, trends and compare reports.

Demo

screencast

Author notes and concerns

Unsure about the behavior of checklist listing All tab. Please let me know if you find it odd and the required changes.

Edited by Navin Karkera

Merge request reports