Extract presence module and add SVG status icons

Move quick status buttons into dedicated presence.ts/css module with
Font Awesome SVG icons (briefcase, headphones, grill, beer mug,
screen-users). Bump version to 9.5.0.
This commit is contained in:
2026-04-10 11:40:26 +02:00
parent 16d095ca77
commit e6860461ee
12 changed files with 332 additions and 9 deletions
+5
View File
@@ -2,6 +2,7 @@
import * as chrono from 'chrono-node'
import { CallHistory } from './call-history'
import { CallNotification } from './call-notification'
import { Presence } from './presence'
import { Search } from './search'
import { Status } from './status'
@@ -11,6 +12,10 @@ const search = new Search()
// eslint-disable-next-line no-undef
waitForKeyElements('ongoing-call-button', (element) => { search.createSearchWindow(element) }, false)
const presence = new Presence()
// eslint-disable-next-line no-undef
waitForKeyElements('#tapiForm', (element) => { presence.createButtons(element) }, true)
const callNotification = new CallNotification()
// eslint-disable-next-line no-undef
waitForKeyElements('call-view', (element) => { callNotification.showCallNotification(element) }, false)