Commit graph

2746 commits

Author SHA1 Message Date
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
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
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
Justin
c47eda8a0a Fix non-valid DOM attributes getting passed to input 2022-09-07 08:27:40 -04:00
d074553e21 Wrap HStack in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:18:15 +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
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Justin
d4bcdd821c Lint 2022-08-25 09:19:09 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
b443c1c6ae Improve formatting of short numbers 2022-08-24 14:46:40 -04:00
Justin
2fded6daa9 Improve dark mode 2022-08-24 09:28:56 -04:00
Justin
8f176f4d72 Add back spacing to Card 2022-08-24 08:40:25 -04:00
Justin
1837dbef1c Merge branch 'self-status' into 'develop'
Support 'in review' sensitive content

See merge request soapbox-pub/soapbox-fe!1741
2022-08-23 18:33:14 +00:00
4b1be99639 this should be a HStack, actually
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-23 18:39:34 +02:00
Alex Gleason
6ea4129cb7
EmbedModal: use Divider component 2022-08-23 10:40:39 -05:00
Alex Gleason
058746103f
EmbeddedStatus: move history.block() into useEffect 2022-08-23 10:30:29 -05:00
Alex Gleason
f1248018e6
EmbeddedStatus: improve size of SiteLogo and background color 2022-08-22 12:26:01 -05:00
Alex Gleason
2e6b826c46
EmbedModal: improve dark mode styles 2022-08-22 12:12:18 -05:00
Alex Gleason
75b015d608
embed_modal.tsx --> embed-modal.tsx 2022-08-22 12:09:01 -05:00
Alex Gleason
393f6a9b60
EmbedModal: improve styling 2022-08-22 12:08:30 -05:00
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Justin
dd0f2fcf5b Support 'in review' sensitive content 2022-08-22 11:26:28 -04:00
Alex Gleason
6e5689e3a3
EmbedModal: allow-scripts 2022-08-21 15:08:05 -04:00
Alex Gleason
2cc8dcd69c
EmbeddedStatus: set SiteLogo max width 2022-08-21 15:06:20 -04:00
Alex Gleason
c013dcf01b
EmbeddedStatus: add SiteLogo 2022-08-21 14:49:50 -04:00
Alex Gleason
9ca87c1eec
EmbeddedStatus: listen for embed.js iframe events and autosize height 2022-08-21 14:32:54 -04:00
Alex Gleason
7f7f9a6fae
EmbeddedStatus: open URL in new tab on click 2022-08-21 13:54:59 -04:00
Alex Gleason
9fb9523a4e
EmbeddedStatus: block navigation 2022-08-21 13:32:51 -04:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
6f38b19b5b
Restore using embeds from the API 2022-08-21 11:21:25 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
259760311e Dark theme for consumers list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-18 16:32:50 +02:00
Justin
35d32e7391 Handle dyanmic error message of API 2022-08-16 09:48:58 -04:00
Alex Gleason
5dc5407c12
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-15 12:10:54 -05:00
marcin mikołajczak
ffba24bc94 Minor styles improvements
Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-15 15:02:08 +02:00
62d90d9a8f Fetch accounttimeline when switching tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-14 19:01:44 +02:00
Alex Gleason
7b75faf74c
Notifications: actually, do still use the legacy StatusContainer as it does a selector we need 2022-08-13 10:40:56 -05:00
Alex Gleason
19b6973667
Notifications: StatusContainer --> Status, fix not being able to mute a conversation 2022-08-13 10:27:12 -05:00
Alex Gleason
30df3808e7
ConsumerButton: use 'outlined' theme 2022-08-13 09:40:51 -05:00
Alex Gleason
5b2894cd8d
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-13 09:39:32 -05:00
Alex Gleason
32b6c646cf Merge branch 'icon-button-themes' into 'develop'
IconButton: add themes

See merge request soapbox-pub/soapbox-fe!1729
2022-08-13 14:09:21 +00:00
Alex Gleason
34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
StatusPage: convert to TSX

See merge request soapbox-pub/soapbox-fe!1728
2022-08-13 14:08:51 +00:00
marcin mikołajczak
67f5f5fb8b Merge branch 'cleanup' into 'develop'
Use Array.includes instead of indexOf

See merge request soapbox-pub/soapbox-fe!1727
2022-08-12 22:07:19 +00:00
marcin mikołajczak
6c54d50839 Merge branch 'feed-carousel-conditional' into 'develop'
Move condition for FeedCarousel to HomePage

