Commit Graph

78 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
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 582b1ebe97 feat(ai-scribe): reorganize abstractions and update dialog modal UI 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
dab246 860154acc1 TF-4176 Change minimize behavior in mail composer 2025-12-10 09:41:11 +07:00
dab246 249520b711 TF-4142 Implement hyperlink insertion 2025-11-17 11:43:18 +07:00
dab246 972b20ec16 TF-4050 Preview and download uploaded file in composer on web 2025-11-11 17:48:33 +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 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 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 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 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 b90d84741a TF-3759 Update style popup context menu for composer view
Signed-off-by: dab246 <tdvu@linagora.com>
2025-06-17 16:43:45 +07:00
DatDang 7f09f9ceb4 TF-3515 Add save email as template feature 2025-05-15 23:32:31 -07:00
Dat Vu d5946542e0 TF-3671 Fix all composer interaction are blocked without network (#3682) 2025-05-08 12:50:07 +07:00
dab246 3337a608be TF-3627 Remove right padding editor scroll bar in composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-16 19:59:47 -07:00
dab246 b8b4557fd7 TF-3627 Fix two scrollbar with different look
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-16 19:59:47 -07:00
dab246 7f1fee0211 TF-3479 Add hide button for composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 5f461c07ff TF-3479 Persist list composer popup menu when click remove button on composer item
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 3126701b84 TF-3479 Remove ComposerUtils & only sync composer state when composers is not empty
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 c21a9dda24 TF-3479 Always persist as much normal screen as possible
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 16cb8c8a37 TF-3479 Handle Show all & Hide all popup menu composer
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-17 04:33:44 -07:00
dab246 a258dec4ee TF-3410 Use TextTheme apply almost text style for text widget
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
dab246 352681b60e TF-3410 Update icon color & icon size of composer view
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-12 20:17:15 -07:00
dab246 621756dca1 TF-3449 Add Mark as important option in context menu
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-06 20:30:23 -08:00
dab246 06b123e518 TF-3517 Add integration test for case Save draft without Reply-To & reopen it
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-02 21:06:11 -08:00
DatDang 0a00857a66 fixup! Upgrade Twake Mail Flutter to v3.24.5 2025-02-10 19:34:37 -08:00
DatDang 69fa8d2dce Upgrade Twake Mail Flutter to v3.24.5
Revert "fixup! Upgrade Twake Mail Flutter to v3.24.5"

This reverts commit 0a597753a92b658ec17b0578ed488584d7c514d4.
2025-02-10 19:34:37 -08:00
Dat Dang 59c5df2a1b TF-3264 Fix composer drag drop all modes (#3279) 2025-02-05 03:00:08 -08:00
dab246 c14659c55b TF-3427 Remove print action in composer in mobile browser app
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-05 03:00:08 -08:00
dab246 395b24e58f TF-3427 Fix subject was not in print & click outside context menu can not close
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-05 03:00:08 -08:00
dab246 778c138a10 TF-3427 Collapse side features of the composer in a side menu
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-05 03:00:08 -08:00
dab246 6fa66efce2 TF-3427 Implement print draft
Signed-off-by: dab246 <tdvu@linagora.com>
2025-02-05 03:00:08 -08:00
dab246 248b6b6ac4 TF-3399 Fix can not click on body of composer in Samsung A3 2025-02-05 03:00:08 -08:00
DatDang 7faa9c791c TF-3035 Show and hide signature toggle button on draft 2024-09-16 10:26:41 +07:00
dab246 b27eaed659 Fix cannot copy & paste base64 image as inline image in composer web 2024-08-20 11:46:02 +07:00
DatDang 0cb9ddf350 TF-3084 Handle drop image to identity editor for public asset 2024-08-20 10:10:31 +07:00
dab246 df078728bb TF-2925 Write widget test for thread view 2024-08-15 10:14:19 +07:00