fjborquez / katara

Frontend for Avatar project
0 stars 0 forks source link

Create a resident registration form #20

Closed Norbbs closed 3 months ago

Norbbs commented 6 months ago

As a Data Owner I want to include residents to the house entity So that they can access complete data and use house-related information for their individual needs

Definition Of Ready (DoR)

Definition Observations
  • - [x]
The story meet the INVEST and SMART criteria
  • - [x]
Dependencies identified and resolved #15
  • - [x]
Written acceptance criteria with test scenarios, understood by the team and agreed upon
  • - [x]
The user story was understood and agreed upon in a refinement session with the dev team
  • - [x]
The team has an idea of how to make the demonstration of the finished story

Scope

  1. Create a form with the following fields:
    • Name (text, mandatory)
    • Lastname (text, mandatory)
    • Date of birth (date, mandatory)
    • Nutritional profile (a list of checkboxes with nutritional restrictions)
    • Register butto
  2. A resident IS NOT necessary an user in the system.
  3. Create an entity roles with the following properties:
    • id
    • name (REPRESENTATIVE, RESIDENT AND GUEST)
    • description (description in summary of the role)
  4. Update the entity PersonsHouses adding the following property mandatory:
    • role_id

Out of scope

  1. Activities unrelated to adding residents to the house entity.

Wireframe

Image

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [ ]
1 Successfully resident registration (name, last name, date of birth and nutritional profile) user clicks on register button a new resident will be added to the selected house.
  • - [ ]
2 Resident registration fails because of missing details a form filled up with lack of any of the following data: name, last name or date of birth user clicks on register button the resident won't be added and an error message will be displayed
  • - [ ]
3 Resident registration fails because of name and last name incorrect format Name and lastname fields are incorrect format (for example: including numbers and/or symbols) user clicks on register button the resident won't be added and an error message will be displayed
  • - [ ]
4 Resident registration fails because of name and last name incorrect dimension Name and lastname fields are greather than 30 characters user clicks on register button the resident won't be added and an error message will be displayed
  • - [ ]
5 Resident registration fails because of date of birth in a wrong format a date of birth with an incorrect format user clicks on register button the resident won't be added and an error message will be displayed

Definition of Done (DoD)

Definition Result
  • - [ ]
All acceptance criteria have been met
  • - [ ]
No significant or critical defects
  • - [ ]
Deskcheck ceremony has been made
  • - [ ]
Keep minimum test coverage of 80% over the necessary code and components
  • - [ ]
Technical documentation published
  • - [ ]
Spike, PoC or benchmarks findings documented
Norbbs commented 5 months ago

@fjborquez removes constraint in nutritional profile

fjborquez commented 5 months ago

Done, please review.