Commit graph

1140 commits

Author SHA1 Message Date
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
Paul
12b04a9832 Move details styling into its own component. 2021-07-04 09:52:34 +01:00
nizune
e0b9567c96 Fix: Small header fixes 2021-07-04 10:41:03 +02:00
bree
b4294359a1
Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
Paul
841320aab7 Fix: Set head = true as we tick over midnight.
Re-design blocked messages.
2021-07-03 23:51:15 +01: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
Paul
f81f7768f8 New design for server roles editor. 2021-07-03 22:17:53 +01:00
Paul
c4bbd1e40a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-03 21:27:23 +01:00
nizune
1ad69b4475 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
Paul
f25b488863 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul
55633219f9 Fix: Bottom navigation would not let you escape friends. 2021-07-03 15:00:17 +01:00
Paul
324b87b9b5 Temporary blocked messages solution.
Fix settings theme colour.
2021-07-03 14:45:08 +01:00
Paul
a4ac87f24d Add helmet for theme-color in settings.
Update colours in main app.
2021-07-03 14:27:57 +01:00
nizune
81dcc4789f Fix: updated index.html 2021-07-03 14:20:53 +02:00