Open sarahxy opened 1 year ago
Some historical context (2017) from the old repo: https://github.com/vmware/clarity/issues/552
It was actually one of my first requests to Clarity, I wasn't part of the team yet. I personally agree that it can be disconnected from the Datagrid layout. I even consider that it can be an entirely separate component - a non-modal dialog, stackable to the sides of the viewport, possibly manually resizable, so the user can choose how much of the underlying datagrid remains visible.
@Jinnie A blade/docked panel component could be an option, but it would need to be fairly configurable, and getting it to appear, and appear correctly, would be largely on the team doing the implementation. We'd also need to rationalize it with some of the other modal elements we have (mostly dialogs and modal windows); eg. why use one in one context vs. the other?
Generally speaking, I'm not a huge fan of components that impose modes that exist outside of the component's container as part of their base functionality because it tends to take some autonomy away from the designer leveraging those components. For example, what if they had a breakout bar on the right hand side of the page with the table? Would that now need to be done some other way? Add a lot of stuff like that up and design teams end up with a lot fewer options available to them to solve for their users needs.
Authors: hsarah@vmware.com Reviewers: darinas@vmware.com, lwinona@vmware.com Approvers: TBD but probably the same ^ and maybe some staff designers and UI eng
Summary
The details panel pattern is dependent on the height of the datagrid container. Because of this, detail panels can be extremely short and extremely long, hurting the user experience.
If datagrid is set to show numerous items per page:
Additionally:
Key terms and concepts
Detail pane: https://clarity.design/documentation/datagrid/detail-pane
Motivation
The detail pane is being used in many designs (e.g., in VMC) as a way to show additional details about a datagrid item that might not make sense to capture on the datagrid column itself. As a result, questions have arisen from eng teams on how a user should interact with this component, and with other components in the same context with the detail pane is open.
Goals
Future Goals · (Build) a unicorn if I had infinite time
Non-Goals This item is not in scope of this proposal
Personas and user stories
(This should actually apply for any persona because this is more an expected interaction, so just provided some examples.)
Personas ANY
User Stories e.g.,
Proposal
Proposed behavior with notes.
Suggestions:
Research
N/A
Related Materials
FYI @pdaigle @lerch015