Closes #1066

See merge request soapbox-pub/soapbox-fe!1732
2022-08-12 22:07:16 +00:00
771abfb8fb Move condition for FeedCarousel to HomePage
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:25:45 +02:00
541521ae6f Restore hotkey navigataion for statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:21:44 +02:00
12eeffecc4 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 22:59:26 +02:00
Alex Gleason
ee754915aa
EmbeddedStatus: make it unclickable 2022-08-12 13:31:05 -05:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
marcin mikołajczak
aa5b5dbaf6 Merge branch 'edits-notification' into 'develop'
Add more context to post edit notification

See merge request soapbox-pub/soapbox-fe!1726
2022-08-12 16:12:52 +00:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
Alex Gleason
5386135112
WrappedRoute: fix PageProps type to include children 2022-08-12 10:22:30 -05:00
Alex Gleason
9cd19c2003
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-12 10:10:36 -05:00
Alex Gleason
0466c97863
Merge remote-tracking branch 'origin/develop' into account-refactoring 2022-08-12 10:01:23 -05:00
Alex Gleason
cb984bd925
Header: hide DM menu item unless privacyScopes are available 2022-08-12 10:01:02 -05:00
Alex Gleason
d54b3b1ec6 Merge branch 'status-fc' into 'develop'
Status refactoring

See merge request soapbox-pub/soapbox-fe!1717
2022-08-12 14:55:38 +00:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
d59fa05812 Add more context to post edit notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:42:19 +02:00
marcin mikołajczak
2d9ac9e22e Merge branch 'reply-indicator-styles' into 'develop'
Fix styles in reply indicator

Closes #1060

See merge request soapbox-pub/soapbox-fe!1724
2022-08-12 09:14:33 +00:00
Alex Gleason
bc72739dda
Normalize instance in login tests 2022-08-11 22:31:53 -05:00
Alex Gleason
386af1ea2c
i18n pepe locales 2022-08-11 22:10:16 -05:00
Alex Gleason
f2fc369877
Allow configuring authProvider in place of registrations 2022-08-11 22:08:28 -05:00
Alex Gleason
d6e809083b
Make consumer strategy buttons work 2022-08-11 21:50:08 -05:00
Alex Gleason
609eb543ba
Style ConsumersList 2022-08-11 19:57:51 -05:00
Alex Gleason
304e9aa880
Move oauth ConsumersList into its own component 2022-08-11 19:46:56 -05:00
Alex Gleason
b7e2d3e0a7
Add inert oauth consumer buttons 2022-08-11 19:38:09 -05:00
d9aee6d98e Fix styles in reply indicator
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-11 23:23:33 +02:00
Alex Gleason
e4c829da76
AccountTimeline: improve loading spinner 2022-08-11 14:09:27 -05:00
Alex Gleason
eccfdb90f8
Header: make account optional again 2022-08-11 14:02:01 -05:00
Alex Gleason
9a0531db37
Nuke HeaderContainer 2022-08-11 13:24:46 -05:00
Alex Gleason
6887852586
AccountTimeline: dirty TSX+FC conversion 2022-08-11 13:12:59 -05:00
Alex Gleason
7ab5ae6f1e
MediaItem: convert to TSX+FC 2022-08-11 12:20:51 -05:00
Alex Gleason
d84156219d
Delete unused account column settings components 2022-08-11 12:03:16 -05:00
Alex Gleason
632726ef1c
Header: hide message button again (for now) 2022-08-11 12:01:56 -05:00
Alex Gleason
d0ec2af4ee
Header: remove unused import 2022-08-11 12:00:15 -05:00
Alex Gleason
4d5a32edcb
Delete unnecessary middleman account Header component 2022-08-11 11:59:38 -05:00
Alex Gleason
f3f230aece
Simplify profile Header components 2022-08-11 11:57:09 -05:00
Justin
22294b8a6e Fix test 2022-08-10 14:45:58 -04:00
Justin
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
ae0fd07580 Use v2 suggestions endpoint for Onboarding 2022-08-10 08:39:39 -04:00
Alex Gleason
168cee0636
StatusActionBar: fix styles in Thread 2022-08-09 18:49:05 -05:00
Alex Gleason
ca4821abf7
Nuke ActionBar component 2022-08-09 18:40:33 -05:00
Alex Gleason
518a813235
status_action_bar --> status-action-bar 2022-08-09 18:25:33 -05:00
Alex Gleason
33fbb0f147
StatusActionBar: move action code directly into component, clean up 2022-08-09 14:34:08 -05:00
Justin
1d5428be2c Merge branch 'react-query' into 'develop'
Introduce React Query

