Commit Graph

207 Commits

Author SHA1 Message Date
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
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
9724181d28 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
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
b724b9aec2 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
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
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