Files
chore/specs/feat-child-actions.md
ryan 7f0326eff1
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 4m51s
feat: add child actions menu and achievements feature design
- Introduced a new feature specification for displaying a menu with actions (Award Certificate, Award Badge) when a child's card is clicked in ParentView.
- Created a detailed plan for an achievements system, outlining phases for implementation, including achievement taxonomy, MVP set, and UX considerations.
- Added a template for future feature specifications to standardize documentation.
2026-07-12 18:52:59 -04:00

1.7 KiB

Feature: A new menu should be displayed when a child's card is clicked in ParentView. This menu will feature actions that a parent can perform on a child.

Overview

Goal: When in parent mode, clicking on the child's card will bring up a menu that will have several items to issue actions on the child.

User Story: As a parent, when I click on the child's card in parent mode, I want to be presented with a menu that displays the following:

  • Award Certificate
  • Award Badge

Rules: follow .github/copilot-instructions.md


Data Model Changes

Backend Model

Frontend Model


Backend Implementation

Backend Tests


Frontend Design

When the child card is pressed, the router should move to a page that presents the menu items. Or should it be a dropdown menu. it seems like having a seperate page with the options provides better UX.

When the menu item is clicked, we should stub out the action for now, Awarding achievements and badges will be done in a future spec.

Frontend Implementation

Frontend Tests


Future Considerations

Eventually, there will be a new view that shows to create a certificate for the child. In this view, a parent can write information about the certificate. The certificate will show the next time a child clicks on themselves in child mode. Eventually, parents will be able to reward badges similar to certificates the the child.

Questions

  • Should badges be removable? For example, if there is a badge that represents most chores done in a week, that badge may move from one child to another. If removable, should that option also be presented under the new menu?

Acceptance Criteria (Definition of Done)

Backend

Frontend