Add notification support with enable/disable functionality and sound effects for new messages.

This commit is contained in:
2026-07-19 18:39:24 +02:00
parent a3cb1247af
commit b415d2968d
9 changed files with 157 additions and 6 deletions
@@ -1,6 +1,13 @@
<div class="full-width"
[style.background-color]="getServerColor(selectedServer())">
<span class="server" [style.color]="getServerTextColor(selectedServer())">
{{ selectedServer() }}
</span>
<span class="server" [style.color]="getServerTextColor(selectedServer())">
{{ selectedServer() }}
</span>
<div class="notification-icon">
@if (notificationEnabled()) {
<svg-notification-enabled (click)="disableNotifications()"/>
} @else {
<svg-notification-disabled (click)="enableNotifications()"/>
}
</div>
</div>