mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
Migrate notification system to native Quickshell NotificationServer API
- Replace custom NotificationGroupingService with native NotificationService - Implement proper image/icon priority system (notification image → app icon → fallback) - Add NotificationItem with image layering and elegant emoji fallbacks - Create native popup and history components with smooth animations - Fix Discord/Vesktop avatar display issues - Clean up legacy notification components and demos - Improve Material Design 3 theming consistency
This commit is contained in:
@@ -189,10 +189,6 @@ PanelWindow {
|
||||
|
||||
onClicked: {
|
||||
if (topBar.shellRoot) {
|
||||
// Hide notification popup if visible
|
||||
if (topBar.shellRoot.showNotificationPopup) {
|
||||
Utils.hideNotificationPopup()
|
||||
}
|
||||
topBar.shellRoot.calendarVisible = !topBar.shellRoot.calendarVisible
|
||||
}
|
||||
}
|
||||
@@ -212,10 +208,6 @@ PanelWindow {
|
||||
|
||||
onClicked: {
|
||||
if (topBar.shellRoot) {
|
||||
// Hide notification popup if visible
|
||||
if (topBar.shellRoot.showNotificationPopup) {
|
||||
Utils.hideNotificationPopup()
|
||||
}
|
||||
topBar.shellRoot.calendarVisible = !topBar.shellRoot.calendarVisible
|
||||
}
|
||||
}
|
||||
@@ -267,10 +259,6 @@ PanelWindow {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
||||
onClicked: {
|
||||
// Hide notification popup if visible
|
||||
if (topBar.shellRoot && topBar.shellRoot.showNotificationPopup) {
|
||||
Utils.hideNotificationPopup()
|
||||
}
|
||||
topBar.clipboardRequested()
|
||||
}
|
||||
}
|
||||
@@ -302,10 +290,6 @@ PanelWindow {
|
||||
isActive: topBar.shellRoot ? topBar.shellRoot.notificationHistoryVisible : false
|
||||
onClicked: {
|
||||
if (topBar.shellRoot) {
|
||||
// Hide notification popup if visible
|
||||
if (topBar.shellRoot.showNotificationPopup) {
|
||||
Utils.hideNotificationPopup()
|
||||
}
|
||||
topBar.shellRoot.notificationHistoryVisible = !topBar.shellRoot.notificationHistoryVisible
|
||||
}
|
||||
}
|
||||
@@ -327,10 +311,6 @@ PanelWindow {
|
||||
|
||||
onClicked: {
|
||||
if (topBar.shellRoot) {
|
||||
// Hide notification popup if visible
|
||||
if (topBar.shellRoot.showNotificationPopup) {
|
||||
Utils.hideNotificationPopup()
|
||||
}
|
||||
topBar.shellRoot.controlCenterVisible = !topBar.shellRoot.controlCenterVisible
|
||||
if (topBar.shellRoot.controlCenterVisible) {
|
||||
WifiService.scanWifi()
|
||||
|
||||
Reference in New Issue
Block a user