See merge request soapbox-pub/soapbox-fe!1666
2022-08-09 18:02:22 +00:00
Alex Gleason
5f2532c3d7
Throw out unnedeed QueryClientProvider changes 2022-08-09 11:10:37 -05:00
Alex Gleason
28d5461295
Fix react-query tests 2022-08-09 11:05:00 -05:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
Alex Gleason
7d100193c3 Merge branch 'about-tsx' into 'develop'
Convert About page to TSX

See merge request soapbox-pub/soapbox-fe!1716
2022-08-09 15:06:07 +00:00
Alex Gleason
70a84d74ad Merge branch 'ads-locale' into 'develop'
RumbleAdProvider: send Accept-Language header with request

See merge request soapbox-pub/soapbox-fe!1715
2022-08-09 13:59:12 +00:00
marcin mikołajczak
0f4a755693 Merge branch 'search-from-account' into 'develop'
Fix debounce in search, clear accountId on submit from navbar

See merge request soapbox-pub/soapbox-fe!1712
2022-08-09 10:40:47 +00:00
5c5113aff3 Minor dark theme improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-09 11:57:09 +02:00
Alex Gleason
f87be8ce9a
Use StatusActionBar for both types of statuses 2022-08-08 23:21:18 -05:00
Alex Gleason
82d717d8ce
Move getActualStatus logic to utils 2022-08-08 22:28:01 -05:00
Alex Gleason
89390083a9
Move textForScreenReader to utils/status 2022-08-08 21:42:07 -05:00
Alex Gleason
748b48f84c
DetailedStatus: clean up unused props 2022-08-08 20:22:15 -05:00
Alex Gleason
3ced53a948
DetailedStatus: convert to React.FC 2022-08-08 20:13:43 -05:00
Alex Gleason
f4d1cb93cd
Status --> Thread 2022-08-08 19:54:27 -05:00
Alex Gleason
e0e64f0f5c
Thread: convert to functional component 2022-08-08 19:49:23 -05:00
Alex Gleason
d511b673ae
Convert About page to TSX 2022-08-08 17:43:47 -05:00
Alex Gleason
f68730de20
RumbleAdProvider: send Accept-Language header with request 2022-08-08 16:18:34 -05:00
Justin
6b297c3a7e Add tests 2022-08-08 15:53:21 -04:00
052547dc6b Fix debounce in search, clear accountId on submit from navbar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:36:11 +02:00
Justin
7ac18c0951 Lint 2022-08-08 10:29:03 -04:00
Justin
7836698dc2 Add React Query 2022-08-08 10:29:02 -04:00
c59f3947cb Allow to search for posts from given account
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 13:40:41 +02:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
Alex Gleason
01bddbce4d
Ad: dismiss the infobox when clicked outside 2022-08-03 11:53:17 -05:00
Alex Gleason
c0f4130edf
Display popover in ad 2022-08-03 11:42:54 -05:00
Alex Gleason
3971d724d3
Status Card: shrink link text size 2022-08-03 11:15:30 -05:00
Alex Gleason
3a010fa60d
Don't add title to Rumble ads provider 2022-08-03 11:12:22 -05:00
Alex Gleason
0bffe4a227
Refactor status Card description with UI components 2022-08-03 11:05:57 -05:00
Alex Gleason
19ffcd2233
Merge remote-tracking branch 'origin/develop' into ads 2022-08-03 10:51:07 -05:00
Alex Gleason
1c78a2ea46
Refactor status Card description 2022-08-03 10:48:50 -05:00
Alex Gleason
77ad89bc48
Fix height of horizontal link cards 2022-08-03 10:33:35 -05:00
Alex Gleason
c74721f1e1
Ads: display tooltip 2022-08-02 20:52:27 -05:00
Alex Gleason
ad7ec8b1a6
Make ads horizontal cards 2022-08-02 20:14:28 -05:00
Alex Gleason
f6e5df2278
Jest: include QueryClientProvider in tests 2022-08-01 23:42:13 -05:00
Alex Gleason
0eeca2be5c
Add Rumble AdProvider 2022-08-01 23:12:11 -05:00