atk4 / mastercrud

Manipulates ATK CRUD through the force of references
https://atk4.org
MIT License
9 stars 7 forks source link

Refactor default view page #21

Closed romaninsh closed 1 year ago

romaninsh commented 5 years ago

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.

  1. No tabs - CRUDs should follow below the main screen.
  2. no form - use read-only card instead
  3. allow developer to specify a custom View (if he does not like card)
  4. display "actions" on the side like "Edit" and "Delete"
  5. potentially we would like to have "history" displayed on the side of a card: (https://github.com/atk4/audit/issues/23)
  6. should be possible to display more buttons for additional actions

Screenshot for the reference:

user-resource

roelleor commented 5 years ago

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 1 year ago

closing in favor of https://github.com/atk4/ui/pull/2032