Commit graph

5281 commits

Author SHA1 Message Date
Chewbacca
24bca458bd Add tests for chats query 2022-10-28 13:01:39 -04:00
Alex Gleason
2effafd1f6
Remove favicon from index.html 2022-10-27 14:29:40 -05:00
Chewbacca
3e2888eb75 Handle unreadCount when messages are deleted 2022-10-27 13:59:54 -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
e8c72c8e11 Handle message deletions via websockets 2022-10-27 10:25:37 -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
marcin mikołajczak
12b6f58f3e Merge branch 'actions-modal-styles' into 'develop'
Make ActionsModal items full width, minor style improvements

See merge request soapbox-pub/soapbox!1846
2022-10-26 12:25:57 +00: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
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
d346d334f6 Merge remote-tracking branch 'origin/develop' into chats 2022-10-25 08:16:43 -04:00
9ac18e787f Show unauthorized modal when clicking emoji button if unauthorized
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-25 00:01:53 +02: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
427b8f9175
Chats: fix null attachment normalization 2022-10-21 23:10:38 -05: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
6098084c7d Fix reducer test 2022-10-17 12:24:24 -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
Chewbacca
8336cab189 Merge branch 'remove-tab-focus-state' into 'develop'
Remove focus state on Tabs

See merge request soapbox-pub/soapbox!1835
2022-10-14 16:24:13 +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
Chewbacca
6458f6ed9f Remove focus state on Tabs 2022-10-14 08:49:53 -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
76a8f43679 Merge branch 'improve-ui-types' into 'develop'
Refactor UI library types

See merge request soapbox-pub/soapbox!1814
2022-10-13 17:13:15 +00: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
Alex Gleason
21cba06d44
Delete focal point code 2022-10-12 13:24:36 -05:00
d5f526448d Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-11 22:48:41 +02:00
Alex Gleason
763ae5c58a
yarn lint:js --fix 2022-10-11 13:22:54 -05:00
Alex Gleason
3695be06c5 Merge branch 'issue/1103/add-registration-date-to-profiles' into 'develop'
Initial implementation of join date inclusion in hover profile card

See merge request soapbox-pub/soapbox!1825
2022-10-11 18:13:22 +00:00
Jonathan Kempf
936db6fac0 Initial implementation of join date inclusion in hover profile card 2022-10-10 17:25:19 -04:00
Alex Gleason
7dff0391b1
Normalize chat attachments 2022-10-10 15:56:11 -05:00
Alex Gleason
bb1823ee6d
AttachmentThumbs: make visible 2022-10-10 15:16:35 -05:00
marcin mikołajczak
67d47cdafd Merge branch 'conditional-cta' into 'develop'
Make CtaBanner and ThreadLoginCta optional

See merge request soapbox-pub/soapbox!1821
2022-10-09 23:07:28 +00:00
1343928406 Make CtaBanner and ThreadLoginCta optional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:41:47 +02:00
c1dcc91f76 Only show WhoToFollowPanel if authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:34:32 +02:00
8903674cb1 Fix pinned status icon in status action bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-06 00:02:32 +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
a829e53559
AutosuggestInput: nuke top margin 2022-10-04 17:25:02 -04:00
Alex Gleason
4988f4a2d5
Input: support 'transparent' theme 2022-10-04 17:14:08 -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
61dd57ab81
AutosuggestInput: use UI input component 2022-10-04 16:39:51 -04:00
Justin
1c55e60055 Ensure space is number 2022-10-04 15:17:51 -04:00
Justin
c960ad9d33 Ensure space is number 2022-10-04 15:17:26 -04:00
Alex Gleason
f028b8e59f
ChatPageSidebar: increase padding 2022-10-04 15:15:08 -04:00
Justin
c49aec2ae0 Refactor UI library types 2022-10-04 15:08:22 -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
11a1beb55f Merge branch 'media-tsx' into 'develop'
MediaGallery: convert to TSX

See merge request soapbox-pub/soapbox!1810
2022-10-04 17:26:18 +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
Alex Gleason
ca9abf3e5a
MediaGallery: fix "Show content" button 2022-10-03 10:10:31 -05: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
Alex Gleason
cc3e8ebd3b
MediaGallery: clean up unused code, rearrange useEffect 2022-09-30 18:11:05 -05:00
Alex Gleason
1069546b50
MediaGallery: convert to TSX+FC (first pass) 2022-09-30 18:05:23 -05:00
Alex Gleason
775cfad4dc
Restore .floating-link for now 2022-09-30 14:19:22 -05:00
Alex Gleason
6d77e0327f
Make .emojione styles global again 2022-09-30 13:35:26 -05:00
Alex Gleason
d3683ab7ef
StatusContent: migrate more to css, fix SpoilerButton on dark theme 2022-09-30 13:15:37 -05:00
Alex Gleason
0d5dfad8cc
Move StatusContent css into status-content.css 2022-09-30 12:59:52 -05: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
65cdaeb886 Fix query key when not search query is present 2022-09-30 10:28:19 -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
d40fe483ef Push accounts into Redux store 2022-09-29 13:36:35 -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
4c936fe6e0 Merge remote-tracking branch 'origin/chats' into chats 2022-09-29 12:04:28 -04:00
Justin
9d20d0d032 Fix order of flattenPages func 2022-09-29 12:04:23 -04:00
Alex Gleason
7722ce5e68
Chats: don't update own messages from streaming (for now) 2022-09-29 10:58:58 -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