Commit Graph

213 Commits (bd07b461ac48cb4eabffeaf00bc098f7791220e3)

Author SHA1 Message Date
bree ebdf64b623 Fix: attachment scaling and better image scaling
- attachment scaling now works for all forms of attachments
- switched to grid based action bar
- added onLoad class so image proportions are "trimmed" once the image has loaded to avoid moving the view around before loading
  - this may be possible to remove at some point
2021-07-05 04:32:05 -04:00
bree c4fce638cf Hide `--sidebar-active` and keep it internal 2021-07-04 21:24:16 -04:00
bree 3f151f6f77 Resolve remaining review notes 2021-07-04 21:22:33 -04:00
bree 576984d5bd Replace usage of `<></>` with `null` for project and style consistency 2021-07-04 21:13:53 -04:00
bree f7466773ad Fix merge conflict missed from before 2021-07-04 21:11:23 -04:00
bree 1cc6514c9a Update revolt.js to fix types 2021-07-04 21:09:24 -04:00
bree e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul 89d14c5795 Switch crcong's Vite fork to fix dynamic css imports. 2021-07-04 20:46:30 +01:00
nizune 51cb2272f2 Settings: Changed to solid icons, fixes 2021-07-04 21:33:05 +02:00
Paul 99c979ac26 Add a way to edit system message channels. 2021-07-04 19:49:58 +01:00
nizune f8a39fc24f Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-07-04 20:16:42 +02:00
nizune e6f46e7455 Fixed descriptions on checkbox components 2021-07-04 20:15:38 +02:00
insert 41c6a95a6a Merge branch 'images' into 'master'
replace js image scaling with css for message attatchments

