Commit Graph

190 Commits (f3b6d32dee005cf0f5a172b3e58056fbdd22dd1f)

Author SHA1 Message Date
nizune ba76863255 Updated boxicons + small fixes 2021-08-03 17:51:35 +02:00
Paul 635eeebfee Hover animation for home button.
Fix svg alignment in foreign objects.
2021-08-03 15:37:19 +01:00
nizune 52b31d21e4 Refreshed languages menu in settings 2021-08-03 11:51:40 +02:00
Paul 308bebbbd6 Open settings when clicking top left on desktop. 2021-08-02 21:36:49 +01:00
nizune 936d196beb More settings fixes + clamped long usernames 2021-08-02 17:25:39 +02:00
nizune 6f08a70d15 Small update for desktop app 2021-08-02 12:22:39 +02:00
nizune 1ded8ed4fc New server sidebar swoosh 2021-08-02 10:57:17 +02:00
Paul 5c100b212e Fix message links from search. 2021-07-31 22:39:15 +01:00
Paul 54900008a6 Move typing indicator into revolt.js 2021-07-31 13:48:26 +01:00
Paul 6750812916 Add queued messages back.
Fix various code issues.
i18n invite menu.
2021-07-31 10:31:16 +01:00
Paul 23a9d41450 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 5105e84867 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 b65dbab297 Fix duplicate member entries. 2021-07-30 23:43:26 +01:00
Paul 33decef7de Zero error milestone. 2021-07-30 22:40:49 +01:00
Paul b21985a304 Load member sidebar into MobX state. 2021-07-29 21:01:03 +01:00
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 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
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
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