Commit graph

54 commits

Author SHA1 Message Date
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
Paul
67d3fb35a4 Format code. 2021-07-06 19:29:27 +01:00
nizune
fd57f81118 Fix: Small gap fixes 2021-07-05 22:50:55 +02:00
Paul
ed12d5f4f9 Fix: Add bottom navigation padding to settings.
Fix: New members joining don't show.
2021-07-05 17:55:08 +01:00
nizune
f1d413b6ef Fix: Small mobile fixes, paddings 2021-07-05 16:24:25 +02:00
Paul
b5a11d5c8f Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul
7bd33d8d34 Run prettier on all files. 2021-07-05 11:23:23 +01:00
insert
c4b9950514 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul
7067627027 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
3c2a85a3e4
Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul
1768264272 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
49e49f3952 Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
bree
a4051330a3
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
c4bbd1e40a Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-03 21:27:23 +01:00
nizune
1ad69b4475 Fix: Some header adjustments 2021-07-03 16:40:56 +02:00
Paul
55633219f9 Fix: Bottom navigation would not let you escape friends. 2021-07-03 15:00:17 +01:00
nizune
e6418e5fab Update: Larger touch targets for mobile 2021-07-03 12:18:10 +02:00
nizune
b6724c6680 Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
Paul
030d743af9 Fix i18n for server settings.
Start work on roles.
Add temporary age gate.
2021-07-02 22:08:03 +01:00
Paul
1cb59ca40c Add SVG masks to server / user icons. 2021-07-02 16:24:36 +01:00
nizune
0f2b6b6b44 Fix: Message copy brackets and icon changes 2021-07-02 16:51:06 +02:00
Paul
7982489ab6 Link to profiles from message / member sidebar. 2021-07-02 13:35:50 +01:00
nizune
bf1eb2c6d1 Update: Continued work on Friends tab + fixes 2021-07-02 13:56:38 +02:00
nizune
4d9d74224f Update: Work on new Friends tab + minor fixes 2021-07-02 10:38:43 +02:00
Paul
f5b3b15188 Use UserIcon in server list header.
Re-design status context menu.
2021-07-01 19:37:36 +01:00
nizune
9243b3e20d Fix: changed icons to solid on sidebar for temp 2021-07-01 19:27:38 +02:00
nizune
71bc438333 Fix: small fixes for members sidebar 2021-07-01 18:54:11 +02:00
Paul
471b4b0847 Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul
b31183e0f8 Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
Paul
af9d6fdedf Attempted implementation of new sidebar style. 2021-06-27 22:35:36 +01:00
Paul
4501a02b5d 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
4102b69ca4 Update: Changed icon pack to Boxicons 2021-06-27 12:17:59 +02:00
Paul
e4786e7230 Render server categories. 2021-06-27 00:14:58 +01:00
Paul
1aa2b1226a Fix: Set global emoji pack.
Fix: Use conditional links for bottom navigation.
Fix: Margin error on queued messages.
2021-06-24 17:06:16 +01:00
Paul
acadd8ab17 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
3393795817 Fix: Emojis showing through spoilers.
Fix: Copy ID copies wrong ID.
Messaging: Add context menu to avatar / username.
2021-06-24 16:43:37 +01:00
Paul
363789c825 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
29bb93f399 Remove twemoji dependency.
Support re-connecting after going / starting offline.
2021-06-22 19:34:52 +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
3c6e3b9fbf Add bottom navigation and locale selector. 2021-06-21 13:44:43 +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