dweb-search-frontend
dweb-search-frontend copied to clipboard
refactor detailview
The detail view is unnecessarily fragmented between categories. The category component is wrapped in a genericDetail, which is wrapped in a detailview.
The better structure and setup would be: A viewer is chosen based on the mimetype of the file, and this is wrapped in the detail view (which is combined with what is currently the genericDetail)