Commit graph

86 commits

Author SHA1 Message Date
nizune
b62eeb35e7 Fix: Small fixes to Sessions tab 2021-07-06 17:42:32 +02: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
nizune
e99cff9fe6 Update: Fixed Jump to bottom bar on mobile 2021-07-06 15:03:48 +02:00
nizune
9e1a15eb3f Fix: Messagebox is now fully working 2021-07-06 13:16:29 +02:00
Paul
ea65825454 Fix: Avoid going through react-redux to update draft. 2021-07-06 11:07:42 +01:00
Paul
b69ba4ca28 Fix: Textarea AutoSize did not resize correctly with long lines. 2021-07-06 11:04:51 +01:00
bree
d829deba98
Fix: Image embeds were unable to be opened into the image view
- Image embeds actions now use a better styling that's the same as the other action stylings
2021-07-06 03:56:04 -04:00
Paul
c11d10a265 Revert change. 2021-07-05 21:28:38 +01:00
Paul
b8a4ada30c Fix: Padding on message box.
Allow 20 max rows on message area.
2021-07-05 21:07:04 +01:00
nizune
e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02: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
Paul
7067627027 Fix: Add default for font combo box.
Don't pass dispatcher in, just provide it globally.
Fix: Allow clicking through to profile from server sidebar.
2021-07-05 10:59:48 +01: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
8ece647857
Replace usage of <></> with null for project and style consistency 2021-07-04 21:13:53 -04:00
bree
e070f26bda
Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree
3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -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
nizune
652736c300 Fix: Fixed detail element in friends list 2021-07-04 17:49:44 +02:00
Paul
1768264272 Add collapsible section component.
Can now collapse server categories.
Client remembers collapse state, incl. advanced appearance settings.
2021-07-04 15:53:06 +01: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
bree
b4294359a1
Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
Paul
a628b0acd1 Add auto-complete to message editor. 2021-07-03 23:42:05 +01:00
Paul
7e4406682f Add auto-complete to profile editor. 2021-07-03 23:35:27 +01:00
Paul
31d74da8e7 Remove gradient on server banners. 2021-07-03 22:35:49 +01:00
bree
b821684733
image attachments now have their width and height properly set 2021-07-03 01:47:46 -04:00
bree
036e9a330a
replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
bree
ee5e558e9f
fix long width image previews to fit into view 2021-07-02 22:37:45 -04:00
Paul
73c61cd7f8 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
Paul
1cb59ca40c Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
0f2b6b6b44 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
Paul
7982489ab6 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
Paul
209653dfd7 Fix avatar direction. 2021-07-01 21:23:54 +01:00
Paul
f5b3b15188 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
nizune
71bc438333 Fix: small fixes for members sidebar 2021-07-01 18:54:11 +02:00
Paul
471b4b0847 Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
nizune
8935c26dfb Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:36:46 +02:00
nizune
d0e6d2a0e1 Fix: Small changes to tooltip 2021-06-28 11:36:37 +02:00
Paul
431a86c2af Set update indicator default state properly. 2021-06-28 10:29:56 +01:00
Paul
4a8561b690 Independent tooltip for missing permissions. 2021-06-28 10:25:51 +01:00
Paul
84da056f09 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune
e27f1bf9d6 Small fixes 2021-06-28 11:12:19 +02:00
nizune
d60c56cdbf Fix: More fixes for the message box and settings 2021-06-28 10:32:55 +02:00
nizune
b812aa64ca Fix: Small update to categories and icons 2021-06-28 09:55:05 +02:00
Paul
4501a02b5d Migrate to @tippyjs/react from react-tippy.
Fix strokes on home sidebar.
Add tooltips on servers.
Fix reply SVG direction.
2021-06-27 21:54:31 +01:00
nizune
4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
47f6404f44 Handle permissions in message box. 2021-06-26 22:16:43 +01:00