rishavkr08 / wheel

Don't reinvent the wheel for every new Rails project. Use sane Defaults.
https://wheel-production.herokuapp.com/
MIT License
0 stars 0 forks source link

Create new task UI #3

Open rishavkr08 opened 3 years ago

rishavkr08 commented 3 years ago

Created another branch 3-new-task-ui from development.

Frontend -

  1. Added Add Task in Header.
  2. Created NewTaskDrawer which open a left pane rendering New task creation form.
  3. Created NewTaskForm using Formik form.
  4. Added validation for required fields - Title, State and Description.
  5. Added create method in tasks file which takes task form payload to create new task.

Backend -

  1. Created private method task_params which restricts parameter.
  2. Created create method in tasks controller, which invokes task_params and create new task.
  3. Added route for task controller create method.

NB - Pushed the changes to 3-new-task-ui and merged to development.