Commit graph

320 commits

Author SHA1 Message Date
Paul
cf7dd6f99b Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00
Paul
d69b10adf5 Persist the state of member sidebar toggle. 2021-07-06 22:44:38 +01:00
Paul
67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
Paul
1fcf4df1ed Fix: System messages would break replies.
Fix: Show correct time format on left side of messages.
2021-07-06 19:29:09 +01:00
nizune
b62eeb35e7 Fix: Small fixes to Sessions tab 2021-07-06 17:42:32 +02:00
Paul
9f85eda402 Update all packages.
Update vite fork to latest. (fixes voice)
2021-07-06 16:07:04 +01:00
nizune
aebcf2875a Fixed sessions entries to work with RTL 2021-07-06 15:33:26 +02:00
nizune
9deb31a1b6 Fix: Small CSS fixes 2021-07-06 15:16:57 +02:00
nizune
e99cff9fe6 Update: Fixed Jump to bottom bar on mobile 2021-07-06 15:03:48 +02:00
Paul
ddacb34253 Fix: Overflow on account page fields. 2021-07-06 13:31:45 +01:00
Paul
029d902be8 Merge account page. 2021-07-06 13:29:11 +01:00
nizune
3f2d8c2d35 Update: Account management under settings +strings 2021-07-06 14:24:24 +02:00
nizune
0b5b0360b8 Update: Added User ID to accounts page 2021-07-06 13:36:32 +02:00
nizune
9e1a15eb3f Fix: Messagebox is now fully working 2021-07-06 13:16:29 +02:00
Paul
b69ba4ca28 Fix: Textarea AutoSize did not resize correctly with long lines. 2021-07-06 11:04:51 +01:00
nizune
de05fad9f4 Update: New settings close button 2021-07-06 00:20:55 +02:00
nizune
862bce7967 Fix: Solid icons in server settings 2021-07-06 00:06:03 +02:00
nizune
e64bffde22 Update: New button design 2021-07-05 23:49:57 +02:00
nizune
fd57f81118 Fix: Small gap fixes 2021-07-05 22:50:55 +02:00
Paul
c246c2b77a Fix: Changing font reset overrides.
Fix: Left test string in friends.
2021-07-05 21:03:34 +01:00
nizune
e5b233e14e Fix: changed outlines to box-shadow 2021-07-05 21:06:08 +02:00
Paul
52c81fc70b Fix: Increase margin on message area. 2021-07-05 19:53:59 +01:00
Paul
ed12d5f4f9 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune
f1d413b6ef Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +02: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
9deeea3884
Hide --sidebar-active and keep it internal 2021-07-04 21:24:16 -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
1129123aed Settings: Changed to solid icons, fixes 2021-07-04 21:33:05 +02:00
Paul
3191d15cd0 Add a way to edit system message channels. 2021-07-04 19:49:58 +01:00
nizune
8d8b13ec12 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02:00
Paul
1c80d5675f Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
nizune
652736c300 Fix: Fixed detail element in friends list 2021-07-04 17:49:44 +02:00
Paul
1768264272 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
nizune
49e49f3952 Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
Paul
1a08f50997 Move details styling into its own component. 2021-07-04 12:47:06 +01:00
nizune
4e28470d2d Fix: Small header fixes 2021-07-04 12:47:06 +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
841320aab7 Fix: Set head = true as we tick over midnight.
Re-design blocked messages.
2021-07-03 23:51:15 +01:00
Paul
a628b0acd1 Add auto-complete to message editor. 2021-07-03 23:42:05 +01:00
Paul
7e4406682f Add auto-complete to profile editor. 2021-07-03 23:35:27 +01:00
Paul
f81f7768f8 New design for server roles editor. 2021-07-03 22:17:53 +01:00
Paul
c4bbd1e40a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-03 21:27:23 +01:00
nizune
1ad69b4475 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
Paul
f25b488863 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul
324b87b9b5 Temporary blocked messages solution.
Fix settings theme colour.
2021-07-03 14:45:08 +01:00
Paul
a4ac87f24d Add helmet for theme-color in settings.
Update colours in main app.
2021-07-03 14:27:57 +01:00
nizune
7553572029 Fix: Friends categories now sticky 2021-07-03 11:12:42 +02:00
nizune
341b4ddc5e Fix: Fixed bugs in friends menu 2021-07-03 10:57:07 +02:00
nizune
b6724c6680 Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
nizune
b100d06cda Update: Age gate view 2021-07-03 00:46:19 +02:00
Paul
030d743af9 Fix i18n for server settings.
Start work on roles.
Add temporary age gate.
2021-07-02 22:08:03 +01:00
Paul
9e8dde8230 Fix: don't hide sidebars on friends on desktop 2021-07-02 20:59:51 +01:00
Paul
0f5c531694 Fix modals with horizontal form components.
Fix invite / friends menu having sidebars.
2021-07-02 20:57:48 +01:00
Paul
73c61cd7f8 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
nizune
c15a2f1968 Fix: Fixed pending requests menu sizing 2021-07-02 19:48:11 +02:00
Paul
d8e23aea12 Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul
bfb15e3109 Add collapsible sections in friends menu. 2021-07-02 16:47:42 +01:00
Paul
1cb59ca40c Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
0f2b6b6b44 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
Paul
a569f41d1c Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01:00
nizune
bf1eb2c6d1 Update: Continued work on Friends tab + fixes 2021-07-02 13:56:38 +02:00
Paul
3eef61fe11 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
nizune
212d70f382 Fix: small fixes for mobile 2021-07-02 11:39:07 +02:00
nizune
9c2a769bbd Fix: small fixes to friends menu 2021-07-02 11:13:54 +02:00
nizune
4d9d74224f Update: Work on new Friends tab + minor fixes 2021-07-02 10:38:43 +02:00
nizune
71bc438333 Fix: small fixes for members sidebar 2021-07-01 18:54:11 +02:00
Paul
ff21d4efa8 Add permissions / roles settings. 2021-07-01 17:36:34 +01:00
Paul
471b4b0847 Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul
c724ffae43 View roles in server settings. 2021-06-30 21:28:56 +01:00
nizune
d0e6d2a0e1 Fix: Small changes to tooltip 2021-06-28 11:36:37 +02:00
nizune
a1729e0836 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:27:45 +02:00
nizune
e016c71db2 Fix: Small fixes for RTL items 2021-06-28 11:27:24 +02:00
Paul
84da056f09 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune
e27f1bf9d6 Small fixes 2021-06-28 11:12:19 +02:00
nizune
d60c56cdbf Fix: More fixes for the message box and settings 2021-06-28 10:32:55 +02:00
nizune
b812aa64ca Fix: Small update to categories and icons 2021-06-28 09:55:05 +02:00
nizune
4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
21859e4c55 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul
a50ed9bfe9 Fix: Make settings not jump around.
Fix: Auto-complete font size.
2021-06-24 17:29:01 +01:00
Paul
d2904f57ab Fix: Editor would not open "delete_message".
Fix: Clear status if empty string given.
2021-06-24 17:09:34 +01:00
Paul
363789c825 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
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
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
8845900779 More version information in settings. 2021-06-22 19:45:44 +01:00
Paul
99572066c8 Show alternative languages in own list. 2021-06-22 16:37:06 +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
c52f1f5bca Show Git revision in settings. 2021-06-22 13:47:47 +01:00
Paul
f724cfdf4f Add auto complete back. 2021-06-22 13:28: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
a3213fe644 Add feedback option for Revite. 2021-06-21 21:53:08 +01:00
Paul
c597fc81f8 Add open route / invite route.
Modularise server header.
2021-06-21 21:35:21 +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
3c6e3b9fbf Add bottom navigation and locale selector. 2021-06-21 13:44:43 +01:00
Paul
0115ace3fa Port sync, queue management and notifs. 2021-06-21 13:28:26 +01:00
Paul
3555e9a7bf Use null assertions instead of casting. 2021-06-21 09:02:38 +01:00
Paul
a24bcf9f86 Fix mobile height.
Add send button.
2021-06-20 20:36:52 +01:00
Paul
9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul
0461c7e0dd Fix: Remove unneeded argument. 2021-06-20 17:36:20 +01:00
Paul
d0b9cf9090 Work on channels, render content of messages. 2021-06-20 17:31:53 +01:00
Paul
2acb3aeb14 Re-organise assets to be closer to their respective uses. 2021-06-20 11:05:12 +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
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