Commit Graph

25 Commits (e37140dcd06d7ecca2ee53116c0d65064e64f5e6)

Author SHA1 Message Date
Paul Makles 5f2311b09c feat: implement `useClient` from client controller 2022-06-28 19:59:58 +01:00
Paul Makles b2f4411850 feat: switch to revolt.js@6.0.0 + new revolt-api 2022-04-09 15:47:04 +01:00
Paul Makles 0f8be1767d fix: delete singleton renderer on channel delete 2022-03-04 16:45:57 +00:00
Paul Makles a5a6833c2c fix: bump revolt.js and add pong timeout 2022-01-04 22:56:20 +00:00
Paul Makles fc91a75acb fix(sidebar): don't keep refetching server members 2022-01-04 13:37:19 +00:00
Paul e89bbb7455 feat(mobx): add sync back (do not look at the code) 2021-12-24 02:05:18 +00:00
Paul cc0e45526c feat(mobx): refactor and remove (react-)redux 2021-12-23 21:43:11 +00:00
Paul f8b8d96d3d feat(mobx): migrate auth and config 2021-12-11 21:04:12 +00:00
Paul 55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul 6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul c21453b281 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul cf3930b094 Add MobX store, create observable User. 2021-07-29 12:41:28 +01:00
Paul a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +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 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 f6daa54411 Handle updates of members for permissions. 2021-06-30 20:06:42 +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 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 9706dd75f3 Port modal / popover context. 2021-06-19 18:46:05 +01:00
Paul ec97dbebd0 Hide client behind context.
Use idb for saving data.
Allow logins.
2021-06-18 22:47:25 +01:00