components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request]: Make globalDrawers logic available in AppLayout public API or add the type property in Drawer interface

Open Stabhead opened this issue 7 months ago • 3 comments

Description

Currently, it's clearly specified that it's either tools or drawers, but not both in AppLayout component.

However, we note that in the AWS S3 console, it's possible to have the HelpPanel, Tutorials, and Amazon Q drawers simultaneously, which requires the use of global drawers, which currently seem remain private.

Code of Conduct

Stabhead avatar Apr 28 '25 21:04 Stabhead

Hello! Can you tell us something about your use case for this?

connorlanigan avatar Apr 29 '25 15:04 connorlanigan

Of course, I'm working on setting up an administration platform to manage its various services, and I'm currently migrating the old Patternfly UI to Cloudscape Design, striving to approximate the UX of the AWS console, particularly the simultaneous opening of multiple drawers as the internal globalDrawers and activeGlobalDrawersId arrays seem to allow.

Image

Even after deconstructing the internal structure of the AppLayout component, examining the source code of app-layout/drawer and app-layout/utils/use-drawers, and cross-referencing with the official API documentation or Secondary Panels, I haven't been able to identify how to populate and use globalDrawers, and use activeGlobalDrawersId.

So, I can't have the HelpPanel drawer open at the same time as an Suggestions or Map drawer. While keeping the number of open drawers at the same time reasonable

Image

Stabhead avatar Apr 30 '25 02:04 Stabhead

I am also facing the same issue and want to do similar feature like AWS. How can I edit AppLayout or AppLayoutToolbar to get similar drawers.

Image

hellofrontendxxx avatar Aug 05 '25 07:08 hellofrontendxxx