mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: set icons for each type of notification (#17115)
Each notification type will have an icon to represent the context: <img width="503" alt="Screenshot 2025-03-26 at 13 44 35" src="https://github.com/user-attachments/assets/1187c1c0-1043-4a32-b105-a7f91b52f8ca" /> This depends on https://github.com/coder/coder/pull/17013
This commit is contained in:
@@ -11,10 +11,10 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
FallbackIconWorkspace = "DEFAULT_ICON_WORKSPACE"
|
||||
FallbackIconAccount = "DEFAULT_ICON_ACCOUNT"
|
||||
FallbackIconTemplate = "DEFAULT_ICON_TEMPLATE"
|
||||
FallbackIconOther = "DEFAULT_ICON_OTHER"
|
||||
InboxNotificationFallbackIconWorkspace = "DEFAULT_ICON_WORKSPACE"
|
||||
InboxNotificationFallbackIconAccount = "DEFAULT_ICON_ACCOUNT"
|
||||
InboxNotificationFallbackIconTemplate = "DEFAULT_ICON_TEMPLATE"
|
||||
InboxNotificationFallbackIconOther = "DEFAULT_ICON_OTHER"
|
||||
)
|
||||
|
||||
type InboxNotification struct {
|
||||
|
||||
Reference in New Issue
Block a user