webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.22k stars 589 forks source link

fix: ui tweaks and trash bin registration #4173

Closed leopuleo closed 2 weeks ago

leopuleo commented 3 weeks ago

Changes

The PR aims to fix the following issues:

Trash Bin: Table rerender

Opening the Trash Bin drawer caused the current view to loop indefinitely; this has been solved by moving the TrashBinConfigs. Now, they are included in the admin application's root (@webiny/app-serverless-cms).

UI: missing id for checkbox and search input components

Removed the default empty string 'id' from 'Checkbox' components. RMWC uses the 'label' prop to generate the element id. Passing an empty string causes the generation of the same ID for all checkbox elements present in the DOM.

Similarly, we've included a specific ID for certain custom components that utilize the original <input> element instead of relying on our UI package.

DataTable visibility panel header

Fixed padding for the Visibiliy panel header.

CleanShot 2024-06-17 at 18 09 08

How Has This Been Tested?

Manually