Commit Graph

185 Commits (1bb68e70ffa3bda5764522eeb70be6f7b7cda504)

Author SHA1 Message Date
Paul c65073d148 Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul 0d415b4d5b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul 0e7e719308 Re-write voice context. Working towards #21 2021-08-07 16:15:55 +01:00
Paul 3bd6ab1388 Fix voice and abnormal CPU usage. 2021-08-07 14:13:05 +01:00
Paul 28646867b8 Fix profiles not loading. 2021-08-05 23:25:49 +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 43fe2cd03c Categorise constructed languages. 2021-08-04 12:31:51 +01:00
Paul aae92b2974 Add hide email button.
Add device name for Revolt Desktop.
Add Italian and Toki Pona.
2021-08-04 11:40:58 +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 329ce392fc Fix elements not observing permissions. 2021-07-31 12:09:18 +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 b65dbab297 Fix duplicate member entries. 2021-07-30 23:43:26 +01:00
Paul 33decef7de Zero error milestone. 2021-07-30 22:40:49 +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 86c981d692 Finish migrating user state over to MobX. 2021-07-29 15:51:19 +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 3543a90cbf Show nickname / role colour in typing indicator.
Try to fix voice context.
2021-07-27 11:45:45 +01:00
Paul 93619cebd7 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul 5dac9c4244 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +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 5629999fb2 Add editing role name / colour.
Animate avatars on message hover.
Switch to 24-hour time format by default.
2021-07-14 13:25:40 +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 be3e4ba184 Fix: Sever list was not center aligned. 2021-07-10 12:29:32 +01:00
nizune b316e41077 Added hamburger and member sidebar icons 2021-07-08 18:39:03 +02: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 90562493a5 No, I totally did not commit this to prod. 2021-07-06 23:11:36 +01:00
Paul 0cc6faab21 Show tooltip for long statuses. 2021-07-06 22:58:45 +01:00
Paul 9e2e6f0505 Fix: dayjs locales won't fully load if the locale isn't selected first. 2021-07-06 22:49:14 +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 583e2c510a Rotate file upload icon instead of switching icon. 2021-07-06 11:52:07 +01:00
Paul 9390ffd00b Re-write types for modal actions. 2021-07-06 11:34:36 +01:00
Paul 0997528e7d Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-06 08:57:02 +01:00
Paul 025a5c7eab Fix: Certain languages not loading due to bad map. 2021-07-06 08:56:30 +01:00
bree e03fc1e052 Fix: Image embeds were unable to be opened into the image view
- Image embeds actions now use a better styling that's the same as the other action stylings
2021-07-06 03:56:04 -04:00
bree 3f001df7cb Improve `ImageViewer` styles 2021-07-06 03:03:05 -04:00
nizune d636168908 Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02: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 f7466773ad Fix merge conflict missed from before 2021-07-04 21:11:23 -04:00
bree e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul 89d14c5795 Switch crcong's Vite fork to fix dynamic css imports. 2021-07-04 20:46:30 +01:00
nizune e6f46e7455 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02:00
Paul 720bc263a5 Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
Paul 08c338ea1c Add collapsible section component.
Can now collapse server categories.
Client remembers collapse state, incl. advanced appearance settings.
2021-07-04 15:53:06 +01:00
Paul 476c521b92 Fix: Handle defaults before transforming languages.
Remove Hardcore Mode.
2021-07-04 13:02:32 +01:00
Paul 78d0abb592 Fix: Defaults / dayjs will not always be present. 2021-07-04 12:46:33 +01: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 d0818bb165 New design for server roles editor. 2021-07-03 22:17:53 +01:00
Paul c5e96aee43 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul 1e28c18ab5 Add helmet for theme-color in settings.
Update colours in main app.
2021-07-03 14:27:57 +01:00
Paul c7bbbcdb8b Fix modals with horizontal form components.
Fix invite / friends menu having sidebars.
2021-07-02 20:57:48 +01:00
Paul d1fd371b70 Fix profile links from user profiles. 2021-07-02 19:01:28 +01:00
Paul 2ccb13f874 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +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 b55c291624 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
Paul 05ab27b990 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
Paul 156aee4aba Filter theme keys. 2021-07-01 21:24:20 +01:00
Paul 6082b2191b Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +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 b42cf81088 Fix: "Modify Account" did not have access to client 2021-06-26 10:34:48 +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 b833f0cc31 Fix: Load Theme early for onboarding. 2021-06-24 21:07:07 +01:00
Paul 380a36c26e Fix: Onboarding would not appear due to content pushing it out of the way. 2021-06-24 20:53:12 +01:00
Paul a315875886 Remove prompt again. 2021-06-24 20:40:22 +01:00
Paul e81db17576 Fix: Editor would not open "delete_message".
Fix: Clear status if empty string given.
2021-06-24 17:09:34 +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 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 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 eef3e11e62 Load mediasoup client and add voice UI. 2021-06-24 10:54:32 +01:00
Paul 64682d453f Fix (edited) string on messages.
Fix build issues.
Remove mediasoup from vendor bundle.
2021-06-23 22:56:44 +01:00
Paul 11c524d6a9 Add vortex / voice client. 2021-06-23 14:52:33 +01:00