Skip to content

feat: Solid Cable channel browser#59

Merged
eclectic-coding merged 1 commit into
mainfrom
feat/cable-channel-browser
May 26, 2026
Merged

feat: Solid Cable channel browser#59
eclectic-coding merged 1 commit into
mainfrom
feat/cable-channel-browser

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • GET /cable now lists all distinct channels with per-channel message count and last-message timestamp, ordered by most recent activity
  • Total messages and channel count shown as stat cards at the top
  • Empty state rendered when no messages exist
  • Cable subnav (Overview) added to the layout
  • Fixes SQLite datetime string-casting bug (MAX(created_at) returned as String from pluck — explicitly parsed via Time.zone.parse)
  • Adds ActiveSupport::Testing::TimeHelpers to RSpec config so travel is available in all specs

Test plan

  • 8 cable request specs all pass (bundle exec rspec spec/requests/solid_stack_web/cable_spec.rb)
  • Full suite passes: 232 examples, 0 failures (bundle exec rake)
  • Rubocop clean

Closes #30

🤖 Generated with Claude Code

Adds a channel list to GET /cable showing per-channel message count and
last-message time, ordered by most recent activity; fixes SQLite
datetime string-casting via pluck+map; includes empty state; adds
ActiveSupport::Testing::TimeHelpers to RSpec config for travel helper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit e121f9d into main May 26, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/cable-channel-browser branch May 26, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v0.6.0] Cable: message search

1 participant