Commit graph

3064 commits

Author SHA1 Message Date
Chewbacca
fe55152667 Fix break-words with HTML 2022-11-03 15:22:18 -04:00
Chewbacca
7571b88c51 Add unread indicator + fix bug with read receipts 2022-11-03 15:16:07 -04:00
Alex Gleason
7599876e13
Refactor sensitive content overlay to work with reposts 2022-11-03 14:14:02 -05:00
Chewbacca
bfcafecfe2 Merge remote-tracking branch 'origin/develop' into chats 2022-11-03 14:16:52 -04:00
Chewbacca
51c01bfc04 Keep fresh messages 2022-11-03 13:55:33 -04:00
Chewbacca
a2540cb0d0 Add route 2022-11-03 13:33:33 -04:00
Chewbacca
69723305eb Fix tests 2022-11-03 13:22:06 -04:00
Chewbacca
7451a52fc2 Merge remote-tracking branch 'origin/chats' into chats 2022-11-03 12:13:59 -04:00
Chewbacca
df2f38a60f Add ability to DM from profile 2022-11-03 12:13:54 -04:00
Alex Gleason
9bbffb6957
Fix video not visible in modal 2022-11-02 19:55:39 -05:00
Alex Gleason
27b5211203
Merge remote-tracking branch 'origin/chats' into chats 2022-11-02 16:08:39 -05:00
Alex Gleason
8cd84b6128
Chats: accepting_messages --> accepts_chat_messages 2022-11-02 15:10:13 -05:00
Alex Gleason
1873ba3e22
Chats: feature-gate chat message reporting 2022-11-02 14:33:14 -05:00
Chewbacca
d0960de07c Merge remote-tracking branch 'origin/chats' into chats 2022-11-02 15:28:22 -04:00
Chewbacca
54466f1293 Move query into Context 2022-11-02 15:28:16 -04:00
Alex Gleason
9802257751
Chats: make chat acceptance and deletion feature-gated 2022-11-02 14:14:16 -05:00
Alex Gleason
69d92b6f95
Chats: make chatsExpiration a conditional feature 2022-11-02 13:58:02 -05:00
Alex Gleason
239b2af553
Chats: make message_expiration optional (for Pleroma compatibility) 2022-11-02 13:53:41 -05:00
Alex Gleason
eeb8ca37a6
Merge remote-tracking branch 'origin/develop' into chats 2022-11-02 11:27:21 -05:00
Chewbacca
9869cf6f55 Add 'unread' indicator to Messages 2022-11-01 14:35:51 -04:00
Alex Gleason
7efb5729bd
Display only know notification types 2022-11-01 13:16:25 -05:00
Chewbacca
650387dc77 Add Policy Modal 2022-11-01 13:22:29 -04:00
Chewbacca
929a78641b Fix bug when selecting previous chat 2022-11-01 10:04:21 -04:00
Chewbacca
15cd5f9104 Remove 'Getting Started' blankslate 2022-11-01 08:22:12 -04:00
Chewbacca
e63f5e6fb5 Update lifespan copy to be dynamic in Intro 2022-11-01 08:04:31 -04:00
Chewbacca
e0a3d03b55 Update Chat Settings for the main page 2022-11-01 07:59:30 -04:00
Alex Gleason
20f47c72c9
Preferences: "sensitive contnt" typofix 2022-10-31 18:02:55 -05:00
Alex Gleason
9ae8fc4e03
Compose: clean up unused sensitivity actions 2022-10-31 16:26:58 -05:00
Alex Gleason
69157097dd
SpoilerInput: fix ref 2022-10-31 16:23:17 -05:00
Alex Gleason
f51f2984a5
Compose: overhaul Spoiler feature 2022-10-31 16:19:51 -05:00
Alex Gleason
aea7bdcaa0
Preferences: media display --> sensitive content 2022-10-31 15:22:25 -05:00
Alex Gleason
e3352b89d8
Remove "show more" CW button, display SensitiveContentOverlay instead 2022-10-31 15:18:40 -05:00
Chewbacca
d9befff3f5 Update report text to be more clear 2022-10-31 15:55:04 -04:00
Chewbacca
1d04810c5a Update ToS link to accent blue 2022-10-31 15:53:24 -04:00
Chewbacca
2c7fcdd00b Update copy for Unblock modal 2022-10-31 15:51:51 -04:00
Chewbacca
d89ac0e0a5 Conversation -> Chat 2022-10-31 15:48:42 -04:00
Chewbacca
86e79354d7 Add new Welcome experience 2022-10-31 12:14:22 -04:00
Chewbacca
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
3448022965 Support translation feature on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-27 19:48:41 +02:00
Chewbacca
da1d8c7e97 Merge remote-tracking branch 'origin/develop' into chats 2022-10-27 10:25:46 -04:00
Chewbacca
75233526cc Update duration design for Widget 2022-10-26 13:28:50 -04:00
Chewbacca
54363e24a9 Add ability to update deletion duration 2022-10-26 13:08:02 -04:00
Chewbacca
22f3dd9444 Disable chatMessages query if blocked 2022-10-25 13:10:53 -04:00
Chewbacca
f156c1026d Hide message history if blocked 2022-10-25 13:07:25 -04:00
3e0b6c38cd Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-25 18:46:29 +02:00
Chewbacca
70957fe540 Add blocked/block experience to chats 2022-10-25 11:40:14 -04:00
Chewbacca
01c40eb42d Add 'delete for me' action 2022-10-25 10:13:08 -04:00
Chewbacca
9eb09e4aab Remove Chat Silence feature from web 2022-10-25 08:23:33 -04:00
Chewbacca
c9424cda76 Merge remote-tracking branch 'origin/develop' into chats 2022-10-24 12:25:35 -04:00
d7727b727f Make ActionsModal items full width, minor style improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-23 20:52:45 +02:00
Alex Gleason
e9578a7c9a Merge branch 'truth-ads' into 'develop'
Support TruthSocial v2 ads

