mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
ENH - unify phone notifications as popups
Replace the central Konsta notification banner with the shared Sky UI popup across phone and preview surfaces. Add light and dark materials, app icons, timestamps, routed opening, swipe dismissal, and contract coverage.
This commit is contained in:
@@ -1311,6 +1311,17 @@ onMounted(() => {
|
||||
if (developmentParameters.has('payphonePreview')) {
|
||||
openDevelopmentPayphonePreview()
|
||||
}
|
||||
if (developmentParameters.has('notificationPreview')) {
|
||||
window.setTimeout(() => {
|
||||
notifications.show({
|
||||
appId: 'messages',
|
||||
persistent: true,
|
||||
route: '/apps/messages',
|
||||
text: 'You still got that spare alternator?',
|
||||
title: 'Tommy V',
|
||||
})
|
||||
}, 250)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user