You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor several modals to functional components (#8748)
In this PR I converted several class components to functional components
using modern React hooks
- `TransferTaskModal`
- `NewTaskDescriptionModal`
- `RecommendedConfigurationModal`
- `TreeRemovalModal`
- `AddNewLayoutModal`
- `UserScriptsModalView`
### Steps to test:
- Check that the modals are still showing
- The changes are lightweight enough to not do deep test
### Issues:
- Contributes to #8747
------
(Please delete unneeded items, merge only when none are left open)
- [ ] Added changelog entry (create a `$PR_NUMBER.md` file in
`unreleased_changes` or use `./tools/create-changelog-entry.py`)
- [ ] Added migration guide entry if applicable (edit the same file as
for the changelog)
- [ ] Updated [documentation](../blob/master/docs) if applicable
- [ ] Adapted [wk-libs python
client](https://github.com/scalableminds/webknossos-libs/tree/master/webknossos/webknossos/client)
if relevant API parts change
- [ ] Removed dev-only changes like prints and application.conf edits
- [ ] Considered [common edge
cases](../blob/master/.github/common_edge_cases.md)
- [ ] Needs datastore update after deployment
0 commit comments