-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFR] Add aside support in List, Edit, and Show views #2304
Conversation
User should able to hide/show |
@ashim-k-saha that'd be up to you: you can implement your own |
docs/CreateEdit.md
Outdated
</Edit> | ||
``` | ||
|
||
The `aside` component receives the same props as the `Edit` child component: `basePath`, `record`, `resource`, and `version`. That means you can display non-editable details of the current record in the aside component: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we add something about Create
too ?
Is it possible to use |
I believe so, CSS is your friend! |
aside
support in Create viewaside
support in Edit viewaside
support in Show viewaside
support in List viewUsers may need to see info related to the current content, but secondary. Using tabs for that has one drawback: it is contained in the form, and the presence of the "save" button makes the content not secondary.
Besides, adding a second column requires overriding the View, which is advanced customization.
The
aside
prop is style agnostic, and allows for all sorts of customizations thanks to flexbox.