Skip to content

Cleaning up the dashboard cruft + addressing the current issues with the dashboard #984

@koonpeng

Description

@koonpeng

Before proceeding, is there an existing issue or discussion for this?

Description

Throughout the last few months, there have been many changes made to the dashboard specifically catered certain scenarios (e.g. There are many hacks put in so that things render properly on very specific devices). There are also many areas of the dashboard that is lacking and can be improved.

  • Remove special behavior based on screen size
  • Bring back dark mode. Or rather, there needs to be a way to easily customize the theme.
  • Improve performance of the map
  • Implement trajectory on the map
  • Remove negotiation manager
    - [ ] Remove reliance on hard coded task forms. Current plan is to introduce something on top of a task, called a "mission". A mission definition will include the inputs, a ui schema and a json document with json reference that defines how to convert the inputs into a RMF task. This conversion will be done by the api-server and the frontend will only work with missions.
  • Add dispensers, ingestors and workcells on the map (requires RMF to report their locations)
  • (low-priority) Show the predicted length of a scheduled task on the calendar
  • Have a way to customize the dashboard without needing to change existing code, this is the original goal of react-components but obviously it has failed. The new approach is to combine rmf-auth, react-components and dashboard into the one package. Instead of focusing on flexible, unopinionated components, it will focus on simple and opinionated components. Meaning that instead of having components that takes data and callbacks from props, they will manage their own data and actions.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions