Skip to content

Instantly share code, notes, and snippets.

@sivakumar-kailasam
Last active November 17, 2017 09:24
Show Gist options
  • Save sivakumar-kailasam/28c0c9dbec155b113b61f494066150b3 to your computer and use it in GitHub Desktop.
Save sivakumar-kailasam/28c0c9dbec155b113b61f494066150b3 to your computer and use it in GitHub Desktop.

Employee POC

Starting page

  • List of Employees
  • Can edit, view & delete employees from the table
  • Button to create a new employee

Initiate page

  • Fields in form
    • First card
      • Name - text
      • Age - number (validation for whole numbers to be done)
      • Degree - select (options should be received from server)
      • employee number - text field
      • Validate - button to check server & proceed (Freeze all above fields & validate button on successful validation)
      • Edit & Clear details button
    • Second card
      • Division - switch(Radio) component with values as ‘Engineering’ & ‘Management'
    • Third Card
      • If ‘Engineering’ show
        • switch(radio) - speciality - frontend, backend
        • designation - input free text
      • If ‘Management` show
        • Designation - select with options from server
  • On Submit, show a summary page with read only details of the content from previous page with a back button & a submit button to actually submit it to the server.

Edit page

  • Fill in values from the previously saved object & validate the first card before loading subsequent ones
  • Each card is to be progressively loaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment