Théo Poizat
755e24895d
Disable AI Scribe if on mobile
2025-12-19 19:03:39 +07:00
Théo Poizat
0075fd64b6
feat: Remove .env file for AI Scribe
...
It was used at the beginning for configuration purpose but now we
have the JMAP capability, no need anymore.
2025-12-19 19:03:39 +07:00
Théo Poizat
2325df616f
Create an isAIScribeAvailable method
...
Check JMAP capability AND if AI is enabled in env.file and use this method everywhere where we checked env.file
2025-12-19 19:03:39 +07:00
Théo Poizat
77a56ae9b7
Export AI Scribe code from controller to a mixin
...
Avoid adding too much code in the controller
2025-12-19 19:03:39 +07:00
Théo Poizat
4d0880b8be
fixup! Extract method to convert html content to text content
...
Move the method in utils
2025-12-19 19:03:39 +07:00
Théo Poizat
d369fcbf5f
Simplify observed values about text selection in composer
...
hasTextSelection had no interest.
The other two values have been put inside an object to observe only one object.
2025-12-19 19:03:39 +07:00
Théo Poizat
2228596c1c
Mutualize event listener in web editor widget
...
Instead of listening multiple times for message from editor JS side,
let's add only one listener and route inside the callback.
2025-12-19 19:03:39 +07:00
Théo Poizat
75f5817e1c
fixup! Implement text selection mixin in mobile and web editor
...
Add try/catch to JSON parse
2025-12-19 19:03:39 +07:00
Théo Poizat
2f3bbe3bbb
Do not display AI scribe if AI is not enabled in env.file
2025-12-19 19:03:39 +07:00
Théo Poizat
bb23792fe3
Use bindings to better separate scribe presentation and data layer
2025-12-19 19:03:39 +07:00
Théo Poizat
6dc58e2eb6
Extract method to convert html content to text content
...
Editor exposes html content (so with html tags) and we do not want to send them to AI backend
2025-12-19 19:03:39 +07:00
Théo Poizat
7d7ccaf874
Open AI Scribe from text selection
2025-12-19 19:03:39 +07:00
Théo Poizat
96c95866c6
Open AI Scribe from bottom bar button
2025-12-19 19:03:39 +07:00
Théo Poizat
23065aa76d
Forward text selection callback from editor view to editor
2025-12-19 19:03:39 +07:00
Théo Poizat
57124f70a8
Implement text selection mixin in mobile and web editor
2025-12-19 19:03:39 +07:00
Théo Poizat
8b17fcdc54
fixup! Add text selection mixin
2025-12-19 19:03:39 +07:00
Théo Poizat
4013973110
Add text selection mixin
...
This mixin leverages HTML callbacks that can be set by WebView editor
to send text selection event to the composer so the composer will
receive text selection event necessary to display buttons related to
text selection.
2025-12-19 19:03:39 +07:00
dab246
860154acc1
TF-4176 Change minimize behavior in mail composer
2025-12-10 09:41:11 +07:00
dab246
6f6284c21f
fix: missing To field when only other fields are filled
2025-11-20 14:21:09 +07:00
dab246
d6e959c4d9
TF-4145 Create paywall url from workplaceFqdn
2025-11-17 14:24:30 +07:00
dab246
fa0ba5d689
TF-4142 Close link overlay when click email content view
2025-11-17 11:43:18 +07:00
dab246
249520b711
TF-4142 Implement hyperlink insertion
2025-11-17 11:43:18 +07:00
dab246
db22415a3e
TF-4064 Fix drag but con not drop on mobile
2025-11-14 22:58:51 +07:00
dab246
433616a9c2
TF-4064 Support drag & drop email addresses in composer on mobile
2025-11-14 22:58:51 +07:00
dab246
6a78d57619
TF-4082 Save text formatting menu state to user's preferences when send email or close composer
2025-11-14 22:34:50 +07:00
dab246
2e54493a69
TF-4082 Setup text formatting menu state from user's preferences in composer
2025-11-14 22:34:50 +07:00
dab246
972b20ec16
TF-4050 Preview and download uploaded file in composer on web
2025-11-11 17:48:33 +07:00
dab246
35fa43ed6b
TF-4011 Support Tab shortcut key to switch focus between tag & input field
2025-11-04 14:58:51 +07:00
dab246
11d47b5b00
TF-3911 Fix shortcutType was not in use in handleComposerShortcutAction method
2025-11-03 05:18:48 +07:00
dab246
fd7e349929
TF-3911 Support keyboard shortcut actions ESC to close multiple composer on web
...
Signed-off-by: dab246 <tdvu@linagora.com >
2025-11-03 05:18:48 +07:00
dab246
6c86682111
TF-3911 Support keyboard shortcut actions ESC to close composer on web
2025-11-03 05:18:48 +07:00
dab246
3a9b8d8205
TF-4124 fix: support localhost addresses in email validation
2025-10-28 16:44:19 +07:00
dab246
2f9e6d61c9
TF-4117 Fix prevent UI from being blocked when opening recipient modal in Mail composer
2025-10-28 10:55:17 +07:00
dab246
dcb19992c6
TF-4045 Only show upgrade storage when premium is available and quota is available
2025-10-15 16:13:40 +07:00
dab246
bddf29c604
hotfix: Do not add Reply-To to recipients field collapsed when unfocus
...
(cherry picked from commit aa0c27ce1c9d7fdd579d0f25c6b7d8f4b50adf70)
2025-10-14 09:34:52 +07:00
dab246
69fed46e80
fix: Avoid duplicated recipients in autocomplete
...
(cherry picked from commit a4f877d3af39fddfeb1ad029fc8c1df76f0daf32)
2025-10-14 09:34:52 +07:00
dab246
6c7331960f
TF-4075 Apply new design for attachments view
2025-10-14 09:34:52 +07:00
dab246
783fa9e3fc
TF-4013 Fix the issue where recipients cannot be moved during drag & drop and ellipsize the text.
...
(cherry picked from commit 033ba2aaee3acae9c4adcfd791832e9adee0efdc)
2025-10-14 09:34:52 +07:00
dab246
bfdd6af3f7
TF-4013 Unified UX between mobile and web
...
(cherry picked from commit 298afd1871aedc3549191b16796241aec9b4552d)
2025-10-14 09:34:52 +07:00
dab246
69d2e59f35
TF-4013 Expand all recipients fields when focus
...
(cherry picked from commit 0eb80e70bb22e7b6f1bb8552aa6ecd6ca9ab304f)
2025-10-14 09:34:52 +07:00
dab246
dd1d1f10fd
TF-4013 Collapse all recipients fields when unfocus
...
(cherry picked from commit cd2c2db33a242d22a06265dca5fa4601753957ab)
2025-10-14 09:34:52 +07:00
dab246
aa710113b0
TF-4054 Fix link detection
2025-10-13 13:21:56 +07:00
dab246
8e1205eaff
TF-4034 Remove button to hide signature
2025-10-06 11:34:43 +07:00
dab246
8396100d7d
TF-4038 Increase margin top of email modal
2025-10-04 06:36:01 +07:00
dab246
64f4096340
Fix cannot scroll editor when disable code view in composer
2025-10-03 15:03:41 +07:00
dab246
69c9476379
Fix cannot focus recipients, subject and open popup menu when code view is enabled and focused
2025-10-03 15:03:41 +07:00
dab246
6a574cce1d
Fix click twice on the signature collapse button to view signature when composer has Cc or Bcc
2025-09-19 14:05:42 +07:00
dab246
993cdb235a
TF-4029 Fix singular vs plural for attachments
2025-09-19 12:19:06 +07:00
dab246
88eeb42424
Fix cannot send email after close attachment reminder dialog
2025-09-18 18:09:40 +07:00
dab246
ff6e79ffa1
Fix cannot drag & drop attachment from email detailed view to composer on web
2025-09-17 22:36:23 +07:00