Paul
768c80b051
Remove useServer and useServers.
2021-07-29 19:01:40 +01:00
Paul
411fac2527
Remove useChannel
2021-07-29 18:41:01 +01:00
Paul
4dffaad6c1
Work towards removing useUsers.
2021-07-29 15:11:21 +01:00
Paul
7586b365fe
Format and automatically fix linted code.
2021-07-10 15:57:29 +01:00
Paul
54185b5839
Server Sidebar: Add home icon hover.
...
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
Paul
b806902bc4
Fix: Prevent clicking on links in reply / channel header.
...
Jump to existing message if exists.
2021-07-09 10:15:32 +01:00
Paul
c54fe0f1bf
Feature: Add message links.
2021-07-08 22:47:56 +01:00
nizune
ccb7499c2a
Fix: Support for DateDivider for RTL
2021-07-08 21:01:21 +02:00
Paul
69193e9a46
Add logic to "log out of all others".
...
Consider tablet as desktop device.
2021-07-08 14:29:21 +01:00
nizune
766be90296
Small fixes
2021-07-08 01:14:23 +02:00
Paul
98ea3e7af7
Modals: Add close animation.
2021-07-07 22:02:18 +01:00
Paul
8cfbe1ca3f
Fluff: Jump to bottom when editing last message in chat. (up arrow)
2021-07-06 23:03:29 +01:00
Paul
cf7dd6f99b
Add collapsible sections to member sidebars.
2021-07-06 22:52:50 +01:00
Paul
069a1a11ad
Do cursed magic to try to fix voice.
2021-07-06 22:23:04 +01:00
Paul
67d3fb35a4
Format code.
2021-07-06 19:29:27 +01:00
Paul
1fcf4df1ed
Fix: System messages would break replies.
...
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
Paul
9f85eda402
Update all packages.
...
Update vite fork to latest. (fixes voice)
2021-07-06 16:07:04 +01:00
Paul
7b9766cb0b
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
Paul
b69ba4ca28
Fix: Textarea AutoSize did not resize correctly with long lines.
2021-07-06 11:04:51 +01:00
Paul
57ef8408a6
Fix: Certain languages not loading due to bad map.
2021-07-06 08:56:30 +01: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
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