Resolve notification formatter open questions #15

Closed
opened 2026-06-23 23:15:20 +00:00 by rbrooks · 2 comments
Owner

Target release: v1.2.0

Decide the open formatting/link questions before/with the formatter migration:

  • Shorten external official URLs, or only internal WeatherBot pages/media routes?
  • Default per-channel budgets, and should admins override them per channel?
  • Preserve multiple links in rich notifications, or converge most products on one primary "Details" link?

Source: docs/ROADMAP.md → Notification Message Budget and Compact Link System → Open questions.

**Target release:** v1.2.0 Decide the open formatting/link questions before/with the formatter migration: - [ ] Shorten external official URLs, or only internal WeatherBot pages/media routes? - [ ] Default per-channel budgets, and should admins override them per channel? - [ ] Preserve multiple links in rich notifications, or converge most products on one primary "Details" link? Source: `docs/ROADMAP.md` → Notification Message Budget and Compact Link System → Open questions.
Contributor

Decisions (resolving the open formatter questions)

Picking these up with the #14 migration. Decisions:

  1. Shorten only internal WeatherBot page/media URLs. External official/weather URLs pass through unchanged unless explicitly allowlisted — no generic open redirect (aligns with the #13 redirect-token security stance).
  2. Type-level per-channel budgets with sensible defaults (SMS segment-aware ~140/GSM-7; richer channels larger per-type profiles). No per-channel-instance admin override for now — keep the surface small; revisit if a real need appears.
  3. Converge on one primary "Details" link in a predictable place per notification, rather than preserving multiple links — simpler and budget-friendly, matching #14's acceptance ("compact Details link in a predictable place").

These feed the #14 formatter migration and the #13 short-link work.

## Decisions (resolving the open formatter questions) Picking these up with the #14 migration. Decisions: 1. **Shorten only internal WeatherBot page/media URLs.** External official/weather URLs pass through unchanged unless explicitly allowlisted — no generic open redirect (aligns with the #13 redirect-token security stance). 2. **Type-level per-channel budgets with sensible defaults** (SMS segment-aware ~140/GSM-7; richer channels larger per-type profiles). **No per-channel-instance admin override for now** — keep the surface small; revisit if a real need appears. 3. **Converge on one primary "Details" link** in a predictable place per notification, rather than preserving multiple links — simpler and budget-friendly, matching #14's acceptance ("compact Details link in a predictable place"). These feed the #14 formatter migration and the #13 short-link work.
Contributor

Resolved and implemented in #99 (merged). Decisions: (1) shorten only internal WeatherBot URLs, external passthrough unless allowlisted; (2) type-level per-channel budgets, no per-instance override; (3) one primary "Details" link in a predictable place. All three are realized by the #14 formatter migration and the #13 redirect-token links.

Resolved and implemented in #99 (merged). Decisions: (1) shorten only internal WeatherBot URLs, external passthrough unless allowlisted; (2) type-level per-channel budgets, no per-instance override; (3) one primary "Details" link in a predictable place. All three are realized by the #14 formatter migration and the #13 redirect-token links.
Sign in to join this conversation.
No project
No assignees
2 participants
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
rbrooks/WeatherBot#15
No description provided.