Skip to content

Add new image and catalog empty card#762

Merged
aabidsofi19 merged 5 commits intolayer5io:masterfrom
amitamrutiya:catalogcard
Oct 18, 2024
Merged

Add new image and catalog empty card#762
aabidsofi19 merged 5 commits intolayer5io:masterfrom
amitamrutiya:catalogcard

Conversation

@amitamrutiya
Copy link
Copy Markdown
Contributor

This pull request introduces several new components and updates to the CustomCatalog module, primarily aimed at enhancing the user interface and handling empty states more effectively. The most important changes include the addition of the CatalogCardDesignLogo and EmptyStateCard components, as well as updates to the styling and exports.

New Components:

  • CatalogCardDesignLogo Component: Added a new component to display design logos with optional zoom effect. (src/custom/CustomCatalog/CatalogCardDesignLogo.tsx)
  • EmptyStateCard Component: Introduced a component to handle and display empty states with a message and icon. (src/custom/CustomCatalog/EmptyStateCard.tsx)

Styling Updates:

  • CatalogEmptyStateDiv and EmptyStateDiv: Added new styled components for empty state handling. (src/custom/CustomCatalog/style.tsx)

File and Export Updates:

  • File Renaming: Renamed custom-card.tsx to CustomCard.tsx and updated imports accordingly. (src/custom/CustomCatalog/CustomCard.tsx)
  • Export Updates: Updated exports in index.tsx to include the new components. (src/custom/CustomCatalog/index.tsx, src/custom/index.tsx) [1] [2] [3] [4]

Icon Component:

  • EmptyStyleIcon Component: Added a new icon component for empty state representation. (src/icons/EmptyStyle/EmptyStyleIcon.tsx, src/icons/EmptyStyle/index.tsx) [1] [2]

Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
@leecalcote leecalcote requested review from SAHU-01, nebula-aac and sudhanshutech and removed request for nebula-aac October 17, 2024 18:43
@leecalcote
Copy link
Copy Markdown
Member

@amitamrutiya these cards are used in Cloud and in Meshery UI, right? And so, you're verifying compatibility in both places, right?

@amitamrutiya
Copy link
Copy Markdown
Contributor Author

Yes @leecalcote .

Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
@aabidsofi19 aabidsofi19 merged commit bf8f47b into layer5io:master Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants