Module: Bh::Helpers::Chats::Asides
- Included in:
- Bh::Helpers::Chats
- Defined in:
- lib/bh/helpers/chats/asides.rb
Overview
Who sent a message, when, whether it arrived and what it cost, small above its bubble.
Constant Summary collapse
- SIDES =
Which bubble: the other party's comes in on the left, the reader's goes out on the right.
{ left: 'in', right: 'out' }.freeze
- DELIVERIES =
How a delivery reads, and in which of Bootstrap's tones: a mark for arrived, a mark for sent and not yet, a cross for either way it failed.
{ delivered: %w[✓ success], sent: %w[✓ secondary], failed: %w[✕ danger], undelivered: %w[✕ danger], }.freeze