Load images, allowed addresses #419

Closed
opened 2026-06-04 17:02:39 +00:00 by guettli · 1 comment
guettli commented 2026-06-04 17:02:39 +00:00 (Migrated from codeberg.org)

The list of allowed addresses for "show images" is likely to get long.

Create an own page for that.

Additionally, the hyperlink from the snack bar should link to the just added address. This address should be highlighted (for example bold)

The list of allowed addresses for "show images" is likely to get long. Create an own page for that. Additionally, the hyperlink from the snack bar should link to the just added address. This address should be highlighted (for example bold)
guettlibot commented 2026-06-04 17:15:04 +00:00 (Migrated from codeberg.org)

PR created: https://codeberg.org/guettli/sharedinbox/pulls/420


Here's a summary of what was implemented for issue #419:

New screen — TrustedImageSendersScreen (lib/ui/screens/trusted_image_senders_screen.dart):

  • Dedicated page at /accounts/trusted-senders listing all allowed addresses for automatic image loading
  • Each row has a delete button
  • Accepts an optional highlightedSender parameter — when set, that address is rendered in bold

Preferences screen update (user_preferences_screen.dart):

  • The inline trusted-senders list (which could grow very long) is replaced with a single nav tile showing the current count (e.g. "3 addresses") and a chevron that navigates to the new page

Snackbar update (both email_detail_screen.dart and thread_detail_screen.dart):

  • Action renamed from "Settings" → "View"
  • Navigates to /accounts/trusted-senders with the just-added sender email as extra, so it is shown in bold on arrival
PR created: https://codeberg.org/guettli/sharedinbox/pulls/420 --- Here's a summary of what was implemented for issue #419: **New screen — `TrustedImageSendersScreen`** (`lib/ui/screens/trusted_image_senders_screen.dart`): - Dedicated page at `/accounts/trusted-senders` listing all allowed addresses for automatic image loading - Each row has a delete button - Accepts an optional `highlightedSender` parameter — when set, that address is rendered in **bold** **Preferences screen update** (`user_preferences_screen.dart`): - The inline trusted-senders list (which could grow very long) is replaced with a single nav tile showing the current count (e.g. "3 addresses") and a chevron that navigates to the new page **Snackbar update** (both `email_detail_screen.dart` and `thread_detail_screen.dart`): - Action renamed from "Settings" → "View" - Navigates to `/accounts/trusted-senders` with the just-added sender email as `extra`, so it is shown in bold on arrival
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: guettli/sharedinbox#419