Commit Graph

368 Commits

Author SHA1 Message Date
bree
e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04: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
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
bree
fdc2cdc4c8 image attachments now have their width and height properly set 2021-07-03 01:47:46 -04:00
bree
630611112f replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
bree
d4765b7db4 fix long width image previews to fit into view 2021-07-02 22:37:45 -04:00
Paul
2ccb13f874 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
Paul
e252c2ff2e Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
8f047788c4 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
Paul
b55c291624 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
Paul
4afdd15813 Fix avatar direction. 2021-07-01 21:23:54 +01:00
Paul
2c1421fd97 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
nizune
c2c6f910fb Fix: small fixes for members sidebar 2021-07-01 18:54:11 +02:00
Paul
6082b2191b Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
nizune
76601c8bb1 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:36:46 +02:00
nizune
66b25ecb58 Fix: Small changes to tooltip 2021-06-28 11:36:37 +02:00
Paul
8d346c188c Set update indicator default state properly. 2021-06-28 10:29:56 +01:00
Paul
d52d4b35ee Independent tooltip for missing permissions. 2021-06-28 10:25:51 +01:00
Paul
bb5336f191 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune
843ae5a082 Small fixes 2021-06-28 11:12:19 +02:00
nizune
ef62740f58 Fix: More fixes for the message box and settings 2021-06-28 10:32:55 +02:00
nizune
9248ba01a2 Fix: Small update to categories and icons 2021-06-28 09:55:05 +02:00
Paul
99643c5461 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
38be8f8fcc Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
b6cb3cfd6e Handle permissions in message box. 2021-06-26 22:16:43 +01:00
Paul
90713b3c5d Support replying to files, show icon in reply. 2021-06-26 09:45:07 +01:00
Paul
94ee5d8f96 Fix: Make settings not jump around.
Fix: Auto-complete font size.
2021-06-24 17:29:01 +01:00
Paul
9724181d28 Fix: Set global emoji pack.
Fix: Use conditional links for bottom navigation.
Fix: Margin error on queued messages.
2021-06-24 17:06:16 +01:00
Paul
b724b9aec2 Fix: Emojis showing through spoilers.
Fix: Copy ID copies wrong ID.
Messaging: Add context menu to avatar / username.
2021-06-24 16:43:37 +01:00
Paul
2d761d1e97 Fix: Icons collapsing in flex.
Feature: Remember what channel was opened last.
Channels: ESC to focus message box / cancel editing.
2021-06-24 16:22:45 +01:00
insert
7e3668b393 Merge branch 'file-preview-cleanup' into 'master'
Restructure `FilePreview` to be less "hacky"

See merge request revolt/revite!1
2021-06-24 13:51:41 +00:00
Paul
8f62625506 Settings: Link notification sounds to playSound.
Fix: Restore hooks.ts patch, additionally use numbers.
2021-06-24 14:26:18 +01:00
Paul
64682d453f Fix (edited) string on messages.
Fix build issues.
Remove mediasoup from vendor bundle.
2021-06-23 22:56:44 +01:00
bree
898288e815 Restructure FilePreview to be less "hacky" 2021-06-23 13:46:31 -04:00
Paul
50bd6addb4 Add message reply UI. 2021-06-23 18:26:41 +01:00
Paul
0ce77951cb Optimise re-renders when scrolling / updating messages. 2021-06-23 16:14:46 +01:00
Paul
babb53c794 Add VoiceChannel support. 2021-06-23 13:52:16 +01:00
Paul
29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +01:00
Paul
3c8c9a672f Add support for multiple attachment upload. 2021-06-22 17:45:34 +01:00
Paul
22b21c030f Add animations to loaders. 2021-06-22 16:29:47 +01:00
Paul
e98a962071 Make sure to focus window for desktop notifs.
Prevent empty pastes of files.
Log push errors.
2021-06-22 15:43:06 +01:00
Paul
feaec3f8d9 Add channel auto-complete. 2021-06-22 13:35:43 +01:00
Paul
f724cfdf4f Add auto complete back. 2021-06-22 13:28:03 +01:00