See merge request soapbox-pub/soapbox!1844
2022-10-21 15:17:08 +00:00
Chewbacca
0272077aee Merge branch 'sensitive-content' into 'develop'
Move sensitive filters into new component

See merge request soapbox-pub/soapbox!1842
2022-10-21 11:47:32 +00:00
Chewbacca
34cdc001e7 Lint 2022-10-21 07:41:05 -04:00
Alex Gleason
4296772093
Support TruthSocial v2 ads 2022-10-20 16:29:14 -05:00
Chewbacca
d6cae606cb Lint 2022-10-20 13:55:33 -04:00
Alex Gleason
ece6a00c2d
Ads: don't fetch the impression URL more than once 2022-10-20 12:39:22 -05:00
Chewbacca
a64df40bbb Remove 'justifyEnd' from content 2022-10-20 12:37:07 -04:00
Chewbacca
22d983c0c7 Remove from Index component 2022-10-20 12:32:19 -04:00
Chewbacca
2c701439d9 Refactor to use 'defaultMediaVisibility' function 2022-10-20 12:27:59 -04:00
Chewbacca
4a573270bd Rename to 'SensitiveContentOverlay' 2022-10-20 12:15:37 -04:00
Chewbacca
a639c789a4 Move sensitive filters into new component 2022-10-20 10:48:41 -04:00
Chewbacca
dc6ac50c70 Merge remote-tracking branch 'origin/develop' into chats 2022-10-19 10:41:32 -04:00
Alex Gleason
ed558ba5ca
MediaModal: fix clicking Audio causes modal to close 2022-10-18 19:23:01 -05:00
Alex Gleason
fa7a517a95
Pass status to MediaModal, handle status undefined 2022-10-18 19:10:16 -05:00
Chewbacca
32d7d5f06c Allow user to proceed to next step if they were previously on the Email Step 2022-10-17 15:09:10 -04:00
Chewbacca
694e1c8592 Fix linting errors 2022-10-17 12:23:03 -04:00
Chewbacca
e0379f21e2 Fix test for ChatListItem 2022-10-17 12:11:10 -04:00
Chewbacca
780147dd24 Merge remote-tracking branch 'origin/chats' into chats 2022-10-17 12:08:55 -04:00
Chewbacca
4b85a72bc9 Fix test for ChatMessageList 2022-10-17 12:08:46 -04:00
Alex Gleason
ca2aad2de0
Chats: focus textarea when navigating between chats (janky) 2022-10-17 10:50:33 -05:00
Alex Gleason
82250c23dc
Chats: search accounts only among people who follow you (TruthSocial) 2022-10-17 10:13:54 -05:00
Chewbacca
1ab7591b36 Merge remote-tracking branch 'origin/develop' into chats 2022-10-17 08:34:24 -04:00
Chewbacca
1007a2797e Re-organize folders 2022-10-17 08:34:19 -04:00
Alex Gleason
a156c399a9
VideoModal: pass visible=true 2022-10-14 16:45:10 -05:00
Chewbacca
65a8bf9aa1 Merge remote-tracking branch 'origin/develop' into chats 2022-10-14 14:27:53 -04:00
Alex Gleason
526fabcf21 Merge branch 'nuke-mobile-pages' into 'develop'
Delete "mobile" pages

See merge request soapbox-pub/soapbox!1837
2022-10-14 16:55:15 +00:00
Alex Gleason
16a95c2c33 Merge branch 'hashtag-tsx' into 'develop'
HashtagTimeline: convert to TSX+FC

See merge request soapbox-pub/soapbox!1834
2022-10-14 16:54:57 +00:00
Alex Gleason
e86e9d93b2
Delete "mobile" pages 2022-10-14 10:53:05 -05:00
Alex Gleason
e9108f6183
hashtag_timeline --> hashtag-timeline 2022-10-14 10:49:31 -05:00
Chewbacca
140cfb6e3e Change date format globally to use 12-hr format 2022-10-14 11:38:37 -04:00
Alex Gleason
514907c815
HashtagTimeline: convert to TSX+FC 2022-10-13 14:13:44 -05:00
Chewbacca
e0fd99f2db Merge branch 'improve-trends' into 'develop'
Improve Trends Panel

