Commit Graph

71 Commits (cefeebb4d2db9db03cdcc99cea20a1f56262ba3e)

Author SHA1 Message Date
Paul 8a104855a1 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Paul f19e334d56 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul d5b0d8d9cf Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul 1f903cd56b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul 55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul 76478f67be Fix notifications not opening server. 2021-07-31 17:00:50 +01:00
Paul 6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 719e5b4dd8 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul c21453b281 100 error milestone.
Remove hooks completely. :)
2021-07-30 21:20:42 +01:00
Paul 3184269ba4 Start migration to revolt.js@5.0.0.
200 error milestone
2021-07-30 20:24:53 +01:00
Paul b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul d5cd45196e Clean up code. 2021-07-29 20:11:50 +01:00
Paul 768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul bde9a2e8f7 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +01:00
Paul 411fac2527 Remove useChannel 2021-07-29 18:41:01 +01:00
Paul 0571c065bd Remove remaining references to useUser(s).
Add Channel object.
2021-07-29 16:55:07 +01:00
Paul 4dffaad6c1 Work towards removing useUsers. 2021-07-29 15:11:21 +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 f2a69daf03 Fix onboarding. 2021-07-25 13:55:45 +01:00
Paul dbaf246c27 Use loading="lazy" in more places.
i18n invites page.
Polish the bans page.
2021-07-24 17:01:50 +01:00
Paul ca975aae7b Lazy load embed contents.
Use server config for image proxy.
2021-07-24 11:22:08 +01:00
Paul f5e70afb35 Experimental hooks. 2021-07-14 14:42:22 +01:00
Paul 7586b365fe Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
Paul ef5944b065 Add more internal CSS variables. 2021-07-10 15:42:13 +01:00
Paul 67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
Paul e8a111e6bc Rotate file upload icon instead of switching icon. 2021-07-06 11:52:07 +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 c194fff7fd
Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 8ece647857
Replace usage of `<></>` with `null` for project and style consistency 2021-07-04 21:13:53 -04:00
bree 3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
nizune 8d8b13ec12 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02: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 3eef61fe11 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
Paul f6daa54411 Handle updates of members for permissions. 2021-06-30 20:06:42 +01:00
Paul b31183e0f8 Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
nizune 4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul 9968792116 Fix notifications playing in servers. 2021-06-26 11:23:28 +01:00
Paul 994ef65200 Notifications: Block muted channels from push notifs. 2021-06-25 12:37:59 +01:00
Paul 21859e4c55 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul 51ac1f599c Fix: Notification settings not affecting playSound 2021-06-24 22:06:30 +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 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