Files
pagerite/pagerite
LeoVasanko 7935115405 contact messages: close conversation, live sessions, notification click-through
Visitors can close a conversation (panel ⟲ button): the thread is
archived server-side for the admin inbox (excluded from the unread
count, replies rejected, sorted last), the local session keys are wiped
and the token rotated, so the next message starts an all-new thread.

A live conversation is flagged in localStorage and resumed at page load
(no panel click needed); admins get a background /_api/ws/analytics
watch whenever messaging is enabled, keeping the icon badge live and
notifying new visitor messages (MessagesView owns notifications while
the inbox is open).

Notification policy: permission is asked only right after the first
message of a fresh thread; denied is never re-asked, a dismissed prompt
comes up again on the next fresh thread. Clicking a notification focuses
the tab and opens the thread/inbox at what was new.
2026-09-29 02:32:55 +00:00
..
2026-08-16 05:49:38 +00:00
2026-09-21 14:43:37 +00:00
2026-09-21 14:43:37 +00:00
2026-09-21 14:43:37 +00:00