See merge request soapbox-pub/soapbox!1831
2022-10-13 18:37:40 +00:00
Alex Gleason
eb6de469f3 Merge branch 'media-modal-tsx' into 'develop'
MediaModal: convert to TSX

See merge request soapbox-pub/soapbox!1829
2022-10-13 18:26:22 +00:00
Alex Gleason
4e97474a59 Merge branch 'autosuggest-input-refactor' into 'develop'
Refactor Input input to accept 'theme' prop, pass down from Autosuggest components

See merge request soapbox-pub/soapbox!1815
2022-10-13 18:25:52 +00:00
Alex Gleason
0c1cda0afb
AccountHeader: fix type of avatar and header media 2022-10-13 13:06:57 -05:00
Alex Gleason
965fd8e479
MediaModal: fix types for Audio 2022-10-13 13:01:30 -05:00
Alex Gleason
def1c58835
Merge remote-tracking branch 'origin/develop' into media-modal-tsx 2022-10-13 13:00:41 -05:00
Chewbacca
8023bd82c3 Fix intl 2022-10-13 13:26:34 -04:00
Chewbacca
905eb01308 Merge branch 'add-help-text-to-username-registration' into 'develop'
Add hints to username field during registration

See merge request soapbox-pub/soapbox!1832
2022-10-13 17:11:24 +00:00
Chewbacca
92d3bf140c Improve Trends Panel in the sidebar 2022-10-13 12:35:11 -04:00
Chewbacca
f4890874d2 Add hints to username field during registration 2022-10-13 12:32:57 -04:00
Alex Gleason
cc27e46067
Audio: move useEffect's to bottom, remove unused code 2022-10-12 18:33:32 -05:00
Alex Gleason
6dddaea736
Audio: convert to TSX+FC 2022-10-12 18:24:23 -05:00
Alex Gleason
6c279cb6c3
media_modal --> media-modal 2022-10-12 17:16:55 -05:00
Alex Gleason
80ce70e33e
MediaModal: convert to TSX+FC 2022-10-12 17:16:37 -05:00
Alex Gleason
18b177d6c9
image_loader --> image-loader 2022-10-12 16:26:19 -05:00
Alex Gleason
cdd8df473e
Merge remote-tracking branch 'origin/develop' into media-modal-tsx 2022-10-12 16:26:06 -05:00
Alex Gleason
5885c454af
ImageLoader: convert to TSX 2022-10-12 16:23:16 -05:00
Alex Gleason
f42e8520b5
zoomable_image --> zoomable-image 2022-10-12 15:27:26 -05:00
Alex Gleason
e6b0d17699
ZoomableImage: refactor, clean up unused code 2022-10-12 15:26:34 -05:00
Alex Gleason
f95168b3e4
ZoomableImage: convert to TSX 2022-10-12 15:22:50 -05:00
b7c89e502c Merge remote-tracking branch 'soapbox/develop' into events- 2022-10-12 21:58:43 +02:00
Alex Gleason
21cba06d44
Delete focal point code 2022-10-12 13:24:36 -05:00
Alex Gleason
763ae5c58a
yarn lint:js --fix 2022-10-11 13:22:54 -05:00
Alex Gleason
7dff0391b1
Normalize chat attachments 2022-10-10 15:56:11 -05:00
1343928406 Make CtaBanner and ThreadLoginCta optional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:41:47 +02:00
814dcfe2cd Merge remote-tracking branch 'soapbox/develop' into events- 2022-10-06 00:01:39 +02:00
3c8c8048e5 Minor improvements, add actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-06 00:01:26 +02:00
Justin
a18cce4c81 Remove shadow from transparent input 2022-10-05 16:22:13 -04:00
Justin
7df4476427 Improve UX of chat messages 2022-10-05 16:13:29 -04:00
Justin
4a6d261bfd Improve UX of chat messages 2022-10-05 15:25:56 -04:00
Justin
c41b71c76c Invalidate query cache when new chats come in 2022-10-05 15:15:16 -04:00
Alex Gleason
69d37a10fb
ChatList: display empty message 2022-10-04 19:22:18 -04:00
Alex Gleason
19382c3ab9
ChatPageNew: display disabled ChatComposer and "To:" label 2022-10-04 19:11:34 -04:00
Alex Gleason
4bab81bd7c
Separate ChatComposer into its own component 2022-10-04 19:00:00 -04:00
Alex Gleason
8c82d0400a
Chats: isSearch --> theme='search' 2022-10-04 17:47:15 -04:00
Alex Gleason
09887130b7
Merge remote-tracking branch 'origin/autosuggest-input-refactor' into chats 2022-10-04 17:46:45 -04:00
Alex Gleason
b9e0e94587
Input: support 'theme' prop (deprecate 'isSearch'), pass theme down from higher components 2022-10-04 17:09:47 -04:00
Alex Gleason
f028b8e59f
ChatPageSidebar: increase padding 2022-10-04 15:15:08 -04:00
Alex Gleason
0bf616496f
Chats: add blankslate component to main page 2022-10-04 15:02:52 -04:00
Alex Gleason
cdb5b505ba
Merge remote-tracking branch 'origin/develop' into chats 2022-10-04 12:40:48 -05:00
Alex Gleason
c2757f27c6 Merge branch 'onboarding-fediverse-info' into 'develop'
onboarding: add information about the Fediverse to the onboarding process if the server federates

