Commit Graph

190 Commits (f3b6d32dee005cf0f5a172b3e58056fbdd22dd1f)

Author SHA1 Message Date
trashtemp 40315ea593 fix: fixed channel sidebar on mobile 2021-12-20 14:56:37 +01:00
Paul Makles 3ee0c37a60 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 6aa542d2a9 feat(mobx): server notification options + data store 2021-12-11 23:34:46 +00:00
Paul 763ac4eb98 feat(mobx): migrate auth and config 2021-12-11 21:04:12 +00:00
Paul a83af8b2db feat(mobx): add layout (paths + sections) 2021-12-11 14:34:12 +00:00
Paul 9ffacc07ca fix: accent buttons and allow selection of back
fixes #398
fixes #397
2021-11-14 18:29:46 +00:00
Steveplays 0248d01028 fix: added hover event to overline + removed context menu (#393) 2021-11-12 20:20:50 +00:00
Paul f88894b377 fix(sidebar): handle channel as muted if 'none' 2021-11-04 13:42:46 +00:00
RigidStudios 3233c01e2d fix: muted channels no longer have new messages badge (#297) 2021-10-31 21:10:42 +00:00
Paul acdd37c0f3 Fix mark read logic, should fix #307.
Add bot delete confirmation, closes #302.
2021-10-10 16:28:56 +01:00
Paul 8b4b6832e9 Fix unreads and mark as read. 2021-09-14 21:09:42 +01:00
Paul 5f806135d9 Simplify how last message is handled. 2021-09-14 15:07:42 +01:00
Gregory Pappas bc88631ac8 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 f77acd8c57 Merge pull request #199 from brecert/mentions-methods 2021-09-09 22:00:03 +01:00
Paul Makles 0a3c4bb41b Merge pull request #194 from gregorypappas/patch-1
Fix ping count alignment in Firefox
2021-09-09 21:07:40 +01:00
Paul Makles 9532863e96 Merge pull request #202 from brecert/hide-channels 2021-09-09 20:55:41 +01:00
goat bfccd9cfac fix: choose the first channel in the server if none is selected 2021-09-07 21:40:46 +02:00
brecert 3f01dd07ac Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -04:00
brecert 42382a0107 Change mention to channel mention 2021-09-07 08:58:39 -04:00
brecert bc2fef4596 Add `shift+click` to link to a channel in the textarea 2021-09-07 08:34:40 -04:00
brecert e3067837ad Add `shift+click` to mention a user in the textarea 2021-09-07 08:14:22 -04:00
Gregory Pappas db3df2e49f Fix ping count alignment in Firefox 2021-09-07 02:13:15 -05:00
Paul c370a24fad Fix Korean language name. 2021-08-30 15:01:15 +01:00
Paul 13e0fc86b0 Fix ghost notifications on closed DMs.
Fix link warning not closing on open.
2021-08-30 13:26:19 +01:00
Ryan Alexander 516f3effdf Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +10:00
Paul 7fa93f1f22 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 61c7b4236e Show friend request count in indicator. Fixes #96 2021-08-17 20:05:21 +01:00
Ryan Alexander bbdba3881e Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Paul cb064aba50 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Ryan Alexander b4c6837660 Update ServerListSidebar.tsx 2021-08-16 05:24:37 +10:00
Ryan Alexander 2ecc2b920c Update ServerListSidebar.tsx 2021-08-16 05:17:21 +10:00
Paul 13771d7623 Fix search not working on mobile. 2021-08-15 18:01:25 +01:00
Ryan Alexander 69b4cebc2d Used global language file for text 2021-08-16 01:57:33 +10:00
Ryan Alexander 2befb9e74e Add Tooltip to settings icon 2021-08-16 01:40:58 +10:00
Paul 4faba20410 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Paul 1b1869f408 Bump revolt.js to fix objects not being properly updated.
Also don't re-fetch members on each message.
Add cursor: pointer to attachment images upon request.
Use client message cache for replies.
2021-08-15 09:58:22 +01:00
Paul 42eb6640e9 Try optimise members list. 2021-08-13 22:31:28 +01:00
Paul d3894270c1 Fix search scroll.
Add bot badge.
2021-08-12 12:16:24 +01:00
Paul 77fb6f3527 Small fixes for search. 2021-08-11 13:32:31 +01:00
Paul b6230abbd7 Add search back. 2021-08-09 17:34:25 +01:00
Paul f1babfdd51 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul f2622121a4 Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul 096ab6caec Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul a72db7570c Improve category design for members list.
Implement new list for groups.
2021-08-08 18:26:16 +01:00
Paul 467db34523 Style categories. 2021-08-08 17:18:58 +01:00
Paul 6cb1b0df26 Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
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 11e0f54d96 Fixes #9 and closes #8. This adds a way to mark servers as read.
Servers are also marked as read when joining them.
You can now also mark DMs as read.
2021-08-07 12:30:19 +01:00
Paul 872b710bc4 Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune ba76863255 Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
Paul 635eeebfee Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune 52b31d21e4 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul 308bebbbd6 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune 936d196beb More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
nizune 6f08a70d15 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune 1ded8ed4fc New server sidebar swoosh 2021-08-02 10:57:17 +02:00
Paul 5c100b212e Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul 54900008a6 Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 6750812916 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul 23a9d41450 Fix server id not being replaced properly.
Fix links in spoilers opening when revealing.
Fix unread icon appearing for home.
Fix unreads not being acknowledged.
2021-07-31 10:05:59 +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 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 93619cebd7 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul 1271c29117 Show friend requests on top-right avatar. 2021-07-25 12:50:34 +01:00
Paul 6b573bba98 Fix scrollbar on server list. 2021-07-25 10:56:22 +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 21de7ab67f Add search sorting. 2021-07-21 18:27:05 +01:00
Paul 0afd123ef5 Fix: Prevent context menu on images in settings.
Revert mobile change.
Messages: Add channel id matching.
2021-07-10 17:35:18 +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 e717cb415e Fix attachment scaling. 2021-07-10 15:21:35 +01:00
Paul be3e4ba184 Fix: Sever list was not center aligned. 2021-07-10 12:29:32 +01:00
Paul e15dd408ec Fix: Don't lose focus on send.
Sidebar: Show home button on mobile.
2021-07-10 11:21:05 +01:00
Paul 2258815dd9 Server Sidebar: Add home icon hover.
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
Paul 2720c8db8f Experiment: New search function. 2021-07-09 14:34:36 +01:00
nizune e985c4a273 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +02:00
nizune 3325756707 Fix: Set font-family: inherit on auto-complete 2021-07-08 19:17:54 +02:00
nizune 93d0ea475d Temp. fix for members list sections 2021-07-07 13:37:14 +02:00
Paul 5ce6a679ab Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00
Paul fb0ae130e9 Format code. 2021-07-06 19:29:27 +01:00
nizune e9cb87cfab Fix: Small gap fixes 2021-07-05 22:50:55 +02:00
Paul 62330ddc61 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune 0b08dbeaad Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +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 e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04: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
nizune a83d41cbcc Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00