Open bobbykolev opened 1 day ago
The pull request introduces modifications to the ImportTemplatesDialog
and ImportTemplatesDialogGallery
components. Key changes include the restructuring of the ImportTemplatesDialogGallery
to include BlockTitle
and CircularProgress
within its closing tag, consolidating the loading state and title. The ImportTemplatesDialogGallery
now supports a new children
prop, local state management for filtering templates, and a search field for user input, enhancing template display and search functionality.
File | Change Summary |
---|---|
src/domain/templates/components/Dialogs/ImportTemplateDialog/ImportTemplatesDialog.tsx |
- Restructured ImportTemplatesDialogGallery to include BlockTitle and CircularProgress within its closing tag. - Conditional rendering of subtitle prop remains unchanged. |
src/domain/templates/components/Dialogs/ImportTemplateDialog/ImportTemplatesDialogGallery.tsx |
- Added children prop to ImportTemplatesDialogGalleryProps . - Introduced local filter state for search input. - Implemented filterTemplatesCallback for template filtering. - Updated rendering logic to include SearchField and dynamic template rendering based on search criteria. |
ImportTemplatesDialog.tsx
file, which is directly related to the main PR's changes in the same file, focusing on template management.ImportTemplatesDialog.tsx
, specifically altering the loading behavior of platform templates, which is relevant to the main PR's adjustments in the same component.ImportTemplatesDialog.tsx
file, enhancing the loading conditions for templates, which aligns with the main PR's focus on the ImportTemplatesDialog
component.ImportTemplatesDialog.tsx
file, specifically regarding the initialization of template loading, which is closely related to the changes made in the main PR.ImportTemplatesDialog.tsx
, focusing on template management and loading logic, which connects it to the main PR's modifications.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
https://github.com/alkem-io/client-web/issues/7219
The search design and functionality were discussed and accepted by Simone.
Summary by CodeRabbit
New Features
Improvements