See merge request soapbox-pub/soapbox!1806
2022-10-04 17:31:51 +00:00
Alex Gleason
52a0d239ee Merge branch 'video-tsx' into 'develop'
Video: convert to TSX+FC

See merge request soapbox-pub/soapbox!1811
2022-10-04 17:26:24 +00:00
Alex Gleason
6276fb0f00 Merge branch 'status-content-css' into 'develop'
StatusContent: move css to status-content.css

See merge request soapbox-pub/soapbox!1809
2022-10-04 17:26:09 +00:00
Justin
e8ffa13629 Remove the ability to 'Report chat' from Intro 2022-10-04 11:00:07 -04:00
Justin
3a74496c35 Improve loading state of ChatMessageList 2022-10-04 10:50:55 -04:00
Justin
4447a3cda4 Convert ChatMessageList to Virtuoso 2022-10-04 10:48:37 -04:00
Miss Pasture
ba68e845b7 onboarding: add information about the Fediverse to the onboarding process if the server federates 2022-10-03 16:13:17 -04:00
Justin
f029c81d5f Fix break words for longer message contents 2022-10-03 11:14:13 -04:00
Justin
89af43df91 Add tests for ChatPane component 2022-10-03 11:03:43 -04:00
Justin
dbee414ebc Add tests for ChatWidget component 2022-10-03 09:15:54 -04:00
ff0b1b28ca Convert ModalRoot to TSX+FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-01 15:38:08 +02:00
Alex Gleason
7a54e07966
Video: fix default aspect ratio (16:9) 2022-09-30 20:32:24 -05:00
Alex Gleason
af49171cb9
fullscreen.js --> fullscreen.ts 2022-09-30 19:53:59 -05:00
Alex Gleason
0b7416b6e5
Video: convert to TSX+FC 2022-09-30 19:37:35 -05:00
9b43ed7015 fixes, improvements, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 23:20:58 +02:00
803dada3e0 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 20:05:02 +02:00
Alex Gleason
3b2b1ab05f
Move .instance-description to css file 2022-09-30 12:27:52 -05:00
Justin
c63ed1af15 Refactor Chat Settings and add into Preferences page 2022-09-30 13:01:49 -04:00
Justin
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
Justin
b8bbac31e5 Improve 'In Review' UX 2022-09-29 13:57:25 -04:00
Justin
dc6c2657df Fix nested button structure 2022-09-29 13:54:18 -04:00
Justin
b590c062aa Show Skeleton when changing chats 2022-09-29 13:13:10 -04:00
Alex Gleason
78543292f1
Merge branch 'chats' of gitlab.com:soapbox-pub/soapbox into chats 2022-09-29 11:24:11 -05:00
Alex Gleason
40b8bab7ab
Chats: strip HTML when copying message text to clipboard 2022-09-29 11:23:49 -05:00
Justin
b0ea57b9b9 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 09:46:39 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
Alex Gleason
de78926142
ChatsPage: add settings cog 2022-09-28 19:39:22 -05:00
Alex Gleason
f8199ab701
ChatPageNew: support account search to start a new chat 2022-09-28 19:35:28 -05:00
Alex Gleason
acdd999c5c
Chats: display component at /chats/new 2022-09-28 19:26:49 -05:00
Alex Gleason
e582eda17e
Route /chats/new to ChatIndex 2022-09-28 19:16:20 -05:00
marcin mikołajczak
01b2eed2e4 Merge branch 'compose-upload-fix' into 'develop'
Fix editing media descriptions

See merge request soapbox-pub/soapbox!1805
2022-09-28 22:39:56 +00:00
0dbfd600bc Fix editing media descriptions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-29 00:15:30 +02:00
2239221856 Don't display WhoToFollow panel if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-29 00:06:37 +02:00
marcin mikołajczak
972881be85 Merge branch 'migrations-tsx' into 'develop'
TS/FC: Migrations page

