Skip to content
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

Master-Detail Layout #7173

Open
13 tasks
rolfsmeds opened this issue Jan 8, 2025 · 5 comments
Open
13 tasks

Master-Detail Layout #7173

rolfsmeds opened this issue Jan 8, 2025 · 5 comments
Labels
acceptance criteria used for the acceptance criteria checklist DS Design System feature (e.g. component)

Comments

@rolfsmeds
Copy link
Collaborator

rolfsmeds commented Jan 8, 2025

Description

A component for creating responsive master-detail layouts.

image

Acceptance criteria

  • Split can be horizontal or vertical
  • Details side can be set to inline or overlay
  • Details side can be set to modal or non-modal
  • Inline details switches to overlay when master-side min-width reached
  • Details side becomes "fullscreen" on small viewports

General criteria

  • APIs reviewed
  • Design
  • Performance
  • UX/DX tests in Alpha
  • Documentation:
  • How to test?
  • Limitations:

Security

  • Security implications have been taken into account (elaborate or link to product security requirement specification if there are implications)
@rolfsmeds rolfsmeds added acceptance criteria used for the acceptance criteria checklist DS Design System feature (e.g. component) labels Jan 8, 2025
@rolfsmeds rolfsmeds added this to Roadmap Jan 8, 2025
@rolfsmeds rolfsmeds moved this to March 2025 (V24.7) in Roadmap Jan 8, 2025
@ZheSun88 ZheSun88 added the v24.7 label Jan 15, 2025
@jouni
Copy link
Member

jouni commented Jan 23, 2025

@rolfsmeds rolfsmeds moved this from March 2025 (24.7) to June 2025 (24.8) in Roadmap Feb 13, 2025
@yuriy-fix yuriy-fix removed the v24.7 label Feb 13, 2025
@sxp267
Copy link

sxp267 commented Feb 14, 2025

I was using Vaadin+ SideBar. Is this going to be the replica of the same or different? I ask this because I did some customization to accomodate my needs but after seeing this official component release, I thought it is good to wait till March.

@rolfsmeds
Copy link
Collaborator Author

@sxp267 it's definitely similar, but different in that it's more primarily intended for master-detail layouts rather than as a generic sidebar overlay, more but also more flexible to support different configurations. You will probably be able to use it instead of the Vaadin+ SideBar pattern.

Note that Master-Detail Layout is currently slated to ship in 24.8 in June, however, not 24.7 in March.

@sxp267
Copy link

sxp267 commented Feb 18, 2025

Thanks for letting me know. Will this also work for Mobile ? I mean, in mobile, we used to create mulitple views like (I mean navigating from one SideView to another in mobile view ) v1, v2, v3 and when the user is in v3 and when he is clicking back button in v3, it should go to v2 and then from v2 to v1.

Would this also be possilbe in this master-detail layout ?

@rolfsmeds
Copy link
Collaborator Author

rolfsmeds commented Feb 18, 2025

I presume you mean e.g. v1 and v2 and maybe v3 are shown in a split-view (e.g. side-by-side) on desktop, where v1 is the "top level" view, v2 is a "subview" under it and v3 a "sub-sub-view" under that, but they're rendered as individual full-page views on mobile? If so, yes, that's precisely one of the purposes of the MDL component – it should be easy to integrate with the routing mechanism so that each view maps to a part in the URL path /v1/v2/v3, which means that clicking the back button from v3 takes you back to v2 (i.e. closes v3 on desktop), and clicking back again takes you to v1 (or closes v2 on desktop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acceptance criteria used for the acceptance criteria checklist DS Design System feature (e.g. component)
Projects
Status: June 2025 (24.8)
Development

No branches or pull requests

5 participants