Commit graph

505 commits

Author SHA1 Message Date
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
Paul
56b509a16a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-06 08:57:02 +01:00
Paul
57ef8408a6 Fix: Certain languages not loading due to bad map. 2021-07-06 08:56:30 +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
bree
002d565b3f
Improve ImageViewer styles 2021-07-06 03:03:05 -04:00
nizune
de05fad9f4 Update: New settings close button 2021-07-06 00:20:55 +02:00
nizune
862bce7967 Fix: Solid icons in server settings 2021-07-06 00:06:03 +02:00
nizune
e64bffde22 Update: New button design 2021-07-05 23:49:57 +02:00
nizune
fd57f81118 Fix: Small gap fixes 2021-07-05 22:50:55 +02: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
Paul
c246c2b77a Fix: Changing font reset overrides.
Fix: Left test string in friends.
2021-07-05 21:03:34 +01:00
nizune
e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02:00
Paul
52c81fc70b Fix: Increase margin on message area. 2021-07-05 19:53:59 +01:00
Paul
ed12d5f4f9 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune
f1d413b6ef Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +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
Paul
56058c1e75 Merge branch 'revolt-bree/revite-cleanup' 2021-07-05 11:18:17 +01:00
insert
c4b9950514 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul
b2d73f2382 Add reasonable defaults to prettier. 2021-07-05 11:15:02 +01: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
9deeea3884
Hide --sidebar-active and keep it internal 2021-07-04 21:24:16 -04:00
bree
c194fff7fd
Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree
8ece647857
Replace usage of <></> with null for project and style consistency 2021-07-04 21:13:53 -04:00
bree
e03449b75c
Fix merge conflict missed from before 2021-07-04 21:11:23 -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
Paul
b19479f1b1 Use yarn alias to override vite binary. 2021-07-04 21:06:46 +01:00
Paul
c43aab7c7c Switch crcong's Vite fork to fix dynamic css imports. 2021-07-04 20:46:30 +01:00
nizune
1129123aed Settings: Changed to solid icons, fixes 2021-07-04 21:33:05 +02:00
Paul
3191d15cd0 Add a way to edit system message channels. 2021-07-04 19:49:58 +01:00
nizune
ff51d0594d Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 20:16:42 +02:00
nizune
dc74de406a Changed string 2021-07-04 20:16:32 +02:00
nizune
8d8b13ec12 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02: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
nizune
e94d824bb2 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 17:08:00 +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
nizune
7c33d445bd Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 14:22:56 +02:00
Paul
098e28113b Fix: Handle defaults before transforming languages.
Remove Hardcore Mode.
2021-07-04 13:02:32 +01:00
nizune
49e49f3952 Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
Paul
1a08f50997 Move details styling into its own component. 2021-07-04 12:47:06 +01:00
nizune
4e28470d2d Fix: Small header fixes 2021-07-04 12:47:06 +01:00
Paul
8e0e226ec6 Fix: Defaults / dayjs will not always be present. 2021-07-04 12:46:33 +01:00
nizune
86aa869ef7 Fix: Small changes to profile context menu 2021-07-04 13:41:52 +02: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