Commit Graph

4 Commits

Author SHA1 Message Date
Aurora Lahtela a2d92a34cb Update to React 18 and react-bootstrap 2 2023-02-06 19:01:33 +02:00
Aurora Lahtela 38ee84af67 Fixed some issues with DataTables and unmounting extensions
When using ServerWidePluginData component for two different plugins that had a DataTablesTable
React reused the component, which lead to issues of DataTables trying to remount on the same
component with a different ID, with both jQuery and React trying to remove elements from DOM.

- Added div around table in DataTablesTable to allow React properly unmount the element after
  jQuery already removed the table element
- Added extra layer in ServerWidePluginData that re-renders the tab when plugin changes
- Sorted extensions in the endpoints
- Added /v1/networkMetadata endpoint for implementing server list navigation later
- Added network page to App.js with plugins and players tabs already implemented
2022-09-03 14:01:15 +03:00
Aurora Lahtela 019a3353ca Load server extension data in separate context to speed up loading time 2022-08-31 18:06:08 +03:00
Aurora Lahtela ea16adb13d Initial version of server extension cards
TODO: Extension DataTables mapping
2022-08-23 22:01:34 +03:00