Refactor statement browser
The statement browser is a crucial aspect of the ORKG. It is created several years ago, and a lot of changed since then. Especially logic can be moved out of the statement browser, making the component simpler.
- Delete predicate of template box logic
- Writing tests
- useSWR where possible (move state from redux)
- Use backend types
- Simplify redux store
- Remove
syncBackend
prop - Use formatted label from backend orkg-backend#562
New features:
- Implement inline expansion in view mode (not supported while editing data)
- Make design similar to redesigned comparisons
Edited by Allard Oelen