louiiuol / jar-it

🤭 Turn those nasty habits on occasion to support associations you care about! 👐
https://louiiuol.github.io/jar-it/
GNU General Public License v3.0
2 stars 0 forks source link

[JAR-12] Create new Jar #12

Closed louiiuol closed 4 years ago

louiiuol commented 4 years ago

Jar Creation form

AS Lucas , Manager (logged user) I WANT TO create new Jar SO THAT I CAN motivate my team to stop swearing

Functional specifications (FORM)

Creating a Jar is a bit complex, so a multi-part form is required. It will be split into 4 sections:

image

General Informations

This section will resume Jar's title and description

Field Placeholder Pattern Requirements
title " Clean Workspace " alphanumeric size(1-20)
description " Why this place ? " alphanumeric max(250)

Settings

This section will resume Jar's settings

Field Placeholder Pattern Requirements
reference cost 1 numeric size(0,1-2)
max amount 50 numeric size(10-100)
end date now() + 2 weeks date date(1week-2month)
association " choose your association " select exist in association list

Members

This section will resume Jar's members & their privileges

Field Placeholder Pattern Requirements
members - array of User creator must be present

Confirmation

This section will resume Jar's settings and members chosen

Field Placeholder Pattern Requirements
agree unchecked checkbox checked

Acceptance Criteria