184-message-truncation #186

Merged
hodlbod merged 3 commits from priyanshu_bharti/flotilla:184-message-truncation into dev 2026-04-10 16:37:24 +00:00
Contributor

Summary

This PR addresses #184 by increasing chat message truncation thresholds in room messages.
Long messages were being truncated too early with a See more button, which made normal reading annoying.

Changes

  1. Increased room-message truncation limits to:
    • minLength: 5000
    • maxLength: 5500
  2. Applied these limits consistently in both room message render paths:
    • linked room item view
    • inline/mobile room item view
  3. Kept default truncation behavior unchanged outside room chat scope.

Why

Issue #184 requested a much higher truncation threshold (around 5k) because early truncation is more annoying than helpful in chat.

Validation

  1. Lint passed.
  2. Type/check passed.
  3. Manual behavior verified:
    • messages below threshold render fully
    • very long messages still show See more/Read more as expected

Issue

Closes #184

## Summary This PR addresses #184 by increasing chat message truncation thresholds in room messages. Long messages were being truncated too early with a See more button, which made normal reading annoying. ## Changes 1. Increased room-message truncation limits to: - minLength: 5000 - maxLength: 5500 2. Applied these limits consistently in both room message render paths: - linked room item view - inline/mobile room item view 3. Kept default truncation behavior unchanged outside room chat scope. ## Why Issue #184 requested a much higher truncation threshold (around 5k) because early truncation is more annoying than helpful in chat. ## Validation 1. Lint passed. 2. Type/check passed. 3. Manual behavior verified: - messages below threshold render fully - very long messages still show See more/Read more as expected ## Issue Closes #184
hodlbod added 3 commits 2026-04-10 16:37:01 +00:00
hodlbod force-pushed 184-message-truncation from c0706f9027 to 1116e74dd1 2026-04-10 16:37:01 +00:00 Compare
hodlbod merged commit 85c5293082 into dev 2026-04-10 16:37:24 +00:00
hodlbod deleted branch 184-message-truncation 2026-04-10 16:37:24 +00:00
Sign in to join this conversation.