Commit Graph

20 Commits (a17487606fd09a46c7fa45d48ea8d885060db887)

Author SHA1 Message Date
Michaili K 88c9775e23
Create separate ImageFile component for image attachments 2021-08-15 18:53:42 +02:00
Michaili K 1b4d1e73df
Add (basic implementation of) background for loading images 2021-08-15 12:59:00 +02:00
Paul 4abf98adcb Bump revolt.js to fix objects not being properly updated.
Also don't re-fetch members on each message.
Add cursor: pointer to attachment images upon request.
Use client message cache for replies.
2021-08-15 09:58:22 +01:00
Paul 6d5fb0a8a3 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul ef5944b065 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul 9846262e8b Fix attachment scaling. 2021-07-10 15:21:35 +01:00
bree c1dc2b9a1d
Fix: image attachments not having minimum width 2021-07-09 11:09:55 -04:00
bree 362e7452fe
Fix: attatchment sizing on chrome when unloaded 2021-07-08 18:17:59 -04:00
bree eb7b915edb
Fix: max-width for other attachment types 2021-07-08 10:32:05 -04:00
bree 59a5d2e752
small fix for attachment width 2021-07-08 10:26:46 -04:00
bree f0397f8af8
remove content jumping when loading image and video attachments 2021-07-08 10:22:42 -04:00
Paul 197ba53c60 Fix: Spoilers would not toggle.
Hook events into Markdown render using ref.
2021-07-07 12:45:55 +01:00
Paul 7b9766cb0b Fix: Use minHeight.
Temporary change: Prevent TextFile from loading large content.
Fixes #1: File preview failing with JSON files.
Add a way to open text files in new tab.
2021-07-06 14:58:54 +01:00
nizune aebcf2875a Fixed sessions entries to work with RTL 2021-07-06 15:33:26 +02:00
bree 02bbf78dcd
Fix: attachment scaling and better image scaling
- attachment scaling now works for all forms of attachments
- switched to grid based action bar
- added onLoad class so image proportions are "trimmed" once the image has loaded to avoid moving the view around before loading
  - this may be possible to remove at some point
2021-07-05 04:32:05 -04:00
insert fbad5aef92 Merge branch 'images' into 'master'
replace js image scaling with css for message attatchments

See merge request revolt/revite!3
2021-07-04 17:53:55 +00:00
Paul 1c80d5675f Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
bree b4294359a1
Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
bree 036e9a330a
replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
Paul d1bff98635 Port attachments and embeds. 2021-06-20 22:09:18 +01:00