Commit Graph

129 Commits

Author SHA1 Message Date
Paul
c02bc10885 Fix chat not scrolling to bottom when messages update. 2021-08-16 18:59:40 +01:00
Ryan Alexander
5c6a7fe2ae Update ContextMenus.tsx
Add Create Invite button to server context menu
2021-08-16 08:00:53 +10:00
Paul
6eab5e77aa Remove ability to add bot as a friend. 2021-08-12 17:11:34 +01:00
Paul
b6230abbd7 Add search back. 2021-08-09 17:34:25 +01:00
Paul
d2f0532344 Anchor scroll to bottom when switching channels. 2021-08-08 23:01:47 +01:00
Paul
68daa028af Don't show server mark as read on channels. 2021-08-07 23:04:44 +01:00
Paul
c65073d148 Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul
2a497c5d51 Scroll to last position when re-opening a chat. 2021-08-07 20:53:17 +01:00
Paul
0d415b4d5b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul
c357e045e9 Fix new state updates. 2021-08-07 16:55:14 +01:00
Paul
0e7e719308 Re-write voice context. Working towards #21 2021-08-07 16:15:55 +01:00
Paul
11e0f54d96 Fixes #9 and closes #8. This adds a way to mark servers as read.
Servers are also marked as read when joining them.
You can now also mark DMs as read.
2021-08-07 12:30:19 +01:00
Paul
07d000a54c Add a way to copy message links.
Remove focus from auto complete after click, fixes #12.
2021-08-07 10:52:22 +01:00
Paul
872b710bc4 Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul
c997261e20 Add i18n to replies.
Add Fluent design category button.
Update Account page with new design.
2021-08-04 16:03:38 +01:00
Paul
540b568a06 Start work on fluent categories.
Fix Locale loading when syncing invalid lang.
2021-08-04 14:31:55 +01:00
Paul
c9296ee99f Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul
6750812916 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul
5105e84867 Update to revolt.js 5.0.0-alpha.10
Fix member sidebar not showing on mobile.
2021-07-31 09:34:55 +01:00
Paul
d5b767c251 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul
2a420cfb3b Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul
8a5c6fc4d5 Remove useChannel 2021-07-29 18:41:01 +01:00
Paul
67f041a4f5 Work towards removing useUsers. 2021-07-29 15:11:21 +01:00
Paul
b3386ade33 Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul
2258815dd9 Server Sidebar: Add home icon hover.
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
Paul
72baac442e Fix: Prevent clicking on links in reply / channel header.
Jump to existing message if exists.
2021-07-09 10:15:32 +01:00
Paul
fa9fe2d6a5 Feature: Add message links. 2021-07-08 22:47:56 +01:00
nizune
ed544009ee Fix: Support for DateDivider for RTL 2021-07-08 21:01:21 +02:00
Paul
0d5bb67896 Add logic to "log out of all others".
Consider tablet as desktop device.
2021-07-08 14:29:21 +01:00
nizune
4a94a65bf1 Small fixes 2021-07-08 01:14:23 +02:00
Paul
bd07b461ac Modals: Add close animation. 2021-07-07 22:02:18 +01:00
Paul
93e328821f Fluff: Jump to bottom when editing last message in chat. (up arrow) 2021-07-06 23:03:29 +01:00
Paul
5ce6a679ab Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00
Paul
10ebf5916b Do cursed magic to try to fix voice. 2021-07-06 22:23:04 +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
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
Paul
335b46090f Fix: Textarea AutoSize did not resize correctly with long lines. 2021-07-06 11:04:51 +01:00
Paul
025a5c7eab Fix: Certain languages not loading due to bad map. 2021-07-06 08:56:30 +01: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
e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04: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
Paul
a21206b0ff Move details styling into its own component. 2021-07-04 09:52:34 +01:00
Paul
c5e96aee43 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul
418947c6fa Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul
f5c2838d36 Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00