Skip to content

feat(empty-state): make icon and description optional#1572

Open
dauriamarco wants to merge 1 commit intomainfrom
feat/empty-state/optional-elements
Open

feat(empty-state): make icon and description optional#1572
dauriamarco wants to merge 1 commit intomainfrom
feat/empty-state/optional-elements

Conversation

@dauriamarco
Copy link
Member

Resolves #1479

Describe in detail what your merge request does and why. Add relevant
screenshots and reference related issues via Closes #XY or Related to #XY.


@dauriamarco dauriamarco added this to the 49.x milestone Feb 25, 2026
@dauriamarco dauriamarco self-assigned this Feb 25, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request successfully makes the icon input for the si-empty-state component optional. The changes are well-rounded, including updates to the component logic, template, API definition, and the addition of relevant tests and examples. The new examples for states with no icon and no description are particularly helpful. The suggestion to improve the robustness of a new unit test by using a more specific DOM selector has been retained. Overall, this is a solid contribution.

@github-actions
Copy link

@dauriamarco dauriamarco force-pushed the feat/empty-state/optional-elements branch from 759be7b to 5843f30 Compare February 25, 2026 23:32
@dauriamarco dauriamarco marked this pull request as ready for review February 25, 2026 23:32
@dauriamarco dauriamarco requested review from a team as code owners February 25, 2026 23:32
@dauriamarco dauriamarco force-pushed the feat/empty-state/optional-elements branch from 5843f30 to e5edd3d Compare February 26, 2026 00:19
@dauriamarco dauriamarco force-pushed the feat/empty-state/optional-elements branch from e5edd3d to eec9ae8 Compare February 26, 2026 00:32
@github-actions
Copy link

Code Coverage

Copy link
Member

@panch1739 panch1739 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dauriamarco wow, you were super fast! Perfect!

I just have two comments:

  1. As now our icons occupy a bigger space in the grid, they look a bit out of balance with the rest of the text. I think we can align with iX and change the size to 64px by 64px:
Image
  1. This is totally optional, but i think it would be cool if we could have a preview that allows users to toggle on and off the things that are optional...similar to what you did in the launchpad? WDYT?

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.

Empty states: Making icon and/or title optional

2 participants