Files
grimoire/src
Claude 532fe2345a refactor: Only show relays where event hasn't been published yet
Remove redundant "Connected relays" section that showed relays where
the event was already seen. It doesn't make sense to republish to
relays that already have the event.

**Changes**:
- Filter myRelays to only show unpublished relays (not in seenRelays)
- Remove "Connected relays" section entirely
- Update button text: "Publish to all (N)" instead of "Publish to all my relays (N)"
- Better empty states:
  - "Sign in to republish events" when no account
  - "Already published to all your relays" when all relays have event
  - "No relays in your relay list" when user has no relays
- Update submenu disabled state to check unpublishedRelays length

**Result**: Cleaner UX that only shows actionable options. The feature
now correctly broadcasts events to relays that don't have them yet,
avoiding redundant network traffic.

Reduces code by 22 lines while improving functionality.
2026-01-14 11:37:13 +00:00
..
2026-01-13 17:16:31 +01:00
2026-01-13 17:16:31 +01:00
2026-01-13 17:16:31 +01:00
2026-01-13 17:16:31 +01:00