Commit graph

545 commits

Author SHA1 Message Date
Paul
56126fa303 fix: handle invalid channels even when sidebar is closed 2021-12-25 13:20:20 +00:00
Paul
d7f52fb6f4 fix(sidebar): force open on mobile devices 2021-12-25 11:00:51 +00:00
trashtemp
d1e1449f99
fix(channel): mobile jump bar fixed 2021-12-25 11:33:30 +01:00
trashtemp
7e02979560
fix(channel): jump to beginning bar 2021-12-25 11:20:44 +01:00
Paul
56ab2a2917 feat(sidebar): show DMs under home button 2021-12-24 23:53:26 +00:00
trashtemp
3b3ec69edd
fix(header): fixed icons cutting off in header 2021-12-25 00:47:42 +01:00
trashtemp
6b11248364
fix(servers): fixed server text font size 2021-12-25 00:01:15 +01:00
trashtemp
6bed278fe8
chore(settings): added new translation strings 2021-12-24 21:22:01 +01:00
trashtemp
73b6da4e1e
fix(channel): added string to new message bar 2021-12-24 19:01:55 +01:00
trashtemp
c53f74abbf
fix(modals): fixed design of modals 2021-12-24 18:55:39 +01:00
trashtemp
18f7f91ff0
fix(settings): more settings fixes pt. 2 2021-12-24 18:36:40 +01:00
Paul
af3eb754f7 feat(messaging): hide new message bar on esc or sent message 2021-12-24 17:20:05 +00:00
trashtemp
bdc84b1d98
fix(settings): started settings cleanup 2021-12-24 17:39:25 +01:00
Paul
739dd53637 fix: add margin to theme selector 2021-12-24 15:51:11 +00:00
Paul
c64906051d fix: hide new messages bar on click 2021-12-24 14:49:21 +00:00
Paul
f1a9c889b8 fix(messaging): only show date if date changes 2021-12-24 14:41:33 +00:00
Paul
3b6519c530 fix: use contrasting colour for new message divider 2021-12-24 14:35:37 +00:00
Paul
3d723574f4 feat(messaging): show last read message divider 2021-12-24 14:32:04 +00:00
Paul
fee56d8f54 chore: clean up contrasting colours code 2021-12-24 14:13:10 +00:00
Paul
a46fbcf409 feat(sidebar): change swoosh colour depending on sidebar collapse 2021-12-24 13:06:52 +00:00
Paul
d8d002cc4a feat(header): add chevron / unified sidebar collapse 2021-12-24 13:02:49 +00:00
Paul
63164fe2d0 feat(theme): add toggle for seasonal theme 2021-12-24 12:41:07 +00:00
Paul
e380534d2a Merge branch 'mobx' 2021-12-24 11:45:49 +00:00
Paul
cc0e45526c feat(mobx): refactor and remove (react-)redux 2021-12-23 21:43:11 +00:00
Paul
6e1bcab92b feat(mobx): migrate unreads to revolt.js 2021-12-23 19:37:19 +00:00
trashtemp
cc76e78db8 fix(settings): started work on settings cleanup 2021-12-23 17:35:58 +00:00
trashtemp
d2d7083542 fix(home,settings): updated homepage, settings
* new home screen
* cleaned up settings
2021-12-23 17:29:35 +00:00
Paul
73d99e4518 feat(home): add snow 2021-12-23 13:16:43 +00:00
Paul
4719150368 feat(renderer): add additional languages to cb
Closes #28
2021-12-22 22:11:25 +00:00
Paul Makles
6e4c4f3ae2
fix(ui): fixes for mobile UI, settings and sessions pages (#451)
Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 20:48:37 +00:00
trashtemp
27bc4e74b9
fix: fixed channel sidebar on mobile 2021-12-20 14:56:37 +01:00
Paul Makles
9298f205fc
feat(settings): UI improvements (#448)
* Fixed CSS for Settings.tsx + new Theme Shop design

* reformat

* More changes to UI CSS

* Small CSS fixes for Settings.tsx, Account, Bots

* Updated theme shop, settings pages, cleanup

* chore: force sync language submodule

* fix(sidebar): prevent items from shrinking

* fix(push): fix timestamp and icon for push notifications

* fix(voice): hide grant permission button after grant

* chore: hide new shop / chevron before merge

* chore(ci): bump node to v16 in dockerfile

* fix(sidebar): change width of channel sidebar

Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 13:37:21 +00:00
Paul Makles
68578d2620 feat(mobx): start work on migrations 2021-12-20 12:01:45 +00:00
Paul Makles
120e6a35d8 feat(mobx): migrate audio settings 2021-12-16 22:05:31 +00:00
Paul
c7df0088fc feat(mobx): rewrite appearance menu 2021-12-15 18:23:05 +00:00
Paul Makles
65be047dc6 feat(mobx): continue implementing themes; performance work on settings 2021-12-13 17:27:30 +00:00
Paul Makles
bd4369cf29 feat(mobx): start implementing theme store 2021-12-13 17:27:06 +00:00
Paul
faca4ac32b feat(mobx): add message queue store 2021-12-12 15:33:47 +00:00
Paul
413bf6949b feat(mobx): server notification options + data store 2021-12-11 23:34:46 +00:00
Paul
f8b8d96d3d feat(mobx): migrate auth and config 2021-12-11 21:04:12 +00:00
Paul
a8491267a4 feat(mobx): add layout (paths + sections) 2021-12-11 14:34:12 +00:00
Paul
87a9841885 feat(mobx): implement locale options 2021-12-11 11:56:33 +00:00
Paul Makles
5a41c25e3c feat(mobx): add drafts and state context 2021-12-10 12:53:41 +00:00
An00nymushun
1983155486
fix(ui): flicker on modal close (#407) 2021-11-18 20:36:24 +00:00
Paul
67834309b1 fix: use masquerade everywhere applicable
fixes #400
2021-11-14 19:53:50 +00:00
Paul
fb1de01edd fix: remove removed messages from reply bar
fixes #71
fixes #143
2021-11-14 19:30:41 +00:00
Paul
b938f6620b fix: prevent reply overflow
fixes #399
2021-11-14 18:46:46 +00:00
Paul
374f5d1747 fix: accent buttons and allow selection of back
fixes #398
fixes #397
2021-11-14 18:29:46 +00:00
Paul
8664cda744 feat: add moderation badge 2021-11-13 23:11:40 +00:00
Paul
f467349083 feat: add new badges 2021-11-13 22:55:41 +00:00
Steveplays
bef24b7cdd
fix: added hover event to overline + removed context menu (#393) 2021-11-12 20:20:50 +00:00
Paul
3cf8c64d7c fix(markdown): enable linkify, disable fuzzyLink 2021-11-04 21:04:44 +00:00
Paul
d82573b5fc feat(messaging): render masqueraded messages 2021-11-04 20:55:26 +00:00
Paul
7e7f9d0f23 chore(markdown): disable linkify 2021-11-04 14:35:41 +00:00
Paul
112a6f5497 fix(markdown): fix line breaks
fixes #214
2021-11-04 14:33:59 +00:00
Paul
20590641bc fix(sidebar): handle channel as muted if 'none' 2021-11-04 13:42:46 +00:00
Ed L
893cd6b4cc
feat(i18n): translate home buttons and server tooltips (#361) 2021-10-31 22:42:40 +00:00
bree
1800aace43
feat: require at least two characters to autocomplete emoji (#298) 2021-10-31 22:36:38 +00:00
3nt3
b09ccd90ba
fix: add context menu to individual attachments if > 1 attached (#348) 2021-10-31 21:25:33 +00:00
RigidStudios
856bbb598c
fix: muted channels no longer have new messages badge (#297) 2021-10-31 21:10:42 +00:00
Paul
bb5509f660 feat(categories): autosave category changes 2021-10-30 18:20:12 +01:00
Paul
89c0026fa2 Fix mark read logic, should fix #307.
Add bot delete confirmation, closes #302.
2021-10-10 16:28:56 +01:00
Paul Makles
a04c68f5e8
Merge pull request #267 from brecert/fix-196 2021-10-09 23:44:36 +01:00
Paul
920f78b650 Virtualise server settings user lists. Closes #300 2021-09-25 14:43:28 +01:00
Paul
81379d6ec4 Explicitly deny bad URLs.
Fixes #252.
Handle embed untrusted links better.
2021-09-25 10:54:32 +01:00
Paul Makles
e9a88bc31c
Merge pull request #278 from TaiAurori/master 2021-09-24 13:59:57 +01:00
TaiAurori
21122583aa singular form of "members" when only one member 2021-09-21 14:41:57 -04:00
TaiAurori
f7f101f7b2 move imports 2021-09-21 14:13:41 -04:00
TaiAurori
3d5c7ab9ce invite embed tweaks 2021-09-21 14:02:38 -04:00
brecert
51092db01b
Change UserHover to use global identity instead of server
- fixes #196
2021-09-19 03:42:01 -04:00
brecert
5b16977b0e
Fix enter key sending message while still composing 2021-09-17 17:20:22 -04:00
Paul
51f23f5aa0 Include noreferrer on embed links / window.open. 2021-09-17 09:37:07 +01:00
Paul
4b8ad44aa9 Fix unreads and mark as read. 2021-09-14 21:09:42 +01:00
Paul
75ee61525f Bump revolt.js to include rate limiter.
Handle new server flags.
Show server ping in developer tab.
2021-09-14 17:18:44 +01:00
Paul
cc45b9e255 Simplify how last message is handled. 2021-09-14 15:07:42 +01:00
Paul Makles
8da6f87efb
Merge pull request #216 from gregorypappas/dominant-baseline 2021-09-12 00:28:23 +01:00
brecert
806e3108cb
Improve reply mention styling
- [#220] reply mention now uses translations
- reply mention styling improved
  - `@` fits better
  - `min-width: 6ch` is used to remove shifting between `on` and `off` lengths, mostly for the english `on/off` but could be modified to work with any language in the future.
2021-09-11 11:53:50 -04:00
Gregory Pappas
ee97e9bc0f
FIx ping counter alignment in Firefox but actually
This property isn't transformed into kebab-case due to a bug in Preact.
2021-09-10 06:52:05 -05:00
Paul Makles
633933fb48
Merge pull request #203 from goaaats/fix/youtube_timestamp
Append youtube timestamp to embed url if provided by january
2021-09-09 22:53:36 +01:00
Paul
048267b419 Remove stray console.log and update translations.
Update themes endpoint and filter unmatched commits.
2021-09-09 22:39:17 +01:00
Paul Makles
efbbb6f1aa
Merge pull request #199 from brecert/mentions-methods 2021-09-09 22:00:03 +01:00
Paul Makles
0acfd23334
Merge pull request #190 from leodr/settings-category-alignment
Add padding to settings category titles to align the visually with icons
2021-09-09 21:08:13 +01:00
Paul Makles
9b4f91dde5
Merge pull request #194 from gregorypappas/patch-1
Fix ping count alignment in Firefox
2021-09-09 21:07:40 +01:00
Paul Makles
6930e0eb40
Merge pull request #180 from Snazzah/invite-count 2021-09-09 21:04:43 +01:00
Paul Makles
01b6c292ee
Merge pull request #202 from brecert/hide-channels 2021-09-09 20:55:41 +01:00
Paul Makles
f925479121
Merge pull request #206 from goaaats/fix/default_channel 2021-09-09 20:53:15 +01:00
brecert
999fc5b639
Fix major image bugs for chrome 93+
- fixed major bugs for chrome 93+ at the cost of minor issues that may appear (unsure, did not find any in testing)
- position scaled image to the left for firefox (firefox aspect-ratio still does not scale correctly)
- added `--width` and `--height` to the `Grid` for theme creators who may want to use such information easily
2021-09-08 07:01:11 -04:00
goat
a32a7d409f
remove unused import 2021-09-07 21:42:32 +02:00
goat
55a7b00954
fix: choose the first channel in the server if none is selected 2021-09-07 21:40:46 +02:00
goat
64f1cc5e4a
fix: append youtube timestamp to embed url if provided by january 2021-09-07 17:36:33 +02:00
brecert
ed56967e10
Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -04:00
brecert
f35ebeab67
Add shift+click to channel links 2021-09-07 09:26:12 -04:00
brecert
a308e6ecb8
Add shift+click to mention mentions 2021-09-07 09:09:12 -04:00
brecert
b166b06321
Change mention to channel mention 2021-09-07 08:58:39 -04:00
brecert
dd9b486dab
Add shift+click to link to a channel in the textarea 2021-09-07 08:34:40 -04:00
brecert
2966e77917
Add shift+click to mention a user in the textarea 2021-09-07 08:14:22 -04:00
Gregory Pappas
00d4d975cf
Fix ping count alignment in Firefox 2021-09-07 02:13:15 -05:00
Leo Driesch
c520fbf59a Add padding to settings category titles to align the visually with icons 2021-09-06 20:26:15 +02:00
Snazzah
2b84850891 Format member count in invites 2021-09-03 18:34:16 +00:00
Paul
2ccc0b7b5e Change invite rendering logic.
Handle link warnings on embeds.
Remove "EDIT!!" 🙏🙏🙏
2021-09-03 13:04:37 +01:00
Paul Makles
571b30243c
Merge pull request #169 from TaiAurori/master 2021-09-03 11:29:46 +01:00
Paul
9adad4a4ab Fix issues introduced by #162.
Switch to more consistent naming scheme.
2021-09-03 11:21:51 +01:00
Paul Makles
966daa6c78
Merge pull request #158 from Snazzah/trusted-links 2021-09-03 11:18:16 +01:00
Paul Makles
8ad1130a00
Merge pull request #159 from Snazzah/bots-look-cool 2021-09-03 11:04:53 +01:00
Paul Makles
3aa90ab570
Merge branch 'master' into contextual_border_radius_variables 2021-09-03 11:01:19 +01:00
Paul
c302eade17 Update source links from GitLab to GitHub. 2021-09-03 10:30:27 +01:00
Paul
a387d3c6ae Use variables for scrollbar width.
Update language definitions.
2021-09-03 10:17:42 +01:00
TaiAurori
2f950aab53
add visible joining indicator 2021-08-31 21:37:42 +00:00
TaiAurori
a10e5100d3
add proper placeholder for invalid invite 2021-08-31 21:22:19 +00:00
TaiAurori
f9bb332605
reindent 2021-08-31 20:45:01 +00:00
TaiAurori
0b0d1186eb
invite embeds 2: electric boogaloo 2021-08-31 20:30:02 +00:00
TaiAurori
2e9a76519e Merge branch 'master' of https://github.com/TaiAurori/revite 2021-08-30 18:24:35 -04:00
TaiAurori
3d1ee73032 invite embeds preview 2021-08-30 18:21:49 -04:00
LambdAurora
1d42f0a60a
Introduce new border radius variables for stable theming. 2021-08-30 23:39:02 +02:00
Snazzah
3678a32d95 Add bot editing 2021-08-30 19:10:55 +00:00
Paul
d368820aeb Add CTRL + ENTER to force send message.
Fix: cursor jumping to the end of message area.
Fix: inconsistent message send button on mobile.
2021-08-30 18:01:32 +01:00
Paul
4e3e57a7c9 Fix issues introduced in new Typescript version. 2021-08-30 16:45:23 +01:00
Snazzah
d8465b1aae Add trusted link handling in renderer/prompt 2021-08-30 14:08:13 +00:00
Paul
2a2f711eb5 Fix Korean language name. 2021-08-30 15:01:15 +01:00
Paul
0ca99ddceb Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
2021-08-30 13:26:19 +01:00
Paul Makles
43010b3b72
Merge pull request #151 from ryanalexander/count-direct-messages
Treat direct messages as mention, group behavior is the same
2021-08-30 12:19:29 +01:00
Ryan Alexander
f3786e473b Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +10:00
Ryan Alexander
3d0e95d25d Add external link warning 2021-08-29 09:56:20 +10:00
Paul Makles
5c5c9c7d22
Merge pull request #132 from flaree/handle-subdomains 2021-08-26 17:48:28 +01:00
Paul Makles
6e1545412b
Merge pull request #131 from ryanalexander/new-voice-interface 2021-08-23 13:31:07 +01:00
Ryan Alexander
dfae11c204
Update UserIcon.tsx 2021-08-23 22:28:49 +10:00
Zomatree
5a716fb1d6 color -> colour 2021-08-23 12:45:12 +01:00
Jamie
2d3afdaa83
fix indentation 2021-08-23 04:42:18 -07:00
Jamie
c4b881a525
Update Renderer.tsx 2021-08-23 04:38:21 -07:00
Jamie
852cc22dc2
Update Renderer.tsx 2021-08-22 04:31:48 -07:00
Jamie
5c01944cfb
Handle subdomains on URLs 2021-08-22 03:39:30 -07:00
Ryan Alexander
ccda5e8609 Add deafen button 2021-08-22 12:22:44 +10:00
Paul
db43c02e01 Changes for #88
Fix tooltip foreground.
Change light mode foreground colours.
Update ::selection styles.
2021-08-19 14:50:00 +01:00
Paul
2341408557 Fix unresolved import for system user ID. 2021-08-18 11:31:25 +01:00
Paul Makles
fe24b28bee
Merge pull request #104 from ryanalexander/patch-5 2021-08-18 00:59:13 +01:00
Ryan Alexander
993b85843b
Update ServerHeader.tsx 2021-08-18 09:58:49 +10:00
Paul Makles
468350b36c
Merge pull request #98 from fatalerrorcoded/master 2021-08-18 00:58:45 +01:00
Paul
b8c345f493 Add max length to message box. 2021-08-18 00:55:36 +01:00
Ryan Alexander
3d31a6c8f9
Update ServerHeader.tsx 2021-08-18 09:06:57 +10:00
Ryan Alexander
cefeebb4d2
Added verified server badge for any servers created by insert 2021-08-18 08:54:55 +10:00
Paul
69cd410aff Fix home tab item width on Firefox.
Fix inability to leave server, for #95.
Add warning to invite bot.
2021-08-17 20:47:44 +01:00
Paul
5bfba2d7cf Show friend request count in indicator. Fixes #96 2021-08-17 20:05:21 +01:00
Martin Löffler
5ab1773f01
Moved reply mention disable into internal event handler 2021-08-17 20:52:16 +02:00
Martin Löffler
29ed48fa70
Disable mention behavior on self-replies 2021-08-17 17:29:25 +02:00
Martin Löffler
b01a3c5554
Hide reply mention button from current user 2021-08-17 17:20:53 +02:00
Ryan Alexander
66e946f0fc
Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Paul
1f2e58b10e Include @ symbol when reply is a mention. 2021-08-16 18:08:44 +01:00
Paul
b4f16f0d00 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Paul
72e9cda844 Attempt to fix attachments not showing up on Samsung Internet. 2021-08-16 15:16:54 +01:00
Paul
8ba5c13cfc Fix Revolt on WebKit browsers. 2021-08-15 22:58:16 +01:00