This PR is only a refactor, and doesn't change any behaviour. The goal is to modernise the React app and move from class components to function components. Also an attempt to make the code more readable and remove unnecessary/dead functionality.
Note that this PR doesn't get rid of all class components - several still exist around the codebase.
Reviewing commit-by-commit recommended since I believe there's hardly any overlap between commits - each is doing its own thing.
Tests
[x] This PR does not require tests
Changelog
[x] This PR does not make a user-facing change
Documentation
[x] This change does not need a documentation update
Dark mode
[x] The UI has been tested both in dark and light mode
Changes
This PR is only a refactor, and doesn't change any behaviour. The goal is to modernise the React app and move from class components to function components. Also an attempt to make the code more readable and remove unnecessary/dead functionality.
Note that this PR doesn't get rid of all class components - several still exist around the codebase.
Reviewing commit-by-commit recommended since I believe there's hardly any overlap between commits - each is doing its own thing.
Tests
Changelog
Documentation
Dark mode