Commit Graph

201 Commits (4c87bc54a8a226d90dae7bf5bc73216676db533e)

Author SHA1 Message Date
trashtemp 83f38d71ce
feat(header): new glass header on channel view 2021-12-26 22:26:27 +01:00
trashtemp 716edb3318
feat(servers): added new icons to server sidebar 2021-12-26 20:28:48 +01:00
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
Paul 56ab2a2917 feat(sidebar): show DMs under home button 2021-12-24 23:53:26 +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 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
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 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 374f5d1747 fix: accent buttons and allow selection of back
fixes #398
fixes #397
2021-11-14 18:29:46 +00:00
Steveplays bef24b7cdd
fix: added hover event to overline + removed context menu (#393) 2021-11-12 20:20:50 +00:00
Paul 20590641bc fix(sidebar): handle channel as muted if 'none' 2021-11-04 13:42:46 +00:00
RigidStudios 856bbb598c
fix: muted channels no longer have new messages badge (#297) 2021-10-31 21:10:42 +00: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 4b8ad44aa9 Fix unreads and mark as read. 2021-09-14 21:09:42 +01:00
Paul cc45b9e255 Simplify how last message is handled. 2021-09-14 15:07:42 +01: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 efbbb6f1aa
Merge pull request #199 from brecert/mentions-methods 2021-09-09 22:00:03 +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 01b6c292ee
Merge pull request #202 from brecert/hide-channels 2021-09-09 20:55:41 +01:00
goat 55a7b00954
fix: choose the first channel in the server if none is selected 2021-09-07 21:40:46 +02:00
brecert ed56967e10
Add the ability to hide the channel sidebar
(the left one)
2021-09-07 10:51:46 -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
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
Ryan Alexander f3786e473b Treat direct messages as mention, group behaviour is the same 2021-08-29 10:29:58 +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
Ryan Alexander 66e946f0fc
Centered mention count + Fixed file formatting for last commit 2021-08-17 17:19:29 +10:00
Paul b4f16f0d00 Handle role hoisting / ranking.
Closes #76 and closes #75.
2021-08-16 17:02:24 +01:00
Ryan Alexander 44521716c6
Update ServerListSidebar.tsx 2021-08-16 05:24:37 +10:00
Ryan Alexander 8124119e73
Update ServerListSidebar.tsx 2021-08-16 05:17:21 +10:00
Paul d72adacb24 Fix search not working on mobile. 2021-08-15 18:01:25 +01:00
Ryan Alexander a6c788f469
Used global language file for text 2021-08-16 01:57:33 +10:00
Ryan Alexander 3e3c490a22
Add Tooltip to settings icon 2021-08-16 01:40:58 +10:00
Paul 8a104855a1 Add settings button to server list sidebar.
Move more border radiuses to variables.
2021-08-15 15:21:23 +01:00
Paul 4abf98adcb 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 8609a1f016 Try optimise members list. 2021-08-13 22:31:28 +01:00
Paul 8137409dae Fix search scroll.
Add bot badge.
2021-08-12 12:16:24 +01:00
Paul d912e7209f Small fixes for search. 2021-08-11 13:32:31 +01:00
Paul 7a80c0edb5 Add search back. 2021-08-09 17:34:25 +01:00
Paul f19e334d56 Handlers for UserShort.
View user's profile picture.
Close #25, adds logic to hamburger.
2021-08-09 15:51:22 +01:00
Paul d5b0d8d9cf Display all server roles separately. 2021-08-08 21:50:29 +01:00
Paul a19ff58e12 Switch to React Virtuoso from react-window 2021-08-08 20:28:47 +01:00
Paul 5c45e29f92 Improve category design for members list.
Implement new list for groups.
2021-08-08 18:26:16 +01:00
Paul f2c59ae451 Style categories. 2021-08-08 17:18:58 +01:00
Paul 8e24d1490c Virtualised sidebar test. 2021-08-08 16:17:16 +01:00
Paul 4f1ba8942f Add server avatars. Closes #52
Add identity edit menu. Closes #51
2021-08-07 22:42:15 +01:00
Paul 1f903cd56b Manage state per channel. Closes #2 2021-08-07 20:43:08 +01:00
Paul 0ea80b5717 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 55e00bf93f Make the linter happy. 2021-08-05 14:47:00 +01:00
nizune f25dae77aa Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
Paul e1ffefe2ba Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune 9581a4df92 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul 38dd135f67 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune 03f572f365 More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
nizune ab54afc1e0 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune 12047ba944 New server sidebar swoosh 2021-08-02 10:57:17 +02:00
Paul 63d2d1b760 Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul 6b6279ffee Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 719e5b4dd8 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul 305243ab43 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 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 bdd93e8840 Fix duplicate member entries. 2021-07-30 23:43:26 +01:00
Paul 4c9554c5e9 Zero error milestone. 2021-07-30 22:40:49 +01:00
Paul b0681dfc99 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
Paul d5cd45196e Clean up code. 2021-07-29 20:11:50 +01:00
Paul 768c80b051 Remove useServer and useServers. 2021-07-29 19:01:40 +01:00
Paul bde9a2e8f7 Remove useChannels.
Add servers to MobX.
2021-07-29 18:49:49 +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 f8611ddea5 Finish migrating user state over to MobX. 2021-07-29 15:51:19 +01:00
Paul 4dffaad6c1 Work towards removing useUsers. 2021-07-29 15:11:21 +01:00
Paul a8c3482815 Temporary member nickname / role colour solution. 2021-07-25 17:52:57 +01:00
Paul fd03c64d92 Show friend requests on top-right avatar. 2021-07-25 12:50:34 +01:00
Paul e12ebc9b0d Fix scrollbar on server list. 2021-07-25 10:56:22 +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 38157ae14b Add search sorting. 2021-07-21 18:27:05 +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
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
Paul 9846262e8b Fix attachment scaling. 2021-07-10 15:21:35 +01:00
Paul e09fd006a8 Fix: Sever list was not center aligned. 2021-07-10 12:29:32 +01:00
Paul 6a2dd50236 Fix: Don't lose focus on send.
Sidebar: Show home button on mobile.
2021-07-10 11:21:05 +01:00
Paul 54185b5839 Server Sidebar: Add home icon hover.
Home Sidebar: Remove top bar.
2021-07-09 22:15:36 +01:00
Paul 2ee3da28b9 Experiment: New search function. 2021-07-09 14:34:36 +01:00
nizune 5f8ee9d656 Refined bottom navigation bar on mobile 2021-07-09 13:35:24 +02:00
nizune 2f60013935 Fix: Set font-family: inherit on auto-complete 2021-07-08 19:17:54 +02:00
nizune f88a37f831 Temp. fix for members list sections 2021-07-07 13:37:14 +02:00
Paul cf7dd6f99b Add collapsible sections to member sidebars. 2021-07-06 22:52:50 +01:00