Commit Graph

72 Commits

Author SHA1 Message Date
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
bree
b341f5d166 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
91b74c39be Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-03 21:27:23 +01:00
nizune
c254179801 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
Paul
af2e8f685c Fix: Bottom navigation would not let you escape friends. 2021-07-03 15:00:17 +01:00
nizune
9a04c34e91 Update: Larger touch targets for mobile 2021-07-03 12:18:10 +02:00
nizune
124284319d Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
Paul
a9763de707 Fix i18n for server settings.
Start work on roles.
Add temporary age gate.
2021-07-02 22:08:03 +01: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
Paul
b55c291624 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
nizune
526aa72c0f Update: Continued work on Friends tab + fixes 2021-07-02 13:56:38 +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
nizune
c2c6f910fb Fix: small fixes for members sidebar 2021-07-01 18:54:11 +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