diff libervia/web/pages/chat/_browser/__init__.py @ 1642:c03297bb8d19

server, browser (forums): Redesign of the forum feature: Forum has been fully redesigned, it now uses pubsub relationships and pubsub extended discovery to handle the hierarchy. Categories lead to topics (which are the name of the items of a blog-like nodes). Topics have comment nodes which are used to show the topic messages. Subscription state is retrieve when a thread is shown, and can be changed easily with as ingle button click. Quill editor is used, and is extended with Quill-Mention to easily send a mention to an XMPP entity. Attachments and tags are handled with buttons added to Quill editor. Search in a thread is using Pubsub MAM, is the same way as for blogs. rel 463
author Goffi <goffi@goffi.org>
date Sat, 06 Sep 2025 16:30:46 +0200
parents 332822ceae85
children
line wrap: on
line diff
--- a/libervia/web/pages/chat/_browser/__init__.py	Sat Sep 06 12:12:42 2025 +0200
+++ b/libervia/web/pages/chat/_browser/__init__.py	Sat Sep 06 16:30:46 2025 +0200
@@ -287,7 +287,9 @@
 
         # attachments
         self.file_uploader = FileUploader(
-            "", "chat/attachment_preview.html", on_delete_cb=self.on_attachment_delete
+            "",
+            "components/attachment_preview.html",
+            on_delete_cb=self.on_attachment_delete
         )
         self.attachments_elt = document["attachments"]
         self.message_input = document["message_input_area"]