mirror of
https://github.com/vernu/textbee.git
synced 2026-07-30 17:07:46 -04:00
Split app/(app)/dashboard/(components)/message-history.tsx into a message-history/ folder (import path unchanged via index.tsx): - sms-composer-dialog: one parameterized compose dialog replacing the near-duplicate ReplyDialog and FollowUpDialog (~300 lines of duplication) - sms-details-dialog, message-card (+skeleton), filters-bar, pagination, utils (timestamp/status badge), types - index.tsx is a slim container owning filter/pagination state, wired to new useSendSms and useDeviceMessages hooks in lib/api - design cleanups: off-palette sky gradient on the filters bar replaced with card tokens, bg-gray-* -> bg-muted, brand-tinted controls -> accent tokens, proper empty states with icons, subtle fade-in on cards Every module is now 26-240 lines. Build, 19 unit tests, and 5 e2e green (including the messaging history guard added before the refactor). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>