Commit Graph

47 Commits

Author SHA1 Message Date
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
67f041a4f5 Work towards removing useUsers. 2021-07-29 15:11:21 +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
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
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
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
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
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
c254179801 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
nizune
124284319d Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
Paul
e252c2ff2e Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
8f047788c4 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
nizune
a9d0f74f41 Update: Work on new Friends tab + minor fixes 2021-07-02 10:38:43 +02:00
Paul
2c1421fd97 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
nizune
0b1486ecda Fix: changed icons to solid on sidebar for temp 2021-07-01 19:27:38 +02:00
Paul
6082b2191b Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul
745977367d Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
Paul
539ed402ee Attempted implementation of new sidebar style. 2021-06-27 22:35:36 +01:00
Paul
99643c5461 Migrate to @tippyjs/react from react-tippy.
Fix strokes on home sidebar.
Add tooltips on servers.
Fix reply SVG direction.
2021-06-27 21:54:31 +01:00
nizune
38be8f8fcc Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
f459772c20 Render server categories. 2021-06-27 00:14:58 +01:00
Paul
2d9d3c489c Fix: Remove padding on user profile.
Modals: Allow all modals to be closed by ESC (permitting).
Fix: Handle closing DMs properly. Stop propagation too.
2021-06-24 16:57:12 +01:00
Paul
2d761d1e97 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
352c0e880c Context Menus: Add "mark as unread" back.
Servers: Fix various issues relating to voice channels.
2021-06-24 13:07:55 +01:00
Paul
babb53c794 Add VoiceChannel support. 2021-06-23 13:52:16 +01:00
Paul
b1a4604653 Send ack PUTs for unreads. 2021-06-22 18:01: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
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
9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul
2acb3aeb14 Re-organise assets to be closer to their respective uses. 2021-06-20 11:05:12 +01:00
Paul
a1d3b3503b Reduce re-renders of sidebars. 2021-06-19 23:12:27 +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
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