open-rmf/rmf-web

Clean up after merging prototype/task_v2-2

aaronchongth opened this issue ยท 2 comments

Moved all outstanding items from #582 to this new ticket, after merging into main,

  • Fix lint errors in react-component tests
    • components used by reporting is causing some of the lint errors, fixing these will require updating reporting to work with taskv2 as well. Alternative is to remove reporting from this repo altogether and move it to it's own repo.
  • Restore various tests that were commented out
    • Tests regarding components in robot pages are done.
    • Components in tasks page are still missing tests.
    • e2e tests need to be updated as well.
  • Fix bug where notification of failed submissions from other interfaces shows up on the dashboard.
  • Check that no intended edits were lost at sea ๐ŸŒŠ
  • Clean up all the code that is no longer required
  • (Edited) Dashboard Delivery Form might be good to have validation to prevent invalid inputs. SKU: string, Quantity: int, > 0
  • 1 decimal precision for battery %

Portions that might require attention:

I might have missed out some items while going through #582. Please feel free to add to the list.

Great Issue ๐Ÿ‘
Also I'll be working on this branch for the reporting side, at the moment reporting doesn't work on main

I've opened this PR to fix this issue, feel free to push directly, just mention what you would work on when you start to avoid conflicts.
atm I'm cleaning the tasks, removing extra code and un-commenting tests one by one.