signal-desktop/ts/components/conversation/MessageBody.md
Scott Nonnenberg 8c4d90df07 Send long text as an attachment instead of inline
Remove Android length warning

Handle incoming long message attachments

Show long download pending status in message bubble

Fix the width of the smallest spinner

Remove Android length warning from HTML templates
2019-03-14 17:30:46 -07:00

1.2 KiB

<MessageBody
  text="Fire 🔥 http://somewhere.com\nSecond Line"
  i18n={util.i18n}
/>

Jumbo emoji

<MessageBody text="🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥" i18n={util.i18n} />
<MessageBody text="🔥 text disables jumbomoji" i18n={util.i18n} />

Jumbomoji disabled

<MessageBody text="🔥" disableJumbomoji={true} i18n={util.i18n} />
<MessageBody text="http://somewhere.com" disableLinks={true} i18n={util.i18n} />
<MessageBody text="http://somewhere.com?s=🔥\nCool, huh?" i18n={util.i18n} />

Text pending

<MessageBody
  text="http://somewhere.com?s=🔥\nCool, huh?"
  textPending={true}
  i18n={util.i18n}
/>
<MessageBody
  text="http://somewhere.com?s=🔥\nCool, huh?"
  textPending={true}
  disableLinks={true}
  i18n={util.i18n}
/>