Mercurial > libervia-web
diff libervia/web/pages/_browser/dialog.py @ 1635:332822ceae85
browser (chat): Add rich editor, forward and extra recipients:
A new "extra" menu is now available next to input field, allowing to toggle to rich
editor. Rich editors allows message styling using bold, italic, underline, (un)numbered
list and link. Other features will probably follow with time.
An extra menu item allows to add recipients, with `to`, `cc` or `bcc` flag like for
emails.
Messages can now be forwarded to any entity with a new item in the 3 dots menu.
rel 461
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Jul 2025 17:47:37 +0200 |
parents | 698eaabfca0e |
children |
line wrap: on
line diff
--- a/libervia/web/pages/_browser/dialog.py Fri Jul 04 17:40:18 2025 +0200 +++ b/libervia/web/pages/_browser/dialog.py Fri Jul 04 17:47:37 2025 +0200 @@ -96,7 +96,8 @@ notif_elt.remove() resolve_cb(confirmed) - async def ashow(self): + async def ashow(self) -> bool: + """Return True if the dialog is confirmed.""" return window.Promise.new( lambda resolve_cb, reject_cb: self.show(