See merge request revolt/revite!3
2021-07-04 17:53:55 +00:00
Paul 720bc263a5 Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
nizune d5c3f9e0ab Fix: Fixed detail element in friends list 2021-07-04 17:49:44 +02: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
Paul 476c521b92 Fix: Handle defaults before transforming languages.
Remove Hardcore Mode.
2021-07-04 13:02:32 +01:00
nizune a83d41cbcc Fix: Small changes to profile context menu 2021-07-04 12:47:06 +01:00
Paul a49d40e71d Move details styling into its own component. 2021-07-04 12:47:06 +01:00
nizune 9da3a4262d Fix: Small header fixes 2021-07-04 12:47:06 +01:00
Paul 78d0abb592 Fix: Defaults / dayjs will not always be present. 2021-07-04 12:46:33 +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
bree 1a3281cba3 Fix: Chrome support for css image scaling 2021-07-04 00:48:24 -04:00
Paul 504f491074 Fix: Set head = true as we tick over midnight.
Re-design blocked messages.
2021-07-03 23:51:15 +01:00
Paul e9f303828f Add auto-complete to message editor. 2021-07-03 23:42:05 +01:00
Paul d8930d5e94 Add auto-complete to profile editor. 2021-07-03 23:35:27 +01:00
Paul 7d28689b64 Remove gradient on server banners. 2021-07-03 22:35:49 +01:00
Paul d0818bb165 New design for server roles editor. 2021-07-03 22:17:53 +01: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 c5e96aee43 Fix page height on mobile.
Fix keyboard focus on mobile.
2021-07-03 15:23:29 +01:00
Paul af2e8f685c Fix: Bottom navigation would not let you escape friends. 2021-07-03 15:00:17 +01:00
Paul 286441cfdc Temporary blocked messages solution.
Fix settings theme colour.
2021-07-03 14:45:08 +01:00
Paul 1e28c18ab5 Add helmet for theme-color in settings.
Update colours in main app.
2021-07-03 14:27:57 +01:00
nizune 9a04c34e91 Update: Larger touch targets for mobile 2021-07-03 12:18:10 +02:00
nizune c8fa374126 Fix: Friends categories now sticky 2021-07-03 11:12:42 +02:00
nizune e4063a89e8 Fix: Fixed bugs in friends menu 2021-07-03 10:57:07 +02:00
nizune 124284319d Update: Added solid icons where needed 2021-07-03 10:46:35 +02:00
bree fdc2cdc4c8 image attachments now have their width and height properly set 2021-07-03 01:47:46 -04:00
bree 630611112f replace js image scaling with css for message attachments 2021-07-02 22:40:53 -04:00
bree d4765b7db4 fix long width image previews to fit into view 2021-07-02 22:37:45 -04:00
nizune 198b565de6 Update: Age gate view 2021-07-03 00:46:19 +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 a1d52f0cd9 Fix: don't hide sidebars on friends on desktop 2021-07-02 20:59:51 +01:00
Paul c7bbbcdb8b Fix modals with horizontal form components.
Fix invite / friends menu having sidebars.
2021-07-02 20:57:48 +01:00
Paul d1fd371b70 Fix profile links from user profiles. 2021-07-02 19:01:28 +01:00
Paul 2ccb13f874 Add i18n to incoming requests.
Add icon stacking mask.
2021-07-02 18:56:00 +01:00
nizune d4bec3dc1b Fix: Fixed pending requests menu sizing 2021-07-02 19:48:11 +02:00
Paul 418947c6fa Add pending requests menu. 2021-07-02 18:00:17 +01:00
Paul 32010fdd74 Add collapsible sections in friends menu. 2021-07-02 16:47:42 +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 f5c2838d36 Add dayjs language defaults.
Add remove / block user confirmation.
2021-07-02 14:50:24 +01: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
Paul 05ab27b990 Fix Friend button styling and actions.
Can now call from friends list.
2021-07-02 11:13:14 +01:00
nizune c8425d86c8 Fix: small fixes for mobile 2021-07-02 11:39:07 +02:00
nizune d84e76936a Fix: small fixes to friends menu 2021-07-02 11:13:54 +02:00
Paul 6abdb511b1 All class name to be set on category / overline. 2021-07-02 09:41:37 +01:00
nizune a9d0f74f41 Update: Work on new Friends tab + minor fixes 2021-07-02 10:38:43 +02:00
Paul 156aee4aba Filter theme keys. 2021-07-01 21:24:20 +01:00
Paul 4afdd15813 Fix avatar direction. 2021-07-01 21:23:54 +01: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 d34efc1e69 Add permissions / roles settings. 2021-07-01 17:36:34 +01:00
Paul 6082b2191b Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul 89e4566feb View roles in server settings. 2021-06-30 21:28:56 +01:00
Paul 5034a405c5 Handle updates of members for permissions. 2021-06-30 20:06:42 +01:00
Paul 745977367d Fix: Placeholder would overflow sidebar. 2021-06-29 22:21:26 +01:00
nizune 76601c8bb1 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:36:46 +02:00
nizune 66b25ecb58 Fix: Small changes to tooltip 2021-06-28 11:36:37 +02:00
Paul 8d346c188c Set update indicator default state properly. 2021-06-28 10:29:56 +01:00
nizune 443260e447 Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite 2021-06-28 11:27:45 +02:00
nizune 71672101e4 Fix: Small fixes for RTL items 2021-06-28 11:27:24 +02:00
Paul d52d4b35ee Independent tooltip for missing permissions. 2021-06-28 10:25:51 +01:00
Paul bb5336f191 Add PWA update indicator. 2021-06-28 10:17:38 +01:00
nizune 843ae5a082 Small fixes 2021-06-28 11:12:19 +02:00
nizune ef62740f58 Fix: More fixes for the message box and settings 2021-06-28 10:32:55 +02:00
nizune 9248ba01a2 Fix: Small update to categories and icons 2021-06-28 09:55:05 +02: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 b6cb3cfd6e Handle permissions in message box. 2021-06-26 22:16:43 +01:00
Paul fbda68cbf8 Fix notifications playing in servers. 2021-06-26 11:23:28 +01:00
Paul b42cf81088 Fix: "Modify Account" did not have access to client 2021-06-26 10:34:48 +01:00
Paul 90713b3c5d Support replying to files, show icon in reply. 2021-06-26 09:45:07 +01:00
Paul 5c0e14b6ca Notifications: Block muted channels from push notifs. 2021-06-25 12:37:59 +01:00
Paul 809c2f1d18 Feature: Basic notification options implementation 2021-06-24 23:59:46 +01:00
Paul fa3f756ae7 Fix: Notification settings not affecting playSound 2021-06-24 22:06:30 +01:00
Paul b833f0cc31 Fix: Load Theme early for onboarding. 2021-06-24 21:07:07 +01:00
Paul 380a36c26e Fix: Onboarding would not appear due to content pushing it out of the way. 2021-06-24 20:53:12 +01:00
Paul a315875886 Remove prompt again. 2021-06-24 20:40:22 +01:00
Paul 94ee5d8f96 Fix: Make settings not jump around.
Fix: Auto-complete font size.
2021-06-24 17:29:01 +01:00
Paul e81db17576 Fix: Editor would not open "delete_message".
Fix: Clear status if empty string given.
2021-06-24 17:09:34 +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