Skip to content

Conversation

@e2d2-dev
Copy link
Contributor

Description

When a database notification with an action with an icon is sent, the enum will be serialized to just the value without "heroicon-" prefix to db.

This will add the prefix and icons are showing up.

Visual changes

icon will show up

Functional changes

none

When a database notification with an action with an icon is sent, the enum will be serialized to just the value without "heroicon-" prefix to db.

This will add the prefix and icons are showing up.

Signed-off-by: ed <[email protected]>
Copy link
Member

@danharrin danharrin left a comment

Choose a reason for hiding this comment

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

Instead of checking if the icon is a Heroicon, check if it has the ScalableIcon interface and call getIconForSize() to get the full icon string.

Also, do we need to do the same for the main notification icon in toArray()?

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Roadmap Dec 24, 2025
@danharrin danharrin added this to the v4 milestone Dec 24, 2025
@danharrin danharrin added bug Something isn't working pending changes labels Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working pending changes

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants