wgc-hackathon/reefer-raker-vue

Page 1 - As a sample management user I would like to be able to flag which boxes are surplus to requirements

Opened this issue · 6 comments

As a sample management user I would like a page where I could go which would list all of the boxes that are available to be moved and I would then be able to flag them to be moved into the reefers

  • A page where I would be able to mark boxes for moving to reefers
  • A page where I would be able to find which boxes are available to be moved

Task 1 - create a view which you can navigate to from the home page and call it something like 'Boxes which can be moved'. You don't need to put anything else in there at this stage.

Task 2 - create a list of boxes using the boxes in the db.json file:

  • The list should have a header and those headings should be id, name and barcode
  • The list should have an entry for each box

Task 3 - add a checkbox for each box that will indicate whether that box can be moved and add a new heading 'ready to be moved.

Task 4 - add a button 'submit choices'. This button should:

  • submit the boxes which are ready to be moved to local storage
  • show a message which should tell the user if those choices were successfully submitted or not.

Task 5 - modify the page so that those choices are submitted using the API.

[TODO]

Task 6 - add some tests.

[TODO]