tldraw/packages
Mitja Bezenšek adbb0e9b3b
Add a toast for file upload failures. (#4114)
Adds toasts for cases when the file type is not allowed or the file is
too big.

Resolves
https://github.com/orgs/tldraw/projects/53?pane=issue&itemId=70298205

### Change type

- [ ] `bugfix`
- [x] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`

### Test plan

1. Upload a file that is either too big (over 10mb) or of incorrect file
type (pdf, docx,...).
2. You should see a toast explaining what went wrong.

### Release notes

- Show a toast when uploading an unsupported file type or a file that is
too large (more than 10mb).
2024-07-09 13:05:31 +00:00
..
assets Update CHANGELOG.md [skip ci] 2024-06-25 13:27:57 +00:00
dotcom-shared Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
editor Flip images (#4113) 2024-07-09 11:01:03 +00:00
namespaced-tldraw Update CHANGELOG.md [skip ci] 2024-06-25 13:27:57 +00:00
state Update CHANGELOG.md [skip ci] 2024-06-25 13:27:57 +00:00
store Update CHANGELOG.md [skip ci] 2024-06-25 13:27:57 +00:00
sync put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
sync-react put sync stuff in bemo worker (#4060) 2024-07-03 14:10:54 +00:00
tldraw Add a toast for file upload failures. (#4114) 2024-07-09 13:05:31 +00:00
tlschema Flip images (#4113) 2024-07-09 11:01:03 +00:00
utils Initial bemo worker setup (#4017) 2024-07-01 11:35:23 +00:00
validate Demo server bookmark unfurl endpoint (#4062) 2024-07-03 10:48:34 +00:00
worker-shared introduce images.tldraw.xyz image optimisation worker (#4069) 2024-07-08 16:25:53 +00:00