Commit graph

303 commits

Author SHA1 Message Date
nizune
a10646888f Finished cleaning up User Settings CSS 2021-08-03 17:07:02 +02:00
nizune
9581a4df92 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul
0139a91882 Add donation button to home page. 2021-08-02 22:03:59 +01:00
nizune
df39b1fc2b Cleaned up CSS for settings page 2021-08-02 17:55:49 +02:00
nizune
2f563ef726 More work on settings panel 2021-08-02 16:21:16 +02:00
Paul
f465a8d81f Trick Facebook container extension to disable tracking warning, see issue https://github.com/mozilla/contain-facebook/issues/783 2021-08-02 13:14:10 +01:00
nizune
4a248ffa5b Started work on redoing settings structure 2021-08-02 14:09:54 +02:00
nizune
ab54afc1e0 Small update for desktop app 2021-08-02 12:22:39 +02:00
Paul
ed826cf1bb Add settings closing animation. 2021-08-01 21:55:13 +01:00
Paul
fd010ed75e Closing animation for settings. 2021-08-01 21:08:42 +01:00
nizune
f1966b4560 Cleaned up titlebar look 2021-08-01 20:40:02 +01:00
Paul
d6e32fe8dc Move titlebar. 2021-08-01 20:40:02 +01:00
Paul
796dc467b8 Move update indicator to titlebar on desktop. 2021-08-01 17:52:44 +01:00
Paul
4ae0dc6935 Improve titlebar design. 2021-08-01 16:44:51 +01:00
Paul
31636d569c Improved native options. 2021-08-01 14:22:08 +01:00
Paul
63d2d1b760 Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul
909985b47d Fix message links redirecting to home page. 2021-07-31 15:11:58 +01:00
Paul
6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul
29cc221a34 Fix elements not observing permissions. 2021-07-31 12:09:18 +01:00
Paul
463aa79356 Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul
719e5b4dd8 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul
58d9744fad 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
4c9554c5e9 Zero error milestone. 2021-07-30 22:40:49 +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
6531486636 Handle additional side effects from events. 2021-07-29 21:23:06 +01:00
Paul
768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +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
748713be53 Fix: Should use observer not observable. 2021-07-29 16:08:35 +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
781fa5de10 Attempt to fix no permission on server. 2021-07-28 17:55:53 +01:00
Paul
a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul
e61c647fda Update donation link.
Add settings tip to home page.
2021-07-25 14:37:19 +01:00
Paul
6d5fb0a8a3 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul
6cf18b1b9b Fix message reply overflow.
Add opera icon to sessions.
2021-07-25 14:18:48 +01:00
Paul
8c6947f7d4 Add category editor to servers. 2021-07-24 19:39:41 +01:00
Paul
71020e6e8c Bring back ability to edit roles on members.
Improve ban list design.
2021-07-24 18:46:33 +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
f5e70afb35 Experimental hooks. 2021-07-14 14:42:22 +01:00
Paul
7374591458 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
c00b5ae37a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 18:06:22 +01:00
Paul
93ee98717d Fix: Session icon alignment.
Fix: i18n blocked messages / users.
2021-07-10 18:06:21 +01:00
nizune
cc78c7f434 Fixed settings theme color 2021-07-10 18:39:01 +02:00
Paul
5b5ca47cb0 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-10 17:35:19 +01:00
Paul
3351674c21 Fix: Prevent context menu on images in settings.
Revert mobile change.
Messages: Add channel id matching.
2021-07-10 17:35:18 +01:00
nizune
af14463669 Minified SVGs for Appearance 2021-07-10 18:05:13 +02:00
Paul
4f6d2de75f Fix: Hide panels in server / channel settings. 2021-07-10 16:26:58 +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
nizune
f403875ae6 Changed classnames 2021-07-09 23:09:59 +02:00
nizune
968d1473a7 Small fixes 2021-07-09 23:08:27 +02:00
nizune
a2211d9fd7 Fix: Removed CSS file for Server Overview 2021-07-09 23:08:00 +02:00
Paul
252fec804d Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 21:28:57 +01:00
nizune
2141711d9e Fixed username in replies 2021-07-09 21:46:35 +02:00
Paul
cd394eed3f Update Home and Feedback. 2021-07-09 16:23:06 +01:00
Paul
3ea32b596a Fix: use new object for experiment names. 2021-07-09 14:48:27 +01:00
nizune
f9cc96c7f3 Fixed friends menu 2021-07-09 15:02:04 +02:00
nizune
5f8ee9d656 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +02:00
nizune
9484428d63 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-09 12:29:00 +02:00
nizune
bca01022c0 Updated assets in Appearance menu - do not touch 2021-07-09 12:26:00 +02:00
Paul
b806902bc4 Fix: Prevent clicking on links in reply / channel header.
Jump to existing message if exists.
2021-07-09 10:15:32 +01:00
Paul
7a5ace2def Highlight messages we jump to. 2021-07-09 09:58:38 +01:00
nizune
f596e73d6b insert used the wrong type of icon 2021-07-09 00:15:10 +02:00
nizune
731a8d0e6c small fixes to theme override panel 2021-07-09 00:11:01 +02:00
Paul
c54fe0f1bf Feature: Add message links. 2021-07-08 22:47:56 +01:00
Paul
4474d2ec56 Re-design theme overrides. 2021-07-08 21:51:12 +01:00
Paul
b9d07152c8 Add tooltips to advanced settings.
Add click to copy theme.
2021-07-08 20:57:52 +01:00
Paul
ee9aab07a9 Remember age gate prompt confirmation.
Translate age gate.
Add additional limitations on KaTeX.
Prevent any message overflow.
2021-07-08 20:16:50 +01:00
nizune
76f43a4b98 Added hamburger and member sidebar icons 2021-07-08 18:39:03 +02:00
nizune
5bd494fa9a Update: started work on new advanced settings 2021-07-08 16:02:52 +02:00
Paul
69193e9a46 Add logic to "log out of all others".
Consider tablet as desktop device.
2021-07-08 14:29:21 +01:00
Paul
a3fa0b0807 Update certain logos and re-do mask. 2021-07-08 14:19:54 +01:00
nizune
e487f8c571 Small fixes 2021-07-08 15:16:23 +02:00
Paul
594980fdac Merge session icons together. 2021-07-08 14:07:25 +01:00
nizune
766be90296 Small fixes 2021-07-08 01:14:23 +02:00
nizune
6ac743901d Changed name to lowercase. 2021-07-08 00:01:27 +02:00
nizune
41567413f2 Fix: small improvements for sessions tab 2021-07-07 22:35:15 +02:00
nizune
0f0c6cfbae Fixed sessions tab for mobile devices 2021-07-07 22:15:52 +02:00
Paul
ce67c5acdb Update react-overlapping-panels.
Fix: bottom navigation appearing in wrong place.
Fix: Redirect to server from invite if already joined.
Fix: Use monoscape font for code textareas.
2021-07-07 13:08:39 +01:00
nizune
60746b8c21 Fix: sessions menu overflow 2021-07-07 10:46:23 +02:00
Paul
8cfbe1ca3f Fluff: Jump to bottom when editing last message in chat. (up arrow) 2021-07-06 23:03:29 +01:00
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