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

New Admin UI - Drawer #4475

Open
wants to merge 23 commits into
base: feat/dialog
Choose a base branch
from
Open

New Admin UI - Drawer #4475

wants to merge 23 commits into from

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Jan 7, 2025

Changes

This PR creates the Drawer component. Here is a pair of sshots.

The first is File Manager, where modal prop is set to false (default value actually). This means the user can also interact with the UI in the background.

image

This is the main menu, where modal prop is set to true, meaning no background interactions are possible.

image

Another random sshot:

image

Extra Changes

1. Updated File Manager Drawer Code

Had to accommodate the file details drawer in File Manager a bit.

Did some cleanups along the way too (some styled components are no longer needed).

Also, while I was at it, I made these buttons larger:

image

2. Updated Query Builder Drawer Code

Had to accommodate the file details drawer in ACO's Query Builder a bit.

Did some cleanups along the way too (some styled components are no longer needed).

Notes

1. Tabs in Dialog

We had a discussion on tabs being rendered in an opened dialog. There were a couple of options here, but, ultimately, I've done it in a way where you pass bodyPadding: false prop to the Dialog component. That way, the body has no padding, and tabs can be used within the dialog as imagined in Figma designs (they taking the full width of the dialog).

We still do need to revisit tokens on Tabs, but overall, I think it'll do.

![image](https://github.com/user-attachments/assets/1fc3a86d-8314-4294-a6bb-54e7c47b80e

@adrians5j adrians5j marked this pull request as ready for review January 15, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants