Add PWA service worker (via vite plugin), use dynamic viewport units for interface size (improves mobile experience), replace default vue homepage with basic info

This commit is contained in:
Shivering Ocelot committed 2025-08-07 20:55:21 -05:00
1 parent 2e57bf8c8d
commit 13e7c12e75
9 files changed
+68 -33

No files matched your search

+4 -1
View File
@@ -41,13 +41,16 @@ class Thread:
self.memories = []
class ChatView:
def __init__(self, app, chat_id):
def __init__(self, app, chat_id, participant_type=None, participant_id=None):
self.app = app
self.chat_id = chat_id
self.name = None
self.description = None
self.participant_type = participant_type
self.participant_id = participant_id
# Thread holding messages without a set thread id
self.default_thread = Thread(None, chat_id)
# Most recent thread objects, earliest to latest