Commit Graph

250 Commits

Author SHA1 Message Date
dab246 a23d15a9ca TF-4136 refactor(logging): replace logError with logWarning for non-critical cases 2026-01-06 13:53:22 +07:00
Dang Dat a31898185e [Memory leak] Handle dispose in MobileEditorWidget 2025-12-29 10:11:56 +07:00
dab246 29b54a76ee hotfix(ai-scribe): fix Safari keyboard input issue in AI Scribe search bar dialog 2025-12-23 17:27:26 +07:00
dab246 6e09d853fd feat(ai-scribe): Fix the English locale file `(intl_en.arb)` is missing all three AI Scribe keys
feat(ai-scribe): Fix async function declared without proper return type annotation.

feat(ai-scribe): Fix Async operations not properly awaited.

feat(ai-scribe): Fix inconsistent capitalization between button labels.

feat(ai-scribe): Fix GenerateAITextFailure check will never match.

feat(ai-scribe): Fix consider validating text input for predefined actions.

feat(ai-scribe): Using a subshell for directory isolation.

feat(ai-scribe): Fix verify the mock usage or document intent.

feat(ai-scribe): Using a more conventional import for Offset.

feat(ai-scribe): Adding error handling for consistency

feat(ai-scribe): Remove `fromJson` and `toJson` of AIResponse

feat(ai-scribe): Using constants for role values.

feat(ai-scribe): Using a more specific import.

feat(ai-scribe): Using Timer for cleaner lifecycle management

feat(ai-scribe): Adding error handling to fromMap() for consistency.

feat(ai-scribe): Disposing the ValueNotifier

feat(ai-scribe): Redundant null check after assignment

feat(ai-scribe): Fix calling `registerSelectionChangeListener` multiple times may be inefficient.

feat(ai-scribe): Safer type handling for JavaScript callback args

feat(ai-scribe): Fix async callbacks not awaited in switch statement.

feat(ai-scribe): Fix binding lifecycle mismatch for GetAIScribeConfigInteractor

feat(ai-scribe): Fix ai prompts

feat(ai-scribe): Fix unawaited async call to `_setupSelectionListener`

feat(ai-scribe): Fix switch cases use top-origin coordinates while `PositionedDirectional(bottom:)`` expects bottom-origin coordinates.

feat(ai-scribe): Adding error handling for selection listener setup.
2025-12-19 19:03:39 +07:00
Théo Poizat 1a79445711 Add a method to delete selection content 2025-12-19 19:03:39 +07:00
dab246 57bfb4f88f feat(ai-scribe): Fix when using multiple composer, get multiple overlay icons 2025-12-19 19:03:39 +07:00
Théo Poizat 8ed8100e7e Add JS method to collapse selection in both composer
Collapsing a selection means removing it and keep the cursor at the
end. It will be needed by the scribe for "Insert" action where we
want to insert a text at the cursor even if the user selected text.
2025-12-19 19:03:39 +07:00
dab246 1a1b8f489f feat(ai-scribe): Improve UI for AI Scribe suggestion modal 2025-12-19 19:03:39 +07:00
dab246 582b1ebe97 feat(ai-scribe): reorganize abstractions and update dialog modal UI 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 96c95866c6 Open AI Scribe from bottom bar button 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 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 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 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 69fed46e80 fix: Avoid duplicated recipients in autocomplete
(cherry picked from commit a4f877d3af39fddfeb1ad029fc8c1df76f0daf32)
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 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 993cdb235a TF-4029 Fix singular vs plural for attachments 2025-09-19 12:19:06 +07:00
dab246 2abd5e6a8e Fix overlay title composer on tablet/ipad device 2025-09-17 14:40:40 +07:00
dab246 cf40d22cc8 TF-4011 Support arrow keys on keyboard to get again focus after deleting a recipient 2025-09-17 09:32:56 +07:00
dab246 ca1bd0dfe0 TF-3944 Remove line-height = 1px when drag & drop
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-22 11:02:01 +07:00
dab246 3ef0db855b TF-3944 Change border radius for "Send" button to match new Twake system
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-22 11:02:01 +07:00
dab246 7f9949fa5b TF-3944 Use just a placeholder for subject instead of title label
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-22 11:02:01 +07:00
dab246 6820ad147c TF-3918 Fix line-height is auto changed when copy/paste or drag/drop from odt file
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-20 13:55:34 +07:00
dab246 aeeb47a6f8 TF-3864 Support pasting multiple address with multiple format mixed
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-19 15:07:55 +07:00
dab246 f1ae5b58b2 TF-3864 Support pasting address with display name
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-19 15:07:55 +07:00
dab246 7f195a5422 TF-3945 Change style for signature composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-19 14:10:41 +07:00
dab246 5423a9096c TF-3956 Add font size in toolbar of vacation editor
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-18 15:47:34 +07:00
dab246 801b08bc90 TF-3933 Avoid load font from google
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-11 10:05:35 +07:00
dab246 58d22cbc0b Apply new style for create identity view on desktop
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-30 16:11:23 +07:00
DatDang 4fd0931c9e TF-3586: Upgrade Flutter to 3.27.4 2025-07-30 15:24:57 +07:00
dab246 3457601d14 Set padding for email address tag in input field
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-30 09:18:16 +07:00
dab246 da29ff01e3 Use common FilterField & EmailReceiveTimeType objects for the entire app
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-30 09:18:16 +07:00
dab246 84616f210c TF-2666 Apply new UI for edit recipient card on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-28 17:27:20 +07:00
dab246 6653551609 TF-2666 Apply new design for edit recipient card on web
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-28 17:27:20 +07:00