Skip to content

Fix icon usage - #8849

Merged
SebastianKrupinski merged 4 commits into
mainfrom
fix-icon-usage
Sep 4, 2026
Merged

Fix icon usage#8849
SebastianKrupinski merged 4 commits into
mainfrom
fix-icon-usage

Conversation

@odzhychko

Copy link
Copy Markdown
Contributor

Fixes some icon usage.
Includes small visual fixes for users and less warning in console for developers.
Commit messages include details on why changes needed to be made.

Component Before After Note
NcActionButton image image No visual change
NcActionButton Warning Invalid prop: type check failed for prop "icon". ... at <NcActionButton key="dayGridMonth" icon= no warning
replace class: 'animation-rotate' image image
NcActionText
Screencast.From.2026-09-04.14-21-08.mp4
Screencast.From.2026-09-04.14-22-46.mp4
NcEmptyContent image image

@odzhychko

Copy link
Copy Markdown
Contributor Author

/backport to stable6.6

@backportbot backportbot Bot added the backport-request A backport was requested for this pull request label Sep 4, 2026
@odzhychko

Copy link
Copy Markdown
Contributor Author

/backport to stable6.6

@odzhychko odzhychko added 3. to review Waiting for reviews bug labels Sep 4, 2026
@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@SebastianKrupinski SebastianKrupinski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't know if this really needs to be back ported.

If you do want to pack port this, then all the commits need to be "fix"

This prevents console warnings. The intended icon is already added as a slot.

Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
Use the `icon` slot instead of the unsupported `icon` property. Do not set `size` as it has not effect. Set decorative property consistently.

Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
@odzhychko

Copy link
Copy Markdown
Contributor Author

In general I'm also not sure if to back port fixes for small visual glitches or not.

This specific fixes should be easily back portable to stable6.6 so I'd like to do that.

I changed every thing from chore to fix.

@SebastianKrupinski
SebastianKrupinski merged commit 845abdc into main Sep 4, 2026
32 checks passed
@SebastianKrupinski
SebastianKrupinski deleted the fix-icon-usage branch September 4, 2026 16:14
@backportbot backportbot Bot mentioned this pull request Sep 4, 2026
@backportbot backportbot Bot removed the backport-request A backport was requested for this pull request label Sep 4, 2026
@SebastianKrupinski

Copy link
Copy Markdown
Contributor

In general I'm also not sure if to back port fixes for small visual glitches or not.

If it actually fixes an issue, it should be back ported to all applicable stable versions.

@odzhychko

Copy link
Copy Markdown
Contributor Author

/backport to stable6.5

@backportbot backportbot Bot added the backport-request A backport was requested for this pull request label Sep 6, 2026
@backportbot backportbot Bot mentioned this pull request Sep 6, 2026
4 tasks
@backportbot backportbot Bot removed the backport-request A backport was requested for this pull request label Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants