Skip to content

Removed routes in Menu in favor of React state

Loic Huder requested to merge refactor-menu into master

Changes' digest:

  • All Menu... components are rendered by a single component Menu
  • The Menu component holds the state of the active tab that is typed in TS by an enum Tab
  • MenuSidePanel does the switch now and was extracted in its own file
  • MenuBar, MenuFooter were inlined
  • MenuItem was replaced by MenuButton and extracted in its own file
  • All ...rest props were removed as they were not used

Merge request reports

Loading