feat: add active relay subscriptions and outbox display to RelayInformationScreen

Adds a new section before Errors and Notices that shows live relay state:
- REQ subscriptions: each subscription card shows its ID and a visual
  breakdown of all active filters using colored chips by kind category
  (notes/social/DM/economic), author counts, tag values, and time bounds
- COUNT subscriptions: same display for count queries
- Pending outbox events: chip list of event IDs awaiting delivery

Filter chips use Material3 color roles to indicate kind categories:
primaryContainer for text events (note/repost/reaction), secondaryContainer
for social/list events, tertiaryContainer for DMs/gift wraps, and
errorContainer for economic events (zap requests/receipts/NWC).

https://claude.ai/code/session_012zzv2j63ibraPNrQx8fGeu
This commit is contained in:
Claude
2026-03-01 16:32:41 +00:00
parent 678a97d01b
commit ce56f49369
2 changed files with 370 additions and 0 deletions
+11
View File
@@ -792,6 +792,17 @@
<string name="terms_and_conditions">Terms &amp; Conditions</string>
<string name="not_available_acronym">N/A</string>
<string name="relay_error_messages">Errors and Notices from this Relay</string>
<string name="relay_active_subscriptions">Active Subscriptions</string>
<string name="relay_active_outbox">Pending Outbox Events</string>
<string name="relay_req_subscriptions">REQ Subscriptions (%1$d)</string>
<string name="relay_count_subscriptions">COUNT Subscriptions (%1$d)</string>
<string name="relay_outbox_events">Outbox Events (%1$d)</string>
<string name="relay_no_active_subscriptions">No active subscriptions for this relay</string>
<string name="relay_filter_authors">%1$d authors</string>
<string name="relay_filter_ids">%1$d ids</string>
<string name="relay_filter_since">since %1$s</string>
<string name="relay_filter_until">until %1$s</string>
<string name="relay_filter_limit">limit %1$d</string>
<string name="message_length">Message length</string>
<string name="subscriptions">Subscriptions</string>
<string name="filters">Filters</string>