Compare commits

..
Author SHA1 Message Date
Thomas SharedInboxandClaude Sonnet 4.6 41f0e4e5d4 refactor(A2): extract shared EmailTile widget from search result lists
Introduce lib/ui/widgets/email_tile.dart with an EmailTile widget that
renders a flat email list tile (mail icon, sender, subject, optional
date and location line).

Replace the private _EmailTile class in search_screen.dart and the
inlined ListTile in email_list_screen._buildEmailList() with the shared
widget. Both screens now import EmailTile instead of duplicating the
same sender/subject/icon/date layout.

The widget accepts an optional leading override (for checkbox support
in selection mode) and a showLocation flag (for the global search screen
that appends accountId•mailboxPath under the subject).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 05:13:09 +02:00
+2 -8
View File
@@ -331,12 +331,6 @@ tasks:
cmds:
- fvm dart run scripts/check_coverage.dart
check-coverage:
desc: Run unit+widget tests with coverage, then fail if the gate is not met
deps: [test]
cmds:
- task: coverage
website-dev:
desc: Run Hugo development server
cmds:
@@ -367,8 +361,8 @@ tasks:
${SSH_USER}@${SSH_HOST}:public_html/
check-fast:
desc: Pre-commit checks — analyze + unit+widget tests + coverage gate (no build, no integration)
deps: [analyze, check-coverage, check-hygiene]
desc: Pre-commit checks — analyze + unit tests + widget tests (no build, no integration)
deps: [analyze, test, check-hygiene]
check-hygiene:
desc: Verify that no forbidden files (like home dir config) are tracked