Skip to content

feat: SMS entity — preview card, detail page, storybook#264

Merged
butschster merged 1 commit intomasterfrom
feature/sms-gateway
Mar 28, 2026
Merged

feat: SMS entity — preview card, detail page, storybook#264
butschster merged 1 commit intomasterfrom
feature/sms-gateway

Conversation

@butschster
Copy link
Copy Markdown
Member

@butschster butschster commented Mar 28, 2026

Summary

  • Add sms entity with full UI for SMS Gateway Interceptor
  • Preview card: from → to pill flow, gateway badge (colored per provider), message preview, validation warnings
  • Detail page: metadata table, full message body, validation warnings section (red banner with missing fields)
  • Storybook stories for all variants: Twilio, Vonage, Generic, TwilioWithWarnings, VonageWithWarnings
  • SMS icon in sidebar, event type color: fuchsia
  • Updated event type colors for better contrast: Inspector=lime, VarDump=sky
  • Registered in event-card-mapper and event-page-mapper
  • Added to PAGES_SETTINGS, initialCachedIds, EventTypes enum

Related

Test plan

  • TypeScript compiles with zero errors
  • Storybook stories render correctly
  • Manual test: verify SMS events display in UI with correct gateway badges and warnings

🤖 Generated with Claude Code

- SmsPayload type with optional warnings field
- Normalizer, composable (useSms), barrel exports
- Preview card: from → to pills, gateway badge, warnings display
- Detail page: metadata table, message body, validation warnings section
- Storybook stories for all variants including error states
- SMS icon (sms.svg), sidebar entry, event type color (fuchsia)
- Registered in event-card-mapper and event-page-mapper
- Updated event type colors: Inspector=lime, VarDump=sky
- 5 mocks: Twilio, Vonage, Generic, TwilioWarnings, VonageWarnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@butschster butschster requested a review from Kreezag March 28, 2026 15:28
@butschster butschster self-assigned this Mar 28, 2026
@butschster butschster moved this to Done in Buggregator Mar 28, 2026
@butschster butschster merged commit 1248372 into master Mar 28, 2026
3 checks passed
@butschster butschster deleted the feature/sms-gateway branch March 28, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant