Refactor default view page
romaninsh opened this issue · 2 comments
romaninsh commented
Currently when you click on the record you arrive at the page with several tabs. I'd like to clean up this screen and make it more usable.
- No tabs - CRUDs should follow below the main screen.
- no form - use read-only card instead
- allow developer to specify a custom View (if he does not like card)
- display "actions" on the side like "Edit" and "Delete"
- potentially we would like to have "history" displayed on the side of a card: (atk4/audit#23)
- should be possible to display more buttons for additional actions
Screenshot for the reference:
roelleor commented
It provides a better overview of the relations, nice! What would happen if you go one level deeper? I really like the current breadcrumb solution, does it stay? Symfony's sonata admin uses popups, but those kinda makes you feel lost sometimes.
An advantage of the current tab based view is when the details view contains a lot of fields one does not have to scroll all the way down. But when the read only fields are easily managed one could limit those of course.
mvorisek commented
closing in favor of atk4/ui#2032