Commit graph

88 commits

Author SHA1 Message Date
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
3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04: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
Paul
f25b488863 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul
d8e23aea12 Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul
a569f41d1c Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00
Paul
f5b3b15188 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
Paul
84da056f09 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune
4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
41470e2cd5 Support replying to files, show icon in reply. 2021-06-26 09:45:07 +01:00
Paul
21859e4c55 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul
acadd8ab17 Fix: Remove padding on user profile.
Modals: Allow all modals to be closed by ESC (permitting).
Fix: Handle closing DMs properly. Stop propagation too.
2021-06-24 16:57:12 +01:00
Paul
3393795817 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
363789c825 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
Paul
352c0e880c Context Menus: Add "mark as unread" back.
Servers: Fix various issues relating to voice channels.
2021-06-24 13:07:55 +01: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
11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00
Paul
babb53c794 Add VoiceChannel support. 2021-06-23 13:52:16 +01:00
Paul
b1a4604653 Send ack PUTs for unreads. 2021-06-22 18:01:03 +01:00
Paul
454ee7fd6e Add server creation button.
Add profile links / app links back.
Add quoting / mentioning back.
2021-06-22 11:56:37 +01:00
Paul
8fe1ce3450 Show errors / queue on message.
Focus editor / box properly.
2021-06-22 10:59:06 +01:00
Paul
5db0854b42 Add global event pipeline.
Add message editor back.
2021-06-22 10:28:13 +01:00
Paul
602cca1047 Implement new auto-size text area.
Add bars + header + sidebar to channels.
2021-06-21 21:11:53 +01:00
Paul
d965b20ee2 TextAreaAutoSize test 2021-06-21 14:20:29 +01:00
Paul
9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul
d0b9cf9090 Work on channels, render content of messages. 2021-06-20 17:31:53 +01:00
Paul
014512440f Fix types. 2021-06-19 22:39:30 +01:00
Paul
31d8950ea1 Port settings. 2021-06-19 22:37:12 +01:00
Paul
b4bc2262ae Port context menus. 2021-06-19 20:24:11 +01:00
Paul
0a0c00fe58 Port friends menu over. 2021-06-19 20:00:30 +01:00
Paul
9706dd75f3 Port modal / popover context. 2021-06-19 18:46:05 +01:00
Paul
5b77ed439f Port navigation. 2021-06-19 15:29:04 +01:00
Paul
5aa8f30e14 Port and re-write icon code. 2021-06-19 12:34:53 +01:00
Paul
27eeb3acd2 Add Redux and reducers.
Load i18n files and add dayjs.
2021-06-18 17:57:08 +01:00