Commit Graph

143 Commits (f9b5d768d3adfa9b3aaa08097f67150bd8fd4a8d)

Author SHA1 Message Date
Paul f9b5d768d3 Fix: Spoilers would not toggle.
Hook events into Markdown render using ref.
2021-07-07 12:45:55 +01:00
nizune 93d0ea475d Temp. fix for members list sections 2021-07-07 13:37:14 +02:00
nizune d17e0da444 Fix: sessions menu overflow 2021-07-07 10:46:23 +02:00
Paul 0cc6faab21 Show tooltip for long statuses. 2021-07-06 22:58:45 +01:00
Paul 5ce6a679ab Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00
Paul fb0ae130e9 Format code. 2021-07-06 19:29:27 +01:00
Paul fd23fdb206 Fix: System messages would break replies.
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
nizune 8d0969d47e Fix: Small fixes to Sessions tab 2021-07-06 17:42:32 +02:00
Paul 238b6950a8 Update all packages.
Update vite fork to latest. (fixes voice)
2021-07-06 16:07:04 +01:00
Paul 8012b680a5 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 193b039fd0 Fixed sessions entries to work with RTL 2021-07-06 15:33:26 +02:00
nizune d28fda2ed5 Update: Fixed Jump to bottom bar on mobile 2021-07-06 15:03:48 +02:00
nizune 9890e201f5 Update: Account management under settings +strings 2021-07-06 14:24:24 +02:00
nizune 4832e824a5 Fix: Messagebox is now fully working 2021-07-06 13:16:29 +02:00
Paul 583e2c510a Rotate file upload icon instead of switching icon. 2021-07-06 11:52:07 +01:00
Paul 9390ffd00b Re-write types for modal actions. 2021-07-06 11:34:36 +01:00
Paul cf2b81c22d Fix: Avoid going through react-redux to update draft. 2021-07-06 11:07:42 +01:00
Paul 335b46090f Fix: Textarea AutoSize did not resize correctly with long lines. 2021-07-06 11:04:51 +01:00
bree e03fc1e052 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
nizune 62c4371586 Fix: Solid icons in server settings 2021-07-06 00:06:03 +02:00
nizune 2e270dadc1 Update: New button design 2021-07-05 23:49:57 +02:00
nizune e9cb87cfab Fix: Small gap fixes 2021-07-05 22:50:55 +02:00
Paul b823c2ac32 Revert change. 2021-07-05 21:28:38 +01:00
Paul b258d80edc Fix: Padding on message box.
Allow 20 max rows on message area.
2021-07-05 21:07:04 +01:00
nizune d636168908 Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02:00
Paul 62330ddc61 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune 0b08dbeaad Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +02:00
Paul 14809f1989 Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul a9ce64c9fe Run prettier on all files. 2021-07-05 11:23:23 +01:00
insert f69e04d4e9 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul e0dd6df552 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 ebdf64b623 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 3f151f6f77 Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 576984d5bd Replace usage of `<></>` with `null` for project and style consistency 2021-07-04 21:13:53 -04:00
bree 1cc6514c9a Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
nizune f8a39fc24f Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 20:16:42 +02:00
nizune e6f46e7455 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02:00
insert 41c6a95a6a 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 720bc263a5 Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
nizune d5c3f9e0ab Fix: Fixed detail element in friends list 2021-07-04 17:49:44 +02:00
Paul 08c338ea1c 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 a83d41cbcc Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
Paul a49d40e71d Move details styling into its own component. 2021-07-04 12:47:06 +01:00
nizune 9da3a4262d Fix: Small header fixes 2021-07-04 12:47:06 +01:00
bree b341f5d166 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 1a3281cba3 Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
Paul e9f303828f Add auto-complete to message editor. 2021-07-03 23:42:05 +01:00
Paul d8930d5e94 Add auto-complete to profile editor. 2021-07-03 23:35:27 +01:00
Paul 7d28689b64 Remove gradient on server banners. 2021-07-03 22:35:49 +01:00