Commit Graph

117 Commits (0ec005cfd72a43dda1192e7ccaeca763c6c711aa)

Author SHA1 Message Date
Paul 872b710bc4 Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul 50452ba503 Fix notifications not opening server. 2021-07-31 17:00:50 +01:00
Paul 54900008a6 Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 6750812916 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul d5b767c251 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul 3f8a698039 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul b21985a304 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul eec46c7761 Clean up code. 2021-07-29 20:11:50 +01:00
Paul 2a420cfb3b Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul 4990ac2350 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +01:00
Paul 8a5c6fc4d5 Remove useChannel 2021-07-29 18:41:01 +01:00
Paul 551dc7562e Remove remaining references to useUser(s).
Add Channel object.
2021-07-29 16:55:07 +01:00
Paul 67f041a4f5 Work towards removing useUsers. 2021-07-29 15:11:21 +01:00
Paul bb4321ba22 Add MobX store, create observable User. 2021-07-29 12:41:28 +01:00
Paul 93619cebd7 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul 1d4546ea03 Fix onboarding. 2021-07-25 13:55:45 +01:00
Paul 51e83c27e2 Use loading="lazy" in more places.
i18n invites page.
Polish the bans page.
2021-07-24 17:01:50 +01:00
Paul 384152666f Lazy load embed contents.
Use server config for image proxy.
2021-07-24 11:22:08 +01:00
Paul 03b0018d31 Experimental hooks. 2021-07-14 14:42:22 +01:00
Paul b3386ade33 Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul 0e43dadbe9 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul fb0ae130e9 Format code. 2021-07-06 19:29:27 +01:00
Paul 583e2c510a Rotate file upload icon instead of switching icon. 2021-07-06 11:52:07 +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 3f151f6f77 Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 576984d5bd Replace usage of `<></>` with `null` for project and style consistency 2021-07-04 21:13:53 -04:00
bree e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
nizune e6f46e7455 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02: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 05ab27b990 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
Paul 5034a405c5 Handle updates of members for permissions. 2021-06-30 20:06:42 +01:00
Paul 745977367d Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
nizune 38be8f8fcc Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul fbda68cbf8 Fix notifications playing in servers. 2021-06-26 11:23:28 +01:00
Paul 5c0e14b6ca Notifications: Block muted channels from push notifs. 2021-06-25 12:37:59 +01:00
Paul 809c2f1d18 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul fa3f756ae7 Fix: Notification settings not affecting playSound 2021-06-24 22:06:30 +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 8f62625506 Settings: Link notification sounds to playSound.
Fix: Restore hooks.ts patch, additionally use numbers.
2021-06-24 14:26:18 +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 11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00
Paul 29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +01:00
Paul b1a4604653 Send ack PUTs for unreads. 2021-06-22 18:01:03 +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 8a0d90e292 Add push notification handling code into sw 2021-06-22 14:37:38 +01:00
Paul f724cfdf4f Add auto complete back. 2021-06-22 13:28:03 +01:00
Paul 56dda66c1c Add file pasting and drag-n-drop. 2021-06-22 12:08:39 +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 0115ace3fa Port sync, queue management and notifs. 2021-06-21 13:28:26 +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 06b4e9bc87 If IDB is not present, allow app to load as normal 2021-06-20 10:17:34 +01:00
Paul a1d3b3503b Reduce re-renders of sidebars. 2021-06-19 23:12:27 +01:00
Paul 31d8950ea1 Port settings. 2021-06-19 22:37:12 +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 ec97dbebd0 Hide client behind context.
Use idb for saving data.
Allow logins.
2021-06-18 22:47:25 +01:00
Paul 68a35751b3 Port Login UI 2021-06-18 20:21:54 +01:00
Paul aa81ebb298 Add client context. 2021-06-18 20:07:26 +01:00
Paul e7d1ada13d Import assets and add PWA. 2021-06-18 19:25:33 +01:00
Paul 27eeb3acd2 Add Redux and reducers.
Load i18n files and add dayjs.
2021-06-18 17:57:08 +01:00