Commit Graph

24 Commits (18243f020746265a113b4a5c33557154426170f3)

Author SHA1 Message Date
Paul Makles 18243f0207
chore: always target blank for download button 2025-01-29 13:41:54 +00:00
Declan Chidlow 7750276554
fix: remove /download from attachments (#1067) 2025-01-29 13:39:17 +00:00
Paul Makles 5f2311b09c feat: implement `useClient` from client controller 2022-06-28 19:59:58 +01:00
Paul Makles c2547b3ead feat(@ui): migrate icon button 2022-05-30 12:01:47 +01:00
Jan e9258d7c23
fix: #614 breaks in desktop client :trollface: (#616) 2022-05-08 22:17:36 +01:00
Jan 7345172271
fix: don't open new tab to download attachment (#614) 2022-05-08 21:53:07 +01:00
Paul Makles b2f4411850 feat: switch to revolt.js@6.0.0 + new revolt-api 2022-04-09 15:47:04 +01:00
trashtemp 6aaabb4815
fix(app): font sizing, better system msgs 2022-01-13 22:31:35 +01:00
Paul Makles 0609b40f81 fix: assume attachment URL is volatile 2022-01-04 13:40:52 +00:00
Paul 4c9554c5e9 Zero error milestone. 2021-07-30 22:40:49 +01:00
Paul 7586b365fe Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul 9846262e8b Fix attachment scaling. 2021-07-10 15:21:35 +01:00
Paul 67d3fb35a4 Format code. 2021-07-06 19:29:27 +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
Paul b5a11d5c8f Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul 7bd33d8d34 Run prettier on all files. 2021-07-05 11:23:23 +01:00
insert c4b9950514 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00: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
bree e070f26bda
Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree a4051330a3
remove most uses of `as any` in typescript
- replaced many uses of `as any` with another more specific cast `as T`
- filled in missing typed for items that needed to be typed
  - new runtime code was added where necessary to satisfy the new types with comments
- added missing theme variable "sidebar-active" to the Theme variables
- forms using `react-hook-form` are now typechecked
- changed some instances of `target` into `currentTarget` while removing `as any` assertions
2021-07-04 07:09:39 -04:00
nizune 4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul 602cca1047 Implement new auto-size text area.
Add bars + header + sidebar to channels.
2021-06-21 21:11:53 +01:00
Paul 3555e9a7bf Use null assertions instead of casting. 2021-06-21 09:02:38 +01:00
Paul d1bff98635 Port attachments and embeds. 2021-06-20 22:09:18 +01:00