Commit Graph

38 Commits

Author SHA1 Message Date
Théo Poizat 13f81a9bee Include spacer in tablet bottom bar Scribe button 2026-03-25 11:52:35 +07:00
Théo Poizat 7b3e3e1b16 Do not focus composer when clicking on tablet bottom bar button 2026-03-25 11:52:35 +07:00
Théo Poizat c05a01d92a Move Scribe icon in tablet at left of icons 2026-03-25 11:52:35 +07:00
Théo Poizat 245dfc714d Display sparkle button in mobile app bar to launch AI Scribe
- Same icon than for desktop
- Displayed only if AI Scribe is enabled
2026-03-25 11:52:35 +07:00
Théo Poizat b28dea732a Fix AI Scribe overlay button display in iOS
The button was never displayed because the selectionchange event listener was loaded when the WebView was not entirely loaded so selectionchange event were never fired.

Now we setup selection listener when the WebView is loaded instead of created.
2026-03-25 11:52:35 +07:00
Théo Poizat 03c70922a0 Fix selection coordinates in mobile
Because the HTML editor is different, we need a different selector to get the editable element.

We also need to add a small offset to the coordinates to avoid positionning the overlay icon above native selection UI in mobile. For example, Android adds a marker at the beginning and the end of the selection and we do not want to display the Scribe overlay icon above this marker.
2026-03-25 11:52:35 +07:00
dab246 1514136f39 TF-4136 Replace logError to logWarning for some place 2026-01-15 09:46:51 +07:00
Dang Dat a31898185e [Memory leak] Handle dispose in MobileEditorWidget 2025-12-29 10:11:56 +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
dab246 57bfb4f88f feat(ai-scribe): Fix when using multiple composer, get multiple overlay icons 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 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 972b20ec16 TF-4050 Preview and download uploaded file in composer on web 2025-11-11 17:48:33 +07:00
dab246 2abd5e6a8e Fix overlay title composer on tablet/ipad device 2025-09-17 14:40:40 +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 0703d14761 TF-3601 Fix content gone blank in composer on IOS
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-03 02:38:48 -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 adaa4b95cd TF-3449 Add integration test for send email with mark as important
Signed-off-by: dab246 <tdvu@linagora.com>
2025-03-06 20:30:23 -08: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 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 1b70226c0f TF-2945 Apply quick select for read receipt in composer on tablet 2024-08-07 06:32:45 +02:00
dab246 da3fdd1202 TF-2584 Update padding toolbox buttons of composer in mobile 2024-07-02 13:06:10 +02:00
dab246 4ccebb8a55 TF-2584 Remove toolbox buttons in keyboard header and move to app bar of composer in mobile 2024-07-02 13:06:10 +02:00
dab246 800241cef0 TF-2532 Add attachment/inlineImage button at app bar composer on mobile/tablet 2024-07-02 13:06:10 +02:00
dab246 82b51082fc TF-2919 Fix memory leak when attach files in composer 2024-06-13 16:03:42 +07:00
dab246 0cdf89f0f9 TF-2717 Display attachment bar below subject field on tablet 2024-06-11 13:59:12 +07:00
dab246 867e758d88 TF-2717 Display attachment bar below subject field on landscape mobile 2024-06-11 13:59:12 +07:00
dab246 e6e25fc06d TF-2717 Display attachment bar below subject field on mobile 2024-06-11 13:59:12 +07:00
dab246 ebd62ab78f TF-2520 Create some class to handle html
Signed-off-by: dab246 <tdvu@linagora.com>
2024-03-08 13:40:12 +07:00
hieubt 64171603bb TF-2196 Update controller with 'From'
(cherry picked from commit 4f0854a762631ded27cc197a9cce18c5de0ed97a)
2023-11-21 16:54:33 +07:00
hieubt f29b1e98e2 TF-2196 Add identities bottom sheet
(cherry picked from commit 186f41eb712937d647866d84c02652fff4b36620)
2023-11-21 16:54:33 +07:00
hieubt 4d6f919660 TF-2196 Add 'From; field fow mobile
(cherry picked from commit 2e754c1331ce4833b20a21e52f736ccd8fcbb207)
2023-11-21 16:54:33 +07:00
dab246 56fac29e55 TF-2116 Persist new signature when open draft email
(cherry picked from commit 4bf72a6e31855061b232fe3c6bab483bcb3f264a)
2023-10-09 12:12:24 +07:00
dab246 27b5342132 TF-2116 Apply new design attachment in mobile composer
(cherry picked from commit 4d8a7590e11044963093a98095948d9820f34efb)
2023-10-09 12:12:24 +07:00
dab246 655446133c TF-2116 Add RequestReadReceipt and more option
(cherry picked from commit 5f9eb6b9c78239ffb586eea98feaf3e6c30981f9)
2023-10-09 12:12:24 +07:00
dab246 3809a05a35 TF-2116 Apply new design composer mobile
(cherry picked from commit fe4ec144d1a18a94de782f87fff56bbf1cd3a00a)
2023-10-09 12:12:24 +07:00
dab246 f7772e0ba7 TF-2116 Create MobileEditor view
(cherry picked from commit c78992dbeb0c7261821fbc607308af2bb4dcc779)
2023-10-09 12:12:24 +07:00