MAIL M3: send and actions (DESIGN §45) — after M2 #397
Open
opened 2026-09-29 04:40:51 +00:00 by kayg
·
49 comments
No Branch/Tag specified
dev
wip/hiderev-1153
wip/hide4-1153
wip/hide3-1153
wip/hide2-1153
wip/hide-1153
wip/editreg-1132
wip/editorrail3-1113
wip/editorrail2-1113
wip/editorrail-1113
wip/e2e-b2-1071
wip/e2e-b-1071
wip/draw4-1101
wip/draw3-1101
wip/draw2-1101
wip/draw-1101
wip/directory-1199
wip/delete-1119
wip/collabloss-1197
wip/cards2-1083
wip/cards-1083
wip/canvas-visual
wip/canvasvis2-976
wip/calhdr-1112
wip/calcards-1115
wip/browserfix
wip/blocks-1125
wip/allday-1107
wip/agenda-decks
wip/agenda-1086
wip/adv7c-1105
wip/txentry-1198
wip/trayicons2-1095
wip/trayicons-1095
wip/tagperf-1186
wip/sidebar3-1094
wip/segmented-1200
wip/rev2-webperf
wip/rev2-money-ident
wip/previewcard-1098
job/collabloss-1197
wip/palette2-1123
wip/palette-1093
wip/onboard2-1141
job/restyle-settings
wip/onboard-1141.aborted-early
wip/onboard-1141
wip/notifloop-1194
wip/nlpchip-1127
wip/morph-1104
wip/merge-round-7c5
wip/merge-round-7c4
wip/merge-round-7c3
wip/merge-round-7c2
wip/merge-round-7c
wip/mchrome-1084
wip/mailghost2-1094
wip/mailghost-1094
wip/kbpreview2-1118
job/restyle-files
wip/kbpreview-1118
wip/kanban-1092
wip/importhang-1121
job/tagdnd-1187
job/merge30
job/perf-1124
job/tocrail-1191
job/cards-1179
wip/cards2-1179
wip/cards-1179
job/segmented-1200
wip/tocrail-1191
job/hide-1153
wip/tagdnd-1187
wip/restyle-files
wip/perf-1124
wip/merge30j
job/onboard-1141
job/restyle-notes
wip/restyle-notes
job/wizchoices-1140
job/adv-1202
job/notifloop-1194
wip/wizchoices-1140
wip/restyle-1190
job/moneyfmt-1180
job/txentry-1198
wip/moneyfmt2-1180
wip/moneyfmt-1180-r
wip/moneyfmt-1180
job/tagperf-1186
job/pillglass-1189
job/flags-1181
wip/flags-1181
job/restyle-1190
job/restyle-mailmoney
job/restyle-search
job/settingsreg-1195
job/wizard-1140
site/website
wip/wizardrev2-1140
wip/wizardrev-1140
wip/wizard5-1140
wip/wizard4-1140
wip/wizard3-1140
wip/wizard2-1140
wip/wizard-1140
wip/pillglass-1189
wip/settingsreg-1195
job/merge29
job/fu-1171
wip/merge29j
wip/fu-1171
job/fu-1166
job/directory-1199
job/txresearch-1188
wip/fu-1166
job/merge28
job/search-1066
wip/search-1066
wip/merge28j
job/gateslot-1182
job/bulkimport-1157
job/mailnet-1160
wip/mailnetrev-1160
wip/mailnet-1160
wip/bulkrev-1157
wip/bulkimport-1157
job/startup-1161
wip/startup-1161
job/merge27
job/linkcards-1151
wip/linkcards3-1151
wip/linkcards2-1151
wip/linkcards-1151
job/traydate-1144
wip/traydate3-1144
wip/traydate2-1144
wip/traydate-1144
job/draw-1101
wip/merge27j
job/blockpill-1152
wip/blockpill3-1152
wip/blockpill2-1152
wip/blockpill-1152
job/minihover-1149
wip/minihover2-1149
wip/minihover-1149
job/merge25
wip/merge25-r
wip/merge25b
wip/merge25
job/inspector-1129
job/tags-1110
wip/inspector3-1129
wip/inspector2-1129
wip/inspector-1129
wip/tagsrev-1110
wip/tags2-1110
wip/tags-1110
job/dates-1148
wip/datesrev-1148
wip/dates2-1148
wip/dates-1148
job/licence-1145
wip/licence2-1145
wip/licence-1145
job/selfhost-1156
job/merge23
wip/merge23
job/tagfilter-1109
wip/tagfilter2-1109
wip/tagfilter-1109
job/kbd-1134
wip/kbd2-1134
wip/kbd-1134
job/palfoot-1137
wip/selfhost-1156
wip/palfoot2-1137
wip/palfoot-1137
job/toggle-1158
wip/toggle-1158
job/kbpreview-1118
job/docratchet-1155
job/perflint-1133
job/devtests-1159
wip/docratchet-1155
wip/devtests-1159
job/segv-1136
wip/toast-1142
wip/segv-1136
job/toast-1142
job/blockreload-1147
wip/blockreload-1147
job/font-1150
wip/font-1150
job/importui-1120
job/minimonth-1149
wip/importui-1120
wip/minimonth-1149
job/depcheck-1146
wip/perflint-1133
wip/depcheck-1146
job/calcards-1115
job/blocks-1125
job/plus-1128
job/shift-1138
wip/plus2-1128
wip/plus-1128
wip/shift-1138
job/moneyfid-1130
job/editorrail-1113
wip/moneyrev-1130
wip/moneyfid-1130
job/noext-851
wip/noext-851
wip/noext3-851
wip/noext2-851
job/week-1135
wip/week-1135
job/editreg-1132
job/smoke-1122
wip/smoke-1122
job/docs-1143
job/palette2-1123
job/calhdr-1112
job/nlpchip-1127
job/mailghost-1094
job/reconnect-1131
wip/reconnect-1131
job/trayicons-1095
job/delete-1119
job/importhang-1121
job/cards-1083
job/palette-1093
job/mchrome-1084
job/e2e-a-1071
job/canvas-visual
job/previewcard-1098
job/allday-1107
wip/e2e-a2-1071
wip/e2e-a-1071
job/e2e-b-1071
job/adv7c-1105
job/kanban-1092
job/agenda-1086
job/merge-round-7c
job/morph-1104
wip/surfaces-p2
job/merge-round-9
wip/merge-round-9
job/7cfix-small
wip/7cfix-small
job/mailui-1078
job/merge-round-8
wip/merge-round-8
wip/mailui-1078
job/mailround-1038
job/applemail-accept
wip/settitle-1068
wip/mailround2-1038
wip/mailround-1038
wip/e2e-7b
job/crash-1069
wip/crash-1069
job/searchlost-1066
wip/searchlost-1066
job/7b-reconcile
job/flake-1065
wip/flake-1065
wip/merge-round-7b7
wip/merge-round-7b6
wip/merge-round-7b5
wip/merge-round-7b4
wip/7b-reconcile
job/appupdate-1059
job/nfd-1044
wip/appupdate-1059
job/e2e-7b
job/loop-1062
wip/loop-1062
job/pdfprev-1045
job/invtoggle-1053
wip/pdfprev-1045
wip/nfd-1044
wip/invtoggle-1053
job/7bfix-e2e
job/mailstress-b
wip/7bfix-e2e
wip/mailstress-b
job/7bfix-adv
wip/7bfix-adv
job/mailstress-a
job/stack-1054
wip/stack-1054
wip/mailstress-a
job/mailstress-1038
wip/mailstress-1038
job/upload500-1051
wip/upload500-1051
job/share-1034
wip/share-1034
job/syncerr-1037
job/7bfix-photos
wip/7bfix-photos
job/paste-1036
job/setside-1039
wip/setside-1039
wip/paste-1036
job/lease-1042
wip/syncerr-1037
wip/lease-1042
job/7bfix-data
job/passkeybind-1043
wip/apprevoke-1041
job/invite-1035
wip/invite-1035
job/merge-round-7b2
wip/merge-round-7b2
job/mailproxy-486
job/apprevoke-1041
job/rebuild-1033
job/pillborder-1029
wip/pillborder-1029
wip/mailproxy-486
wip/applemail-486
job/headless-998
wip/headless-998
job/groups-1028
wip/groups-1028
job/rebuildwarn-1016
wip/rebuildwarn-1016
job/startup-1011
wip/startup-1011
job/monthpill-1009
job/bgthumb-1025
job/sharetitle-1012
wip/monthpill-1009
wip/bgthumb-1025
wip/sharetitle-1012
job/canvas-cards-977
wip/canvas-cards-977
job/canvas-pencil-978
job/canvas-sketch-990
wip/canvas-sketch-990
wip/canvas-pencil-978
job/canvas-files-989
wip/canvas-files-989
job/canvas-collab-991
wip/canvas-collab-991
job/weekscroll-1018
wip/weekscroll-1018
wip/canvas-core-976
job/canvas-core-976
job/round-drag
wip/round-drag
job/round-settings
job/browserfix
wip/oapi-974
job/oapi-974
job/hist2-integrate
job/mailhtml-726
wip/mailhtml-726
wip/hist2-integrate
job/moneyfu-984
job/drag-1015
wip/drag-1015
job/rename-1017
wip/rename-1017
job/hist2-api
wip/hist2-api
job/oneacct-1014
wip/oneacct-1014
wip/moneyfu-984
job/hist2-bench
job/hist2-restore
wip/hist2-bench
job/hist2-write
job/hotfix-724
wip/hotfix-724
wip/hist2-write
wip/hist2-restore
job/hist2-store
job/hist2-ui
wip/hist2-ui
wip/hist2-store
job/searchstarve-965
job/shutdown-963
wip/shutdown-963
wip/pubedit-981
job/pubedit-981
job/analytics-973
wip/searchstarve-965
job/authflash-850
job/weeklane-969
job/pvtitle-1004
job/hist-975
wip/authflash-850
job/voicepill-617
wip/pvtitle-1004
job/headring-1003
wip/weeklane-969
wip/voicepill-617
wip/headring-1003
wip/analytics-973
job/agentscope-980
wip/thumbsandbox-988
job/thumbsandbox-988
wip/hist-975
job/links-856
wip/links-856
job/davetag-966
wip/davetag-966
job/filesstorm-1000
job/hoverpad-725
wip/filesstorm-1000
job/ffmpegblas-993
job/merge-round-7a
wip/hoverpad-725
wip/ffmpegblas-993
job/nowdot-1002
wip/verify-7a
job/noteid-857
wip/nowdot-1002
wip/noteid-857
wip/merge-round-7a
wip/agentscope-980
job/imapedge
job/a11yfix2
wip/imapedge-941
wip/imapedge
wip/a11yfix2
job/notetask-986
job/logheading
wip/logheading-998
job/textthumb-652
job/photolive-987
wip/photolive-987
job/davactive-983
job/savefix-985
job/tabicons-607
wip/davactive-983
wip/tabicons-607
wip/notetask-986
wip/savefix-985
job/dirid-627
job/buildspeed-1007
wip/dirid-627
job/agenda-decks
job/perfguards-impl
job/undo-a11y
wip/undo-a11y
job/mailperf
job/wal-824
wip/settings-50
job/settings-50
job/notesfilter-606
wip/notesfilter-606
job/surfaces-p2
wip/wal-824
job/maillayouts
wip/mailperf
wip/maillayouts
job/taskmeta-659
job/money-ident
wip/money-ident
wip/taskmeta-659
job/errstates
wip/perfguards-impl
job/headings-881
wip/headings-881
wip/errstates
job/voice-619
job/gaps-827
job/notesperf
wip/notesperf
wip/voice-619
job/hddsql-549
job/perf-stream-668
wip/perf-stream-668
wip/deeplinks-fix
job/deeplinks-fix
job/authfix
job/docsfix-rust
wip/docsfix-rust
job/webperf
job/docsfix-web
job/datafix2
job/webdav-lock-476
job/copyfix
wip/copyfix
wip/webperf
job/focus-658
wip/protofix
job/mediafix
job/protofix
wip/mediafix
job/agentfix
job/hhmm-724
wip/agentfix
job/undo-722
job/reuse
wip/webdav-lock-476
wip/reuse
job/scopefix
job/datafix
wip/hhmm-724
wip/undo-722
job/surfaces-p1
wip/hddsql-549
job/voicememos-618
wip/datafix2
wip/surfaces-p1
job/fix-940
wip/fix-940
job/blaze-surfaces
wip/datafix
wip/blaze-surfaces
job/taskday-655
job/linknav-639
wip/linknav-639
wip/gaps-827
job/isolation-707
job/audiophotos-720
wip/audiophotos-720
job/advfind-664
wip/voicememos-618
wip/taskday-655
wip/isolation-707
wip/advfind-664
wip/scopefix
wip/focus-658
job/testgaps
wip/testgaps
job/overscroll-718
wip/authfix
job/deps
wip/overscroll-718
job/rev2-agentfix
job/rev2-money-ident
job/rev2-mailperf
wip/deps
job/hardening-728
wip/hardening-728
job/searchgen-832
wip/searchgen-832
job/photopw-849
job/mailsql-825
wip/photopw-849
job/sharefix
wip/sharefix
job/rev2-mailhtml-726
job/rev2-perfguards
job/copyval-723
job/lightglass-r2
wip/lightglass-r2
wip/docsfix-web
job/copy-audit
job/macinterop-staging-r2
job/design-sync
job/rev2-taskmeta-659
job/rev2-webperf
job/docs-audit
job/rev2-advfind-664
job/rev2-mailproxy-486
job/states-audit
job/rev2-datafix
job/design-drift
job/test-gaps
job/rev2-voicememos-618
job/rev2-mediafix
job/rev2-deps
job/rev2-datafix2
job/licence-audit
job/issue-hygiene
job/rev2-protofix
job/rev2-voice-619
job/rev2-isolation-707
job/rev2-surfaces-p1
job/deeplink-audit2
job/rev2-audiophotos-720
wip/test-gaps
job/rev2-overscroll-718
job/rev2-undo-722
wip/states-audit
job/rev2-dropmd-719
job/rev2-linknav-639
job/merge-7b-plan
wip/merge-7b-plan
job/rev2-taskday-655
wip/mailsql-825
job/rev2-webdav-lock-476
job/rev2-browserfix
wip/design-drift
job/rev2-hddsql-549
wip/deeplink-audit2
job/rev2-scopefix
job/rev2-authfix
job/rev2-hardening-728
job/rev2-wal-824
job/rev2-sharefix
job/calsidebar-638
job/chrome-audit
job/ioperf
wip/ioperf
wip/chrome-audit
wip/calsidebar-638
job/dropmd-719
wip/dropmd-719
job/ocr-build
wip/ocr-build
job/blaze-settings
wip/copyval-723
job/toastring-721
wip/toastring-721
job/deployfix-732
wip/deployfix-732
wip/blaze-settings
job/money-import-recheck
job/rev-a11y
job/perf-arch-db
job/rev-7b-data
wip/textthumb-652
wip/perf-arch-db
job/sec-protocols
job/sidehdr-660
job/rev-7b-security
job/research-surfaces
job/rev-design-gaps
job/rev-mcp-api
wip/sidehdr-660
job/perf-arch-memory
wip/sec-protocols
job/perf-arch-bundle
job/snapedge-714
wip/rev-mcp-api
job/sec-supplychain
wip/research-surfaces
job/perf-arch-sync
job/rev-consistency
job/perf-arch-server
wip/perf-arch-server
wip/perf-arch-memory
job/perf-arch-io
job/perf-arch-client
job/sec-fs
job/sec-mcp-scopes
job/sec-sharing
job/perf-guards
job/sec-browser
job/sec-admin-deploy
job/sec-auth
wip/snapedge-714
job/bgpicker-717
wip/perf-arch-bundle
wip/money-import-recheck
job/advsetup-654
wip/bgpicker-717
wip/advsetup-654
job/burst-709
job/kbdcaps-710
job/app-pw-chooser
wip/burst-709
wip/app-pw-chooser
job/imaptest-625
wip/kbdcaps-710
job/fix-499
wip/fix-499
job/perf-mut-667
job/calimg-589
job/perf-snap-666
wip/calimg-589
wip/perf-snap-666
wip/perf-mut-667
job/perf-cache-665
wip/perf-cache-665
job/voicefiles-620
wip/voicefiles-620
job/admin-burst-705
wip/admin-burst-705
job/voicememos-review
wip/voicememos-review
wip/ryw-653
job/ryw-653
job/writeonopen-661
job/instant-663
wip/writeonopen-661
job/money-import-review
wip/money-import-review
wip/importjs-610
review/integrations-407-round6
wip/integrations-review
job/dragghost-612
wip/dragghost-612
job/integrations
wip/integrations
job/decider-656
job/merge-round-6
job/perf-rerun
wip/merge-round-6
job/integrations-review-round5
job/selalign-576
wip/selalign-576
job/mcp-events-491
job/files-631
job/cal-e2e-569
wip/cal-e2e-569
job/reload-423
wip/reload-423
wip/mcp-events-491
wip/files-631
job/notesbridge-644
wip/notesbridge-644
job/editor-series
job/calcard-series
wip/calcard-series
job/mcp-events-review-491
wip/mcp-events-review
wip/editor-series
job/quirks-546
job/integrations-recheck
job/tocrail-636
wip/tocrail-636
wip/quirks-546
wip/reminders-643
job/reminders-643
wip/davscale-573
job/davscale-573
job/integrations-review
wip/ocr-eval-584
job/ocr-eval-584
job/esc-537
wip/esc-537
job/toastname-586
wip/toastname-586
job/submenu-579
wip/submenu-579
job/tasks-mode
wip/tasks-mode
job/agentdocs-630
job/dupwrite-634
wip/agentdocs-630
wip/dupwrite-634
job/lightglass-588
wip/lightglass-588
job/tabswitch-549
job/ghosttask-623
wip/ghosttask-623
job/toaststack-616
job/weekstate-609
job/mailsync-613
wip/mailsync-613
wip/weekstate-609
job/maildup-626
wip/tabswitch-549
wip/maildup-626
wip/toaststack-616
job/motion-611
wip/motion-611
job/tlstest-601
wip/tlstest-601
job/perf-495
job/floating-sheet
wip/floating-sheet
job/remdup-585
wip/remdup-585
job/fix-502
wip/fix-502
job/attachplay-622
job/perf-batch
wip/perf-batch-563
wip/perf-495
hotfix/mail-sync-diag
job/mail-m3
wip/mail-m3
job/attach-poof-603
job/calhover-608
job/editorbar-604
job/mentions-605
job/merge-round-4
job/allday-514
wip/merge-round-4
wip/allday-514
job/merge-round-4a
wip/merge-round-4a
job/sharestack-580
job/fix-501
wip/sharestack-580
wip/fix-501
job/perf-batch-563
job/apw-cache-review
wip/apw-cache-review
job/probe-520
wip/probe-520
job/mac-393
wip/mac-393
job/header-571
job/flake-513
wip/flake-513
job/docs-thumb-547
wip/header-571
job/webcal-572
wip/webcal-572
wip/shortcuts-542
job/shortcuts-542
wip/docs-thumb-547
job/caldav-stress
wip/caldav-stress
wip/sweep-478
job/apw-cache-512
wip/apw-cache-512
job/money-empty-540
wip/restart-505
wip/money-empty-540
wip/fix-510
job/restart-505
job/fix-503
job/perf-496
wip/perf-496
job/fix-498
wip/fix-498
job/info-inspector-465
wip/info-inspector-465
job/fix-510
job/fix-507
wip/fix-507
wip/fix-503
job/fix-493
job/money-kinds
wip/money-kinds
job/hygiene-548
job/merge-round-3
wip/fix-493
job/drag-snap-536
wip/merge-round-3
wip/merge-round-0930
wip/drag-snap-536
job/align-538
wip/align-538
job/bg-flash
wip/bg-flash
job/money-import
job/search-count-544
wip/search-count-544
wip/money-import
job/settings-key-541
wip/settings-key-541
job/toast-539
job/preview-421
wip/preview-421
wip/toast-539
job/tasks-500-531
job/title-plain-526
wip/title-plain-526
wip/tasks-500-531
job/notes-bridge
wip/parity-484
job/parity-484
job/files-slow
job/crash-525
wip/notes-bridge
wip/files-slow
wip/crash-525
job/kbd-motion-527
wip/bg-422
job/analytics-504
wip/analytics-504
wip/kbd-motion-527
job/upload-pill-523
wip/upload-pill-523
wip/tray-order
job/tray-order
wip/overflow-mid
wip/merge-round-2
job/perf-494
wip/perf-494
wip/mcp-fast-492
wip/motion-477
wip/asr-ab-489
wip/theme-variants-506
wip/overflow-511
wip/week-header-508
wip/attach-427
job/dav-delete-471
job/iso-435
wip/iso-435
wip/files-sel-keys
wip/dav-delete-471
job/align-253
job/siwc-490
wip/siwc-490
job/money-kinds-review
wip/align-253
wip/money-kinds-review
job/small-bugs-3
wip/overlay-title-487
wip/multiget-500
wip/hidden-420
wip/webcal-ui
wip/webcal-431
job/perf-367
job/location
wip/small-bugs-3
wip/location
wip/perf-367
wip/admin-deny-483
job/tag-unicode-473
wip/tag-unicode-473
job/blur-436
wip/photos-470
wip/blur-436
wip/small-bugs-4
wip/hunt-20260930
wip/settings-hdr-482
wip/chips-416
job/dedup-375
wip/dedup-375
job/doc-stack
wip/doc-stack
job/tokens-literals
wip/tokens-literals
job/jobs-leftovers
wip/send-fast
wip/paste-467
wip/money-numbers
job/money-plugin
wip/money-plugin
job/break-dav
wip/merge-batch
wip/crossday-469
wip/mac-verify
wip/mail-m2
wip/break-dav
wip/money-review2
job/money-md
job/modes-424
wip/money-md
wip/jobs-leftovers
job/agenda-413
wip/agenda-413
wip/modes-424
job/recog-417
wip/recog-417
wip/bounce-425
wip/ab-384-luna
job/webdav-perf
wip/webdav-perf
job/toast-ring
wip/toast-ring
job/money-review
wip/money-review
wip/micro-motion
wip/settings-card
wip/minical
job/notes-imap-428
job/least-priv
wip/ui-small-2
wip/flaky-426
wip/drag-end-418
job/jank
wip/jank
wip/least-priv
wip/docs-site
job/agenda
job/sec-batch
wip/sec-batch
wip/per-user-index
job/area-calendars
wip/area-calendars
job/parity
wip/parity
job/documents-research
wip/documents-research
job/test-infra
job/reminders-sync
wip/small-bugs-2
wip/reminders-sync
wip/gestures
job/google-oauth
wip/tags-merge
wip/tags
job/e2e-theme
wip/e2e-theme
job/icon-align
wip/test-infra
wip/select-align
wip/editor-385
job/voice
wip/webdav
job/webdav
job/app-pw-ui
job/editor-integrity
wip/editor-integrity
wip/voice
wip/quota
wip/cal-followups
wip/icon-align
job/composer-scale
wip/composer-scale
job/jobs-page
wip/jobs-page
job/hig-type
wip/hig-type
wip/app-pw-ui
job/motion-spring
job/mcp
wip/motion-spring
wip/mcp
job/small-bugs
wip/push-hosts
job/profile-sign
wip/touch-369
wip/profile-sign
job/mobile-focus
wip/mobile-focus
wip/ui-polish-354
wip/small-bugs
wip/dup-task
job/toast-polish
job/app-pw-scopes
wip/toast-polish
wip/app-pw-scopes
wip/cli-agent
wip/selection-pills
job/preview-attach
wip/preview-attach
job/dav-proppatch
wip/dav-proppatch
wip/cal-switcher
job/atomic-race
wip/atomic-race
job/photos-shared
wip/photos-shared
wip/cal-grid
wip/note-rewrite
wip/search-rebuild
job/mail-m1
job/paperless-import
wip/paperless-import
wip/mail-m1
wip/hidden-activity
wip/search-d
wip/pricing-research
wip/cursors
wip/auto-scheme
job/single-pills
wip/single-pills
wip/xuser-matrix
wip/money-format
wip/app-pw-setup
wip/purge-dos
wip/vault-health
wip/caldav-apple
wip/xuser-audit
wip/e2e-green
wip/tabbar
wip/adv-harness
wip/maple-mono
job/search-fix
wip/search-fix
wip/search-perf-c
job/adv-harness
wip/sidebar-headers
job/glass
wip/temp-index
job/polish
wip/polish
wip/file-protocols
wip/money-research
wip/glass
wip/voice-models
wip/collab-redo
job/voice-research
wip/hunt-20260928
wip/notes-actions-research
wip/search-pad
wip/search-perf
wip/search-sticky
wip/editor-undo
wip/chrome-rules
wip/motion
wip/appearance-research
wip/appearance
wip/audit-bugs
wip/cal-glass
wip/block-actions
wip/authz-order
wip/event-stripes
wip/chrome-sidebar
wip/auth-flaky
wip/robust-2
wip/gate-fix
wip/menu-blur
wip/import-calternaljs
wip/tray-fix
job/import-calternaljs
wip/index-order
wip/audit-fixes
wip/search-chevrons
research/mail
wip/phone-chrome
wip/dedup-break
wip/csp
wip/ui-audit
wip/select-toast
wip/perf
wip/flat-layout
wip/fonts
wip/event-tint
wip/sync-converge
wip/data-split
wip/glass-audit
wip/robustness
wip/sync-chaos
wip/search-thumbs
wip/fuzz
wip/menu-icons
wip/search-pill
wip/sync-changing
wip/heading-links
wip/date-formats
wip/a11y
wip/break-editor
wip/e2e-fix
wip/settings-sections
wip/sync-root-guard
wip/search-palette
wip/share-edit
job/toasts
wip/toasts
wip/cont-analytics
wip/authz-review
wip/popovers
wip/overlay-glass
wip/change-feed
wip/editor-modes
wip/composer-align
wip/cont-agenda
wip/agenda-merge
job/agent-conventions
wip/agent-conventions
wip/backend-misc
job/route-audit
wip/route-audit
wip/ui-batch
wip/heif-hardening
wip/grid-resize
wip/ask-page
wip/webmcp
job/deeplink-audit
wip/deeplinks
wip/shortcuts
wip/cont-tz-days
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/calternal#397
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MAIL M3: send and actions (DESIGN §45) — after M2
Composer for mail (the shared Composer: desktop overlay, phone sheet, draft deck, commit-freeze, Cmd/Ctrl+Enter sends; From/To/Cc/Bcc), HTML + text/plain alternative, plain-text with format=flowed, SMTP with the account's app password, Sent folder sync, reply/reply-all/forward, the first-release actions list in §45 (archive, delete, move, mark, snooze if decided, Share…), iMIP invitation replies (never automatic). Parity (#395). Gates as §45. Start after M2 merges (shared reader and routes).
Starting Mail M3 on
job/mail-m3, based ondfb5964a2fcf13dc8b9a50a319eee09bc386f322(origin/dev). I am reading #396 and the merged M2 routes/components before implementing the send and actions slice from #397 and DESIGN §45.Finding: M1 stores the SMTP endpoint and app password in each encrypted Mail account, but Mail currently has no SMTP send route. The existing IMAP connection code also pins a validated public DNS result; SMTP must use the same host policy and pin one resolved address so a user-configured server cannot redirect a send to a private network. I am reusing the account credential boundary and adding a bounded idempotent send operation.
Backend send slice committed as
779312c82.Added owner-scoped POST /accounts/{id}/send with MIME construction, TLS SMTP over the validated pinned IP, Bcc-only envelope handling, a bounded provider protocol, durable idempotency metadata, and a queued normal account sync after acceptance. The database stores a payload digest and SMTP state; it does not store recipients, message bodies, or credentials. A Mail route test proves cross-User 404, retry returns the original Message-ID without a second transport call, and reusing a key for changed content returns 409.
Gates for this slice:
cargo fmt --check: passed.cargo test -p calternal-plugin-mail:41 passed; 0 failed.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings: passed.Decisions: raw SMTP is used so connection setup can reuse the IMAP public-DNS validation and pinning policy.
mail-builder1.0.0 builds MIME. If SMTP ends with an uncertain result, the request is not retried automatically; the User checks Sent before starting a new request.Remaining in #397: shared Composer integration, Sent sync/UI actions, iMIP invitation replies, adversarial probe, generated contract, parity, and production screenshots.
M3 finding: the M2 Mail API had no provider Drafts write route. I added owner-scoped save and delete routes. They resolve the synchronized Drafts special-use folder and replace only messages with the draft UUID marker; removal uses UID EXPUNGE and does not expunge unrelated mailbox messages. Offline edits remain in the bounded User-scoped local deck.
M3 progress at
063afe7c1: Mail sends now keep Bcc on the SMTP envelope only, and provider Drafts use owner-scoped save/delete routes. Draft replacement uses a stable UUID header, accepts only the synchronized Drafts special-use folder, and UID EXPUNGE removes only matching provider copies. Mail gates at this commit:cargo clippy -p calternal-plugin-mail --all-targets -- -D warningspassed;cargo test -p calternal-plugin-mailpassed 43 tests, 0 failed. I also added anonymous/foreign-owner and malformed/oversized send/draft probes, and classified the new OpenAPI routes in the cross-user matrix.M3 UI progress at
109de69c4: Compose, Reply, Reply all, and Forward now use the shared app Composer and Mail editor profile. The composer has From/To/Cc/Bcc, address chips, rich/plain editing, a bounded User-scoped offline deck, and provider autosave. I chose/mail?draft=<uuid>because DESIGN §33 does not define a composer-draft route; this restores the User's local draft deck. Remote draft retrieval for a link opened on another device is still missing. The production web build passed; type and API gates remain pending the generated contract.Web test finding for #397:
bun run testinapps/webis still running. Vitest has reported failures insrc/lib/components/analytics/widgets/StatRow.svelte.test.ts(uses the shared type roles and never mono) andsrc/lib/components/SidebarSectionHeader.svelte.test.ts(uses the next shared type step and semibold weight for section labels). Neither file is part of the Mail changes. I will report the completed suite output with the final gates.Mail M3 time-boxed report
Head:
44335f10dba9753d5db856a6eda6fb98b311f400(Use shared shape tokens in Mail composer).origin/devwas fetched and merged once at2030bbafd; the merge was clean. Mail migration0009_send_requests.sqlremains the next number afterorigin/dev's0008_reader_actions.sql.Built
/mail?draft=<uuid>and restores the signed-in User's local deck. This is the simplest stable identity compatible with the existing query-based Mail subviews; DESIGN §33 does not define a composer URL grammar.Commits:
779312c82,c31387c97,063afe7c1,109de69c4,3ce6ba5cf,d0add2429,44335f10d.Gate results
cargo fmt --check: exit 0, no output.bun run build: passed on the merged tree. Output:bun run check: first run found the two Mail shape literals, which were changed to--radius-noneand--radius-circle. The rerun printedText sizes and UI shape values use shared role tokens.and continued intosvelte-check, but did not finish before the four-hour cap.bun run test: 135 test files passed and 2 failed; 877 tests passed and 2 failed. Both failures were Vitest 5-second timeouts inSidebarSectionHeader.svelte.test.tsandanalytics/widgets/StatRow.svelte.test.tsafter the origin/dev merge. The exact output ended:cargo clippy -p calternal-plugin-mail --all-targets -- -D warningspassed andcargo test -p calternal-plugin-mailpassed 43 tests. The post-merge test command started compiling the Mail crate but did not finish before the cap. Post-merge server Clippy/tests were not completed.packages/api-client/src/generated.tswere regenerated and committed.packages/api-client/check-generated.shdid not finish within the cap. The parity check was not run.python3 -m py_compile tests/adversarial/xuser_matrix.py,node --check tests/adversarial/mail_api.mjs, andgit diff --checkpassed earlier. The real-server adversarial round was not run.Known M3 gaps
Archive/move/trash, flag/junk, undo and offline action queue, linked reminder tasks, invite clash checks and iMIP, save/print/export actions, signatures, and provider Draft retrieval across devices are not implemented in this slice. CLI, MCP and WebMCP parity for send and Drafts also remains open. A copied provider draft link on another device cannot load the provider draft because no provider GET/list route exists yet.
The four-hour cap stopped the remaining checks; this report records that state without treating the issue as fully verified.
Resuming Mail M3 on
job/mail-m3at base/head44335f10dba9753d5db856a6eda6fb98b311f400. I read the prior time-boxed report and am completing the pending gates and adversarial probes first, then continuing the remaining M3 actions in DESIGN §45 order. No uncommitted changes were present at resume.M3 finding: the composer has the one-action rich/plain switch, and Mail thread/message queries are newest-first by
received_ms DESC. The composer and Settings → Mail do not have the §45 per-app signature-note library, per-account default assignment, or draft signature switch. I am recording this explicit gap as requested; the current M3 worktree has no signature API or note-library connection to extend.Gate finding on the resumed merged tree:
bun run testcompleted in 389.54 s with 137 files passed and 1 failed (888 tests passed, 1 failed). The only failure wassrc/lib/components/ThemePicker.svelte.test.ts→ “opens dark variants as a keyboard submenu and checks the selected variant”, timed out at 5000 ms.SidebarSectionHeader.svelte.test.tsandanalytics/widgets/StatRow.svelte.test.tsboth passed in this full run; I am running those two files alone now as requested.Isolated rerun completed for the two files named in the prior time-boxed report:
Both earlier timeout candidates pass when run alone. The full-suite ThemePicker timeout is separate and was not rerun yet.
Gate finding: after the direct Mail Editor import removed the first TypeScript diagnostic,
bun run checkreported five errors inpackages/editor/src/extensions.ts. Three are from uncheckedRange.getClientRects()[0]access; two are from assumingheadingandparagraphnodes exist in every ProseMirror schema. I am adding bounds/node-presence handling at those two call sites and will rerun the full check.Slice committed as
1f5dc75ee(Fix Mail editor type checking). Mail now imports the shared editor from its explicit Svelte component export so themailprofile prop is typed. The editor uses the first range rect throughitem(0)and leaves setext input unchanged when a partial schema lacks heading or paragraph nodes.Verification:
bun run check:svelte-check found 0 errors and 0 warnings.Test Files 1 passed (1); Tests 1 passed (1).Test Files 1 failed | 137 passed (138); Tests 1 failed | 888 passed (889), one 5 s ThemePicker timeout. Focused rerun: ThemePicker2 passed; the two previously reported timeout files17 passed.Server gates passed on the merged tree:
cargo clippy -p calternal-server --all-targets -- -D warnings: exit 0;Finisheddevprofile [unoptimized + debuginfo] target(s) in 46m 51s.cargo test -p calternal-server:test result: ok. 85 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 39.95s(test-profile compile took 22m 07s).Parity finding on the resumed tree:
python3 scripts/parity_matrix.py --checkreturnedParity gaps changed; review them and run --accept-current-gaps. The composer’s send and provider-Drafts calls add web API operations whose CLI/MCP/WebMCP adapters were already recorded as open in the prior time-boxed report. I am regenerating the source-backed inventory so the exact route gaps are visible and checked rather than omitted.Contract/parity slice committed as
7ddf9537c(Record Mail composer parity gaps).packages/api-client/check-generated.sh: exit 0. The server OpenAPI command completed;openapi-typescript 7.13.0regeneratedpackages/api-client/src/generated.ts; the contract diff check passed with no generated source changes.python3 scripts/parity_matrix.py --check: passed. Output:Parity matrix: 190 web API actions, 113 shortcuts, 2 static commands, 135 menu actions, 30 settings groups, 172 actions with adapter gaps.mail_send,mail_save_draft, andmail_delete_draftas missing from CLI, MCP and WebMCP. This parity work remains open; the matrix makes the gap visible rather than counting the web-only routes as parity.Finding and fix: an accepted SMTP retry looked up its idempotency row only after credential decryption, so retrying with a rotated or unavailable credential returned HTTP 500 instead of the stored result. I reproduced this with the Mail route test after corrupting the stored ciphertext; it failed 500 vs 200. The route now checks the owner-scoped payload digest before provider work, while checking that the account remains enabled first. The regression test now passes and confirms the mock sender is called once.
Commit:
7db2b0b057. Gates:cargo fmt --check,cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings, andcargo test -p calternal-plugin-mailpassed; 43 passed, 0 failed.Finding: the production build crashes when the lazy Mail composer opens. Playwright reports
ReferenceError: Cannot access 'Q' before initializationin the composer chunk; the visible Compose action leaves no composer mounted. The instance creates its initial draft before initializing the derived enabled-account list, but the draft factory reads that list for its default account. I am moving the derived list before the initial draft state and will use the production screenshot flow as the regression check.Follow-up finding: once the composer mounted, autosave raised
DataCloneErrorbecausestructuredClonereceived Svelte$stateproxy arrays. This interrupted the form before recipient inputs became available. I replaced the structured clone with a small explicit copy of the draft and its recipient records; the production capture flow checks that the fields render and remain editable.Composer runtime fixes are committed as
dd4d720dc.structuredCloneon Svelte state with explicit plain copies for recipient arrays and quote data; this preserves autosave and recipient entry.bun run checkpassed with 0 errors and 0 warnings before this comment-only follow-up. The production Mail probe captured all requested Composer states at 390, 820 and 1440 px in light and dark themes. The run later stopped in the new-message screenshot helper on a duplicate title locator; I am correcting the probe separately.The real-server Mail adversarial round passed on the production web build. Commit:
2cbefa7da.The exact probe summary was:
Attached production screenshots cover 390, 820 and 1440 px in light and dark themes:
M3 action API slice is implemented on
job/mail-m3: owner-scoped Archive, Move and Trash requests now capture live UID identity, persist idempotency state and run through the JobQueue. The route tests cover queue/replay, changed-payload conflict, foreign-User status and stale-generation rejection. Mail plugin gates:cargo clippy -p calternal-plugin-mail --all-targets -- -D warningspassed;cargo test -p calternal-plugin-mailpassed (47 tests).Decision not specified in DESIGN: the worker uses IMAP
UID MOVEas the only provider mutation. If the server does not advertise MOVE, the durable action becomes failed. I chose this because a COPY+EXPUNGE fallback cannot make replay safe after an interrupted request.Action API slice committed:
9932353d5120c7bb3c85d99b846e1e77968a4171(feat(mail): queue idempotent folder actions). The Mail plugin clippy gate passed and all 47 Mail plugin tests passed. The action request row captures owner, source generation, UIDVALIDITY and UID; the worker rechecks them under the shared per-account sync lock before atomic UID MOVE.Per-message Archive, Move to, and Move to Trash are now exposed in both the message overflow menu and the page action menu. Move destinations come from selectable folders on the message's account. Touch/pen swipes archive left and copy the stable message link right. The UI polls the durable action state and refreshes only after completion.
Commit:
06aba445334ca5f0aa82f484229ac35d1597ba74(feat(mail): expose per-message folder actions). Web check passed with 0 errors and 0 warnings. Full Vitest run: 138 files and 889 tests passed. IsolatedSidebarSectionHeaderandStatRow: 2 files and 17 tests passed. The action menu and destination submenu are added to the 390/820/1440 light/dark production capture flow; final real-server captures are pending.Flag/Unflag and Junk/Not junk are committed:
7028263e9c9f6a2d638e432b8362730f045ba8d9(feat(mail): queue flag and junk actions). The action table accepts these variants. Flag changes use idempotent UID STORE and update the live projection; Junk moves to the selectable Junk folder, and Not junk is available only for a message in Junk and moves it to Inbox. The action menu and destination submenu captures now include these actions.Mail plugin gates:
cargo fmt --checkpassed;cargo clippy -p calternal-plugin-mail --all-targets -- -D warningspassed;cargo test -p calternal-plugin-mailpassed (49 tests). The new route test confirmed Flag queues against the existing source folder. The IMAP test confirmed the provider command isUID STORE 17 +FLAGS.SILENT (\\Flagged).Action backend slice committed as
d143c3de1(feat(mail): queue reversible provider actions).POST /actions/{request_id}/undo, one inverse per original action, replay-safe request IDs, and generation/UID capture after sync confirms the current folder membership.u32::MAXattempts so transient provider outages do not dead-letter accepted work. An Undo submitted while its original is pending waits for that action and sync to finish.0011_action_undo.sqlmigration stores the inverse identity. The private-action probe fixture now seeds a second User's request.Gate output:
cargo fmt --check: exit 0, no output.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings: exit 0;Finisheddevprofile [unoptimized + debuginfo] target(s) in 2m 36s.cargo test -p calternal-plugin-mail:test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s.Decision not stated in DESIGN §45: Undo remains a queued inverse when the original action is still pending; the worker resolves the message's current provider UID after sync. One original action can have one Undo request. OpenAPI generation and the web contract/UI commit are in progress; final merged-tree gates, screenshots, and the adversarial round remain pending.
The API contract and Mail UI are committed:
578d00a2b(build(api-client): expose reversible Mail actions) adds the Undo endpoint and Mark read/unread enum variants to OpenAPI and the generated client.9db34a83f(feat(mail): add undo controls to message actions) adds Undo toast actions for reversible message operations and extends the real-server probe and production capture harness.Web check output:
The production screenshots for the action menus and Undo toast, final merged-tree gates, and the one real-server adversarial round remain pending. The composer, recipient, saved draft and send-error screenshots were attached earlier and are not being repeated.
Mail M3 parity inventory follow-up (#397): committed
60eea6254cb5d55c6262e764d8bab6eb8041daccafter theorigin/devmerge. The matrix now records the web-only gaps for folder actions, undo and action status. Check output:The check passes. The generated contract check also exits 0 on the merged tree. Rust gates, isolated timeout reruns, production screenshots and the single real-server adversarial round are still in progress.
Production screenshot evidence from the merged Mail M3 tree. Each full-resolution sheet keeps the 10 captured states at the viewport's native width: new, reply and forward composer; recipient chips; saved draft; send error; message actions; move destinations; Undo; and Not junk. Captures use the production web build and the real local API with test fixtures.
390 px, light:

390 px, dark:

820 px, light:

820 px, dark:

1440 px, light:

1440 px, dark:

Mail M3 continuation — final report
Branch:
job/mail-m3Head:
60eea6254cb5d55c6262e764d8bab6eb8041dacc(docs(parity): record Mail action gaps)Built
Gates
cargo fmt --check: exit 0, no output.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings:cargo test -p calternal-plugin-mail:cargo clippy -p calternal-server --all-targets -- -D warnings:cargo test -p calternal-server:bash packages/api-client/check-generated.shexited 0 with no diff:python3 scripts/parity_matrix.py --check:bun run check:Full
bun run test:The timed-out test was
MailSection.svelte.test.ts(“keeps provider connection details behind Advanced”). Isolated reruns:The production
bun run buildexited 0 (✓ built in 1m 5s). It emitted existing module-level"use client"bundler warnings. The real-server Mail adversarial round passed:The probe also asserted 413 for oversized draft and send bodies. The fixture uses fake provider credentials and does not contact an external IMAP/SMTP server.
cargo cleanoutput:The web build output was deleted. The worktree is clean.
Known gaps
The job has passed its four-hour time box, so I stopped after the ordered action slice. The next decided DESIGN §45 slices are Remind me (linked Task and due notification), invite clash checks and explicit iMIP replies, Save as formats, and Share. The provider Drafts save path is present; fetching provider-created or cross-device Drafts remains incomplete. Per-app Notes signatures with account defaults and per-draft switching are also still missing; that gap was recorded earlier on #397. Reply branches/forks remain OPEN in DESIGN and were not built.
The action-state adapters remain Web-only; the parity matrix records the CLI/MCP gaps.
Decisions not stated in DESIGN
u32::MAXattempts so a transient provider outage does not dead-letter the user's request.No push, deploy or merge was performed.
Starting the #397 composer polish round on
job/mail-m3, at base60eea6254cb5d55c6262e764d8bab6eb8041dacc. I am reading the Mail and Chrome design decisions, then I will update the composer and verify the real production build at 390, 820 and 1440 px in both themes.Finding: the current composer uses a native From select, always shows empty Cc and Bcc rows, wraps the Mail editor in a bordered grey frame, and renders text pills for format and discard. Its existing correspondent list comes from recent indexed Mail messages and feeds a native address datalist. The Mail preferences API currently stores only read marking; this repository has no Contacts API. I will use the shared Select, keep the existing correspondent data, and add cross-Installation account preferences for compose format and signature Note identity through the existing owner-scoped Mail preferences boundary. Contacts suggestions will join when that service exists.
Finding while completing #397: the Mail send and provider-draft contracts have no attachment field, and the SMTP builder only sends text/HTML alternatives under its current size cap. I kept the paperclip action visible with a warm “Attachments are not available yet” tooltip and
aria-disabled, instead of opening a file picker whose selection could not be saved or sent. This job does not expand Mail attachment transport.Choices not stated by DESIGN §45: new accounts start in rich mode; later rich/plain choices are stored per account. Mail stores the owner-scoped Signature Note ID and reads the Note body through Notes; the draft stores a copy of that body so its sent text stays stable if the Note changes later.
#397 finished: Mail composer polish
Branch:
job/mail-m3Head:
79069a69cb9a9349ac713644e556032389626629Built
CtrlandEnterkeycaps in its tooltip.Decisions where DESIGN §45 was silent
aria-disabledand an availability tooltip until that contract exists.Known gaps
Performance
The perf VM was unreachable, so this is a local run on
calternal-dev, at 4× CPU throttle. Host load was35.32, 37.45, 32.02before and35.10, 36.34, 32.26after. The nearest baseline row isopen_composer: p50185 ms, p95349 msover 15 samples onperf-test, whose load before the run was0.15, 0.39, 1.03. That baseline is not Mail-specific and the host load differs, so these results do not establish a regression.1890.1/2765.1 ms, browser CPU109%, RSS508,248,064 B; 1440px582.9/3539.6 ms, CPU197.8%, RSS610,934,784 B.972.5 ms. Signature menu average p50/p95672.7/2922.5 ms, CPU203.3%, RSS656,478,208 B.1979.2/4754.5 ms, CPU121.1%, peak browser RSS703,508,480 B.4.11%, peak CPU92.54%, peak RSS216,539,136 B.Production screenshots
Send shortcut tooltip:
The icon/label pair and recipient chip were zoom-checked. Screenshots use the production SPA and authenticated local server with E2E Mail and Notes fixtures. Screenshots are attached here and are not committed.
Gates
cargo fmt --checkpassed with exit 0 and no output.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings:cargo test -p calternal-plugin-mail:cargo clippy -p calternal-server --all-targets -- -D warnings:cargo test -p calternal-server:bun run check:bun run test:Requested timed-out file rerun alone,
bun run test -- src/routes/settings/mail/MailSection.svelte.test.ts:bash packages/api-client/check-generated.shpassed with exit 0 and no output.PYTHONDONTWRITEBYTECODE=1 python3 -m unittest bench.test_record:Production build:
Real-server adversarial probe:
cargo cleancompleted:The web build output was removed after verification. No push, deploy, merge into
dev, or issue close was performed.Starting the #397 polish pass on branch
job/mail-m3.Base SHA:
aa372eef6c9312403f59a65d5b90cb3648ff52ed(origin/dev). Current HEAD:79069a69cb9a9349ac713644e556032389626629.Evidence for #397: the first production E2E found that the blank Mail editor rendered
<p><br class="ProseMirror-trailingBreak"></p>without.is-editor-empty. The Mail profile returned its own extension list and omittedEmptyBlockHints, even though the shared profile registered it. Added that existing presentation-only extension to the Mail profile; this preserves the portable message schema and enables the requested body placeholder. The E2E now checks the actual pseudo-element content.Evidence for #397: the production E2E's phone geometry check found that the title box shifted left when the title and long offline status were centered as one flex group. The shared sheet header now centers the title in its own grid track and keeps the status directly beside it. The production E2E verifies the title center within one CSS pixel at 390 px.
Finding: the offline reconnect handler returned early when the draft already had a provider copy. After an offline period, the UI therefore kept showing “Saved on this device” even though provider Drafts still contained the saved copy. The handler now restores “Saved” for that case, and the composer E2E exercises both local-to-provider save and a second offline/online cycle. The phone sheet title also uses an independent centered heading track while its save status sits beside it, preserving the shared sticky title geometry.
Gate finding: the final
bun run testrun had 140/141 files and 915/916 tests pass. The unrelatedsrc/lib/date-formatting.test.tsrecursive source scan exceeded its 5s test timeout (Vitest reported 9.85s); its assertions did not report a formatting violation. The host load average after that run was 28.65 / 26.65 / 26.81. I did not change the test or its timeout. I am recording this as an environment-sensitive gate failure.Finished #397 polish on
job/mail-m3.Head SHA:
73aa6705d(merge oforigin/devis included; no push or deploy).Built
Files:
apps/web/src/lib/mail/MailComposer.svelte,apps/web/src/lib/mail/MailRecipients.svelte,packages/editor/src/extensions.ts,packages/ui/src/components/OverlaySurface.svelte,apps/web/e2e/mail-composer-397-perf.mjs.Decisions
OverlaySurfaceso Mail can place save state beside the phone heading without shifting its center.Screenshots attached
Full production screenshots:
Native 3× crops of the header and field rows:
Gates
cargo fmt --checkexited 0 with no output.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings:cargo test -p calternal-plugin-mail:bun run check:bun run testexited 1. Exact summary:The timed-out test is an unrelated recursive source scan; it reported no formatting violation. The host load average after the run was
28.65 / 26.65 / 26.81. I did not change its expectation or timeout.Production build completed with
Wrote site to "build"and✔ done.The
mail-composer-397-perf.mjsproduction E2E exited 0. Verbatim run summary:cargo clean:Removed 10742 files, 5.6GiB total. Web build output was removed.Performance
Local
calternal-dev, CPU throttle 4, 50 inbox rows, 40 correspondents and 100 signature Notes; load average moved from24.93 / 26.06 / 26.59to31.24 / 27.56 / 27.04.open_composer: 185 / 349 ms, 15 samplesThe baseline is from quiet
perf-test(load_average_before0.15 / 0.39 / 1.03); this local run was heavily loaded, and its composer workload is not a direct match. Treat the timing comparison as directional only.Known gap: one unrelated
bun run testtimeout remains; all other requested gates and the production E2E passed.Starting polish round 3 for #397 on branch
job/mail-m3.Starting HEAD:
73aa6705d4ed59599db618abe3612ac8a7374a44Base (
origin/devmerge base):15e17aeafc8ea160c109e62fba57f6961c39d21fI am tracing the Mail composer header and shared sheet header before making the requested fixes.
Finding from the pre-fix production e2e:
CALTERNAL_SERVER_BIN="$CARGO_TARGET_DIR/debug/calternal-server" bun e2e/mail-composer-397-perf.mjsfailed at 1440 px withAssertionError: 1440px puts draft actions in the trailing header.The cause is in
apps/web/src/lib/mail/MailComposer.svelte: Copy link has a separate desktop button, while New draft and phone Copy link are rendered in.draft-deck-actionsabove the From field. The phone title accessory also receives the longdraftSaveLabelin the shared header's side slot. I will keepOverlaySurfaceas the shared sheet header and make the focused composer changes there.Correction to my previous e2e note: its first menu assertion ran on an untouched blank draft, where draft actions are correctly absent. I fixed the fixture to create local draft content before checking these actions.
The corrected production e2e now gives two valid pre-fix failures:
Saved on this deviceinstead of the requiredOffline · saved here.Both follow the source layout recorded above. I am proceeding with the focused composer change.
Finished — Mail M3 polish round 3
Built
OverlaySurfacesheet header. Its shared sticky chrome andProgressiveBlurremain owned by that component, so the composer inherits the #530 fix when it merges.Issue attachments
Files and commit
apps/web/src/lib/mail/MailComposer.svelteapps/web/e2e/mail-composer-397-perf.mjsa1fd501db9659fb3eb35c3a4c8025c58c99fab09(Move Mail draft actions into header menu)Gates
bun run checkoutput:bun run testfinal output:The Vitest run also printed these non-failing JSDOM messages (the scroll message repeated):
The #397 production E2E profile exited 0 and saved captures under
artifacts/mail-m3-round3. It checked 390, 820, and 1440 px, light and dark, and the phone save-state transitions. The current local profile measured 390 px composer open at p50/p95 2109.3/3599.9 ms (browser CPU 96.7%, RSS 478,060,544 B) and 1440 px at 2463.7/3642.2 ms (CPU 108.5%, RSS 600,358,912 B). The 100-note signature-menu 10-open burst measured p50/p95 2563.5/4455.5 ms, CPU 136.1%, peak browser RSS 711,208,960 B.For comparison,
docs/perf/baseline.jsonhas the genericopen_composer.visible_msbaseline at p50/p95 185/349 ms (15 samples), not this profile's 4× CPU-throttled workload. This local run had load average 35.66/32.53/30.28 before and 47.02/42.26/34.93 after; treat the figures as noisy local evidence, not a direct regression delta. The repo Playwright harness was used because the Browser plugin was not available.Known gaps and decisions
OverlaySurfacefor the shared sheet header and only adjusted the composer accessory's phone grid placement. I did not fork the shared header or itsProgressiveBlurtreatment.Draft actionsis the accessible menu name; the menu keeps the prior action availability conditions.Cargo outputs were cleaned and
apps/web/buildplus.svelte-kit/outputwere removed after verification. No Rust files changed, so Rust crate gates were not applicable.Round 4 started on branch
job/mail-m3, based atcc25c441b7a974185622a1dee853cf38686d2b67(current head at start:a1fd501db9659fb3eb35c3a4c8025c58c99fab09). I am tracing the composer profile chip and phone header menu before making the small fixes.Finding from Round 4 inspection: the “Mail composer profile / morgan0@example.test” card came from the e2e profile’s persisted draft.
captureVisualEvidencecopied that Mail draft in PlaywrightstorageState, so the screenshot session rendered it as a Saved drafts card. It is a test fixture leak, not a linked profile/contact card or pasted-link preview; the Mail draft deck in DESIGN §45 remains unchanged. The screenshot clone now removes only the profile’scalternal.mail-drafts.v1:local-storage entries.The phone ⋯ action was hidden when the draft was blank because the trigger depended on draft content. The header now keeps the action visible; the menu always offers New draft. The e2e checks the blank composer at 390 px, the warm tooltip, and a 44 px touch target.
Round 4 e2e visual evidence (2026-10-01). Full production screenshots cover 390, 820, and 1440 px in light (
paper) and dark (midnight). Header and field crops use native 3× device scale. The attached profile JSON records the local performance run.Full composer views
390 px
820 px
1440 px
Native 3× crops
Phone header: light, dark. Phone fields: light, dark.
Desktop header: light, dark. Desktop fields: light, dark.
Performance profile JSON
Round 4 complete — Forgejo #397
Branch:
job/mail-m3Head:
8922a129b49a1dd71bf7009ed1147694c1ff7c05Feature commit:
8922a129b49a1dd71bf7009ed1147694c1ff7c05— Keep Mail draft actions available on phones.Changes
calternal.mail-drafts.v1:entries only from the cloned screenshot session and checks that no unrelated Saved drafts card appears there.storageState. It was test fixture leakage, not a contact/profile card or pasted-link preview. DESIGN §45 names the Composer's draft deck as the place for saved drafts; that deck remains available for real saved drafts. The leaked fixture card is absent from the new screenshots.profile.jsonare attached in the Round 4 artifact comment. Local copies are inartifacts/mail-m3-round4/(six full views for 390/820/1440 px in paper/midnight, eight native 3× crops, and the profile JSON). The staleartifacts/mail-m3/mail-composer-*files were removed.Files
apps/web/src/lib/mail/MailComposer.svelteapps/web/e2e/mail-composer-397-perf.mjscrates/plugins/mail/src/imap.rs— conflict resolution while syncingorigin/dev; this preserves the upstream explicit rustls provider selection and the branch'spub(crate)helper needed bysmtp.rs.Performance profile
The existing Mail composer profile ran once locally on
calternal-devwith 4× CPU throttling. Load average was 28.56/26.16/27.99 before and 19.91/24.01/27.00 after. Composer-open results were 390 px p50/p95 715.2/902.5 ms and 1440 px 454.4/3056.8 ms (six samples each). The baseline indocs/perf/baseline.jsonis 185/349 ms (15 samples) onperf-testat 4× throttle, with load average 0.15/0.39/1.03 before and 3.34/1.93/1.51 after. The local run had much higher host load, so it is inconclusive as a regression comparison. The 100-note signature menu measured p50/p95 1013.3/1531.2 ms over six opens and 621.9/1370 ms over the ten-open burst; there is no signature-menu baseline.Gates
cargo fmt --checkexited 0 with empty output.cargo clippy -p calternal-plugin-mail --all-targets -- -D warnings:cargo test -p calternal-plugin-mail:cargo clippy -p calternal-server --all-targets -- -D warnings:cargo test -p calternal-serverhad one timeout failure:The nested wire test timed out waiting for the archival worker after the delete endpoint returned
202 Accepted; I did not change the expectation or rerun it. The shared host had load average 24.52 during the slow server link.bun run check:bun run test:The #397 e2e exited 0. It captured all requested widths and themes and passed the fixture-card and phone-menu assertions.
cargo cleanremoved 15,412 files (7.8 GiB);apps/web/buildandapps/web/.svelte-kitwere removed.Decisions and sync note
DESIGN §45 does not state whether the ⋯ menu stays visible for an empty draft. I kept the menu visible and made New draft unconditional; Copy link remains conditional on draft content. The visual-session storage filter is limited to Mail draft keys for the e2e profile.
I fetched and merged
origin/devonce before the gates in merge commit56f716706ea797477118b8555580f26e8c604d52(the merged tip was4dc9ca394dfef2587b0833a1a59e256349591bed). The shared localorigin/devtracking ref has since advanced to9c50871eda199ed69ef2fe3af8b44bec1bc5ebd5; status now shows 36 ahead and 318 behind. I did not repeat the fetch/merge. No push or deploy was made.