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
This commit is contained in:
Scott Nonnenberg
2019-03-13 13:38:28 -07:00
parent 0e5f405b53
commit 8c4d90df07
20 changed files with 303 additions and 140 deletions

View File

@@ -36,13 +36,13 @@
### Jumbomoji disabled
```jsx
<MessageBody text="🔥" disableJumbomoji i18n={util.i18n} />
<MessageBody text="🔥" disableJumbomoji={true} i18n={util.i18n} />
```
### Links disabled
```jsx
<MessageBody text="http://somewhere.com" disableLinks i18n={util.i18n} />
<MessageBody text="http://somewhere.com" disableLinks={true} i18n={util.i18n} />
```
### Emoji in link
@@ -50,3 +50,24 @@
```jsx
<MessageBody text="http://somewhere.com?s=🔥\nCool, huh?" i18n={util.i18n} />
```
### Text pending
```jsx
<MessageBody
text="http://somewhere.com?s=🔥\nCool, huh?"
textPending={true}
i18n={util.i18n}
/>
```
### Text pending, disable links
```jsx
<MessageBody
text="http://somewhere.com?s=🔥\nCool, huh?"
textPending={true}
disableLinks={true}
i18n={util.i18n}
/>
```