Commit Graph

178 Commits (31e2647af5eaf4c09fa9a5b7a9d032eff93dcc92)

Author SHA1 Message Date
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
Paul 2c1421fd97 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
Paul bb5336f191 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune 38be8f8fcc Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul 90713b3c5d Support replying to files, show icon in reply. 2021-06-26 09:45:07 +01:00
Paul 809c2f1d18 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul 2d9d3c489c 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 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
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