Commit Graph

28 Commits

Author SHA1 Message Date
Dat Vu a693ceb456 [Part 2] TF-4308 Add Create new label button in ChooseLabelModal (#4457) 2026-04-17 16:51:49 +07:00
dab246 2fd890f488 TF-4301 Block barrier dismissal while label creation is in progress
Wrap CreateNewLabelModal with PopScope(canPop: false) while the
creation request is in flight so that tapping the barrier
(barrierDismissible: true) cannot dispose the modal and cancel
the stream subscription before the result is delivered.
2026-04-17 11:58:53 +07:00
dab246 660c4f40e2 TF-4301 Address code review comments on label feature
- Make LabelModalMixin interactor getters non-nullable; remove force-unwraps at call sites
- Show positiveLabel and add semanticLabel in progressing button for accessibility
- Use timestamp-based label name in E2E scenario to prevent flakiness on reused accounts
- Guard labelAs action with isLabelAvailable check in SingleEmailController
- Don't pop back on label creation failure so users can retry without losing context
- Block modal dismissal while label creation request is in flight
- Null-guard email.id before toggling label in ThreadView::onCreateANewLabelAction
- Log stackTrace and rethrow in DialogRouter to distinguish errors from user cancel
2026-04-17 11:58:53 +07:00
dab246 1b62990f28 TF-4301 Add E2E tests for label creation and tagging from email view 2026-04-17 11:58:53 +07:00
dab246 190ccc7bc3 TF-4301 Add "Create a new label" button in Label As menus and wire up tagging in email view 2026-04-17 11:58:53 +07:00
dab246 061793846e fixup! TF-4308 Add NoLabelYetWidget for choose label modal
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 10:22:32 +07:00
dab246 35b46ff21b TF-4308 Add NoLabelYetWidget for choose label modal
Signed-off-by: dab246 <tdvu@linagora.com>
2026-04-17 10:22:32 +07:00
Dat Dang 6fc88f780c TW-4308 Add labels for several messages part 2 (#4431)
Add ChooseLabelModal, delegate, and update label UI components

Wire add-labels action across Thread, Search, and Dashboard
2026-04-15 14:25:37 +07:00
dab246 fdae057837 TF-4370 Fix selector/key wiring: modal instantiation does not pass the key the test expects 2026-03-25 19:45:46 +07:00
dab246 0f9ea3c778 TF-4370 Add E2E test for test case create new a tag 2026-03-25 19:45:46 +07:00
dab246 7df25c5f5a TF-4370 Handle create new a label with description 2026-03-25 19:45:46 +07:00
dab246 4c837ed9cf TF-4370 Add Description field to Create new Label modal 2026-03-25 19:45:46 +07:00
dab246 b37359af03 TF-4236 Implement remove a label from an email when click on the cross on a tag in the opened mail 2026-01-27 12:04:11 +07:00
dab246 69c3d32e3c TF-4233 Fix the response success check to use key presence instead of value nullness. 2026-01-26 09:13:54 +07:00
dab246 7b250f911b TF-4233 Correctly set current label color on edit dialog open 2026-01-26 09:13:54 +07:00
dab246 ac33424c30 TF-4233 Handle edit label on mobile 2026-01-26 09:13:54 +07:00
dab246 bac101021e TF-4233 Implement edit label action 2026-01-26 09:13:54 +07:00
dab246 94fd6f8071 TF-4195 Add Label to Thread 2026-01-19 11:34:43 +07:00
dab246 e8b2c1d2a5 TF-4195 Fix comments of coderabbit 2026-01-19 11:34:43 +07:00
dab246 0076a7af57 TF-4195 Implement add a Label to an email on mobile 2026-01-19 11:34:43 +07:00
dab246 78de7de3a6 TF-4195 Implement add a Label to an email 2026-01-19 11:34:43 +07:00
dab246 b6027e996d TF-4195 Show submenu when hover Label As item 2026-01-19 11:34:43 +07:00
dab246 6c959fcf81 TF-4178 Implement create new label 2026-01-19 11:34:43 +07:00
dab246 8f1da20e54 TF-4178 Add color picker modal 2026-01-19 11:34:43 +07:00
dab246 d3029ec4de TF-4178 Add create new label modal 2026-01-19 11:34:43 +07:00
dab246 e99643085d TF-4174 Display tag in opened email view when thread is disabled on web desktop 2026-01-19 11:34:43 +07:00
dab246 5fb0aa84e8 TF-4171 Display tag in mailbox list, search list on mobile 2026-01-19 11:34:43 +07:00
dab246 31ed2feae4 TF-4171 Display tag in mailbox list 2026-01-19 11:34:43 +07:00