See merge request soapbox-pub/soapbox!1803
2022-09-28 21:57:27 +00:00
5a703bbf50 TS/FC: Migrations page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-28 23:49:50 +02:00
Alex Gleason
d6e107dd0d
Chats: do routing a simpler way (keep context wrapper but set chat from route) 2022-09-28 15:38:05 -05:00
Alex Gleason
3ce5925280
useChat --> useChatActions 2022-09-28 15:20:59 -05:00
Alex Gleason
9c43f4b51e
UI: delete Gab groups commented routes 2022-09-28 13:39:45 -05:00
Alex Gleason
e8b7fd8db8
Route /chats/:chatId to ChatPage component, cleanup UI imports, nuke ChatRoom (he cry) 2022-09-28 13:37:56 -05:00
Justin
002fef27a3 Add StatContext to store global stat state 2022-09-27 16:05:19 -04:00
Justin
058d0cec0b Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 15:43:30 -04:00
Justin
17c2958df1 Use query key system 2022-09-27 15:42:24 -04:00
Chewbacca
89057abc7b Merge branch 'improve-people-to-follow' into 'develop'
Improve "People to Follow" widget

See merge request soapbox-pub/soapbox!1800
2022-09-27 19:27:24 +00:00
Justin
1a124c2eab Fix fade when scrolling on ChatList 2022-09-27 10:50:01 -04:00
Justin
c40651150c Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 10:41:20 -04:00
Justin
d4cf5dc2b9 Remove unneeded disabled button on Bio step
We don't require users to have bios, so we shouldn't force them to add one
during the onboarding steps in order to proceed to the next step without
"skipping" it.
2022-09-27 10:35:42 -04:00
Justin
90c122bf3f Update leave chat summary 2022-09-27 10:18:12 -04:00
Justin
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Justin
63bd9a21fc Update spacing on Widgets 2022-09-26 15:23:51 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
c1618026a7 Fix share route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-23 23:12:44 +02:00
Justin
f662023480 Add other actions for non-current-user messages 2022-09-23 13:00:40 -04:00
Justin
9768203f1b Open chat pane on action 2022-09-23 12:53:55 -04:00
Justin
0003b7323a Fix errant fetches to the silence endpoint 2022-09-23 09:48:52 -04:00
Justin
641bf1268d Fix loading state for chat-list 2022-09-23 09:24:20 -04:00
Justin
7335a3a0d3 Change color of last message text if unread 2022-09-23 09:08:46 -04:00
Justin
31b1f3ec97 I18n 2022-09-23 09:07:22 -04:00
Justin
0576565c83 Merge remote-tracking branch 'origin/chats' into chats 2022-09-23 09:04:05 -04:00
Justin
e8b547565e Add options to the ChatListItem 2022-09-23 09:04:01 -04:00
Alex Gleason
c8adde735f
ChatPage: fix height on mobile (where ThumbNavigation is present) 2022-09-22 17:38:00 -05:00
Alex Gleason
3c9ffd30b1
ChatPageSidebar: add new chat icon (non-functional) 2022-09-22 17:18:27 -05:00
Alex Gleason
cbd7089166
ChatPageSidebar: refactor search 2022-09-22 17:06:42 -05:00
Alex Gleason
7cf1943364
Add chatsSearch feature 2022-09-22 16:52:31 -05:00
Alex Gleason
fa919c217b
Create ChatSearchInput component 2022-09-22 15:24:11 -05:00
904e93bd8e Fix ReplyMentionsModal crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-22 22:00:32 +02:00
Alex Gleason
46d309ae45
ChatListItem: restrict height of last_message content 2022-09-22 14:58:31 -05:00
Alex Gleason
2e728d99f9
ChatWidget: remove 'direct' streaming (it uses the 'user' stream) 2022-09-22 14:36:46 -05:00
Justin
516d35e8ab Increase space between ChatListItems 2022-09-22 14:13:15 -04:00
Justin
045fe8dcbb Improve spacing and height of Chats page 2022-09-22 14:03:12 -04:00
Justin
89c1225976 Hide widget if not onboarded 2022-09-22 12:55:29 -04:00
Justin
93b11ec99c Add new airplane icon for sending messages 2022-09-22 12:45:01 -04:00
Justin
7c134a0c29 Switch buttons 2022-09-22 12:39:52 -04:00
Justin
4466326f8c Change copy to 'Delete for both' 2022-09-22 11:51:12 -04:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
Alex Gleason
15a5c01cef
Chats: ['chats'] --> ['chats', 'search'] 2022-09-21 13:47:46 -05:00
Alex Gleason
90c8096f9e
Merge remote-tracking branch 'origin/develop' into chats 2022-09-21 10:18:29 -05:00
309bd2c34f Event discussion page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 13:20:53 +02:00
Alex Gleason
bf590d26c4
ChatPageMain: add back button for mobile 2022-09-19 16:28:32 -05:00
Alex Gleason
9dc1a0caec
ChatPage: allow selecting a chat on mobile 2022-09-19 15:12:18 -05:00
Alex Gleason
19ef0fee20
ChatPage: size the height correctly for mobile 2022-09-19 15:02:16 -05:00
Alex Gleason
d1b10f72aa
ChatPage: collapse on mobile 2022-09-19 14:56:23 -05:00
Alex Gleason
ad521e528e
ChatListItem: prevent links from being clicked 2022-09-19 14:33:22 -05:00
Alex Gleason
e42f0bc9b0
ChatPageMain: allow switching chats before onboarding 2022-09-19 14:19:46 -05:00
Alex Gleason
6ce7c0a8cb
Chats: clean up some eslint errors 2022-09-19 14:14:39 -05:00
Alex Gleason
6b57b62b38
ComposeForm: don't focus the input constantly, add usePrevious hook 2022-09-19 13:55:08 -05:00
Alex Gleason
23bbaf329b
UI: remove QueryClient (it's already in containers/soapbox, how did that happen?) 2022-09-19 13:04:51 -05:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
42d68bddf9 handleDrop changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 09:29:36 +02:00
706e303547 Show compose form on event discussion page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 21:06:09 +02:00
640000c18e Merge remote-tracking branch 'soapbox/compose' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:42:30 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
Justin
88d848ee17 Add welcome screen to Chats main page 2022-09-16 14:33:31 -04:00
d3693fe89a Don't accept 'default' as id for ComposeForm
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:18:12 +02:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
Justin
9cb34dc45c Refactor ChatPage into multiple components 2022-09-16 10:22:43 -04:00
Justin
acdb89e698 Move ChatPage into subfolder 2022-09-16 10:13:45 -04:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
Justin
4352d17217 Add snooze icon to ChatList 2022-09-16 08:57:09 -04:00
b38e5ec8e3 tests i can't run locally for now
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 10:40:19 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
Justin
6240ea5a23 Finish i18n for DMs 2022-09-14 10:35:32 -04:00
Alex Gleason
749a11dd77 Merge branch 'feed-insertion-algorithm' into 'develop'
Feed insertion algorithms

See merge request soapbox-pub/soapbox!1782
2022-09-14 13:18:19 +00:00
Justin
a60d6770af Remove temp verification 2022-09-13 16:38:28 -04:00
Justin
5eab883fd1 Chats -> i18n 2022-09-13 16:33:34 -04:00
Alex Gleason
6a5c22faaa
SoapboxConfig: fix being unable to add streamfield items when the list is empty 2022-09-13 14:17:54 -05:00
Justin
45afb665b9 Add chat settings to chat main page 2022-09-13 14:11:22 -04:00
Alex Gleason
474d7da02a
linearAlgorithm: add test, fix selection order 2022-09-13 11:57:28 -05:00
Alex Gleason
4ff9918fe0
abovefoldAlgorithm: add basic tests 2022-09-13 11:44:21 -05:00
Justin
0ae515ef18 Refactor ChatSearch and add various states 2022-09-13 11:55:13 -04:00
Justin
0952fe6dae Add Chat context api to main page 2022-09-13 11:18:46 -04:00
9822266561 do i really understand this?
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-13 13:49:50 +02:00
Alex Gleason
22061daf95 Merge branch 'instance-html' into 'develop'
LandingPage: treat as HTML field, prefer short_description

See merge request soapbox-pub/soapbox!1789
2022-09-13 03:46:11 +00:00
Alex Gleason
32a0ae2d1f Merge branch 'followers-tsx' into 'develop'
Followers/Following: convert to TSX

See merge request soapbox-pub/soapbox!1784
2022-09-13 03:45:57 +00:00
Alex Gleason
daa3360581 Merge branch 'favourites-tsx' into 'develop'
Favourites tsx

See merge request soapbox-pub/soapbox!1783
2022-09-13 03:45:44 +00:00
Alex Gleason
f9858841fd Merge branch 'moderation-modal' into 'develop'
Moderation modal

Closes #1082

See merge request soapbox-pub/soapbox!1788
2022-09-13 03:45:21 +00:00
Alex Gleason
da75e0016d
LandingPage: treat as HTML field, prefer short_description 2022-09-12 18:23:23 -05:00
Justin
09d73b1c45 Refactor chat component naming 2022-09-12 16:46:19 -04:00
Justin
8e1aa9f9e8 Add dark mode support to main page 2022-09-12 15:33:08 -04:00
Justin
5b73afbc4e Remove unused prop 2022-09-12 15:05:19 -04:00
Justin
56c617bd32 Merge branch 'alex-chats' into chats 2022-09-12 14:50:02 -04:00
Justin
81bfc06990 Add tests 2022-09-12 14:42:15 -04:00
Justin
a68aeb8464 Start changing the way search works 2022-09-12 14:42:06 -04:00
Alex Gleason
0bf6dad97f
Merge remote-tracking branch 'origin/develop' into feed-insertion-algorithm 2022-09-12 10:47:14 -05:00
Alex Gleason
94c2f5e978
abovefoldAlgorithm: remove accidental console.log 2022-09-12 10:47:01 -05:00
Alex Gleason
d221897cd0
Followers/Following: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:17:49 -05:00
Alex Gleason
74d2325b58
Favourites: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:14:57 -05:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2fc9b215a9
Display custom badges on profiles 2022-09-11 20:21:37 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
2b6d06ce01 add emoji-picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 23:10:55 +02:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
6d70989ef5
AccountHeader: remove deactivate/delete options 2022-09-11 14:30:24 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
b29df50374
AccountHeader: clean up roles messages 2022-09-11 14:21:25 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
ca1a3d460c
AccountHeader: remove suggestion option 2022-09-11 14:09:52 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
654c60a699
AccountHeader: remove donor option 2022-09-11 13:58:50 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00
Alex Gleason
667f0c09bf
AccountHeader: remove "verified" option 2022-09-11 13:52:13 -05:00
Alex Gleason
a4a54a8164
AccountModerationModal: support account verification 2022-09-11 13:50:03 -05:00
Alex Gleason
a5e5df35a5
Move StaffRolePicker into its own component 2022-09-11 13:36:01 -05:00
Alex Gleason
276e7d6cfc
AccountModerationModal: move to subdirectory 2022-09-11 13:24:34 -05:00
Alex Gleason
6f99be6c3d
AccountHeader: remove promote/demote menu options 2022-09-11 13:23:34 -05:00
Alex Gleason
6ecb715a71
AccountModerationModal: only show staff picker for local accounts 2022-09-11 13:23:11 -05:00
Alex Gleason
cfdace9454
AccountModerationModal: add staff role picker 2022-09-11 13:19:08 -05:00
Alex Gleason
d653c451b6
AccountModerationModal: add account preview 2022-09-11 12:33:33 -05:00
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02:00
Alex Gleason
1e3a959c1c
AccountModerationModal: put AdminFE behind a feature flag 2022-09-11 11:48:37 -05:00
Alex Gleason
774894e127
AccountModerationModal: add "Open in AdminFE" button 2022-09-11 11:46:08 -05:00
Alex Gleason
3120cc8453
AccountModerationModal: boilerplate 2022-09-11 11:28:39 -05:00
Alex Gleason
123317d44b
Video: remove "maximize" button 2022-09-11 10:40:35 -05:00
0c20739d71 Merge remote-tracking branch 'soapbox/delete-unused' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:35 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
Alex Gleason
3a8e45fba2
Delete unused schedule_idle_task.js 2022-09-10 12:07:47 -05:00
Alex Gleason
bcfbc394ab
Delete Groups components 2022-09-10 12:05:38 -05:00
Alex Gleason
82edcc4bd8
Delete unused "introduction" feature 2022-09-10 12:04:08 -05:00
Alex Gleason
3f04d0a049
Followers/Following: convert to TSX 2022-09-10 11:56:02 -05:00
Alex Gleason
0355d2a927
Favourites: refactor, clean up, make it sane 2022-09-10 11:07:35 -05:00
Alex Gleason
aca2df0775
Favourites: quick & dirty conversion to TSX 2022-09-10 10:46:12 -05:00
Alex Gleason
2681b32f7d
StatusList: incorporate feed injection algorithms 2022-09-09 22:26:36 -05:00
Alex Gleason
ec225ea1c5
abovefoldAlgorithm: wrap item selection 2022-09-09 20:49:17 -05:00
Alex Gleason
5749821b36
Algorithms: index --> iteration 2022-09-09 20:47:51 -05:00
Alex Gleason
fe8966fc3e
Scaffold out timeline insertion modules 2022-09-09 20:44:52 -05:00
marcin mikołajczak
6a1c3a7975 Merge branch 'search-own-posts' into 'develop'
Allow searching your own posts

See merge request soapbox-pub/soapbox!1780
2022-09-09 22:20:05 +00:00
30a420acaf Allow searching your own posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 00:12:34 +02:00
ac52071e2f Do not reset tab/searched account when clearing search input
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 23:20:26 +02:00
f7c09461fd Event pages?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 22:52:32 +02:00
Justin
1c179cd4a0 Add error states 2022-09-08 12:47:19 -04:00
Justin
c48b4adc81 Error handling for bad sends 2022-09-08 10:24:20 -04:00
Justin
e333a5042e Merge branch 'chats' into alex-chats 2022-09-08 08:37:58 -04:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04:00
3f4f820de7 Participation management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 20:03:26 +02:00
Justin
c47eda8a0a Fix non-valid DOM attributes getting passed to input 2022-09-07 08:27:40 -04:00
3f7e593695 Merge remote-tracking branch 'soapbox/develop' into events- 2022-09-06 23:31:43 +02:00
d074553e21 Wrap HStack in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:18:15 +02:00
df39036129 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:07:31 +02:00
9d3206f229 Allow users to create events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-04 23:36:13 +02:00
cd93399569 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:15:21 +02:00
Alex Gleason
0ac3b0824b
Add header to desktop chats 2022-09-01 13:17:31 -05:00
Alex Gleason
624720a7bc
ChatIndex: clamp to screen height-ish 2022-09-01 13:17:31 -05:00
Alex Gleason
90ece157e6
ChatIndex: improve the desktop layout 2022-09-01 13:17:31 -05:00
Alex Gleason
7fc732d0d0
Chat: fix various overflow issues 2022-09-01 13:17:31 -05:00
Alex Gleason
2a5a43d914
ChatIndex: break layout into columns 2022-09-01 13:17:30 -05:00
Alex Gleason
bb535b10ed
Add ChatsPage for bigger layout 2022-09-01 13:17:30 -05:00
Alex Gleason
471ee4d179
Rename chats to messages 2022-09-01 13:17:30 -05:00
Alex Gleason
2f0a41cc36
ChatMessageList: fix horizontal overflow for long messages in UI 2022-09-01 13:17:30 -05:00
Alex Gleason
1876af9be7 Merge branch 'relative-timestamp-tsx' into 'develop'
RelativeTimestamp: convert to TSX

See merge request soapbox-pub/soapbox-fe!1762
2022-09-01 17:03:46 +00:00
Alex Gleason
babac13493
Bundle: convert to TSX 2022-08-31 17:28:19 -05:00
Alex Gleason
5f1d9ac56a
relative_timestamp --> relative-timestamp 2022-08-31 17:03:50 -05:00
Justin
fc81cda6bb Fix classnames import 2022-08-31 13:24:01 -04:00
Justin
c63fdec916 Reset state on failure 2022-08-31 13:22:43 -04:00
Justin
7535862a40 Autogrow the textarea 2022-08-31 13:22:41 -04:00
Justin
3939e27827 Add ability to copy the message 2022-08-31 13:22:18 -04:00
Justin
5dd44d3094 Add last_message_id param to API 2022-08-31 13:22:18 -04:00
Justin
2a02f6dcc7 Rename snooze endpoint 2022-08-31 13:22:18 -04:00
Justin
cfa183531e Fix text alignment 2022-08-31 13:22:18 -04:00
Justin
b04bc6a7ae Add shadow when scrolling 2022-08-31 13:22:18 -04:00
Justin
01167af69e Add infinite scroll to ChatList 2022-08-31 13:22:16 -04:00
Justin
e384d1f40d Setup websockets 2022-08-31 13:21:43 -04:00
Justin
0f7cfada50 Improve dark mode of chats 2022-08-31 13:21:43 -04:00
Justin
ba2ffd1501 Snooze 2022-08-31 13:21:43 -04:00
Justin
e7bd56f959 Refactor 2022-08-31 13:21:43 -04:00
Justin
a2e2d60fc7 Add Message List Intro component 2022-08-31 13:21:43 -04:00
Justin
396a1f1f46 Add Chat Settings 2022-08-31 13:21:43 -04:00
Justin
d2d64e4ec4 Refactor and auto-accept chats 2022-08-31 13:21:43 -04:00
Justin
ea5525d02c Refactor leave/report chat 2022-08-31 13:21:43 -04:00
Justin
0cb0e8af9e Add ability to leave chat 2022-08-31 13:21:43 -04:00
Justin
8492cc59e2 Add ability to accept chat 2022-08-31 13:21:43 -04:00
Justin
1ed1f3fd2e Add ability to delete message 2022-08-31 13:21:42 -04:00
Justin
7557445a3e Disable submit button 2022-08-31 13:20:54 -04:00
Justin
751c031420 Disable submit button 2022-08-31 13:20:54 -04:00
Justin
84dc06db42 d 2022-08-31 13:20:54 -04:00
Alex Gleason
58322862e4 Make chat panes REALLY BIG 2022-08-31 13:20:53 -04:00
Alex Gleason
0b4fc43172 Chats: break out Pane into a UI component 2022-08-31 13:20:53 -04:00
Justin
f16da850fd Add React Query 2022-08-31 13:20:53 -04:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
05d296f1ee Consistent behavior of compose modal close confirmation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-30 22:51:13 +02:00
Alex Gleason
4f11f3288d
Ad: add missing jsx comment 2022-08-29 11:11:11 -05:00
Alex Gleason
194cf89dd9
Ads: bust query-cache when an ad expires 2022-08-26 13:58:02 -05:00
Alex Gleason
f4af1687bf
Filter out expiring ads 2022-08-26 09:48:49 -05:00
Alex Gleason
0349a57f55 Merge branch 'embeds-improvements' into 'develop'
Embeds improvements

See merge request soapbox-pub/soapbox-fe!1752
2022-08-26 12:54:24 +00:00
Justin
7191c2af72 Merge branch 'fetch-relationships' into 'develop'
Fetch relationships when opening favourites/reblogs modal

See merge request soapbox-pub/soapbox-fe!1750
2022-08-26 12:50:51 +00:00
Alex Gleason
954e02067e
Remove unused import from features/forms 2022-08-25 21:39:35 -05:00
Alex Gleason
9c7274ee01
Delete legacy CopyableInput component 2022-08-25 21:29:46 -05:00
Alex Gleason
48ba485a0d
CryptoAddress: use new CopyableInput component 2022-08-25 21:23:17 -05:00