Commit graph

2383 commits

Author SHA1 Message Date
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
Alex Gleason
b02141874e
Show ads in feed 2022-08-01 22:49:16 -05:00
Alex Gleason
f112dd980b
AdProvider boilerplate 2022-08-01 18:50:46 -05:00
Alex Gleason
d5fd3af903
Ad: use card.width, card.height 2022-08-01 18:02:23 -05:00
Alex Gleason
21ac46bada
Ad: fetch impression URL 2022-08-01 17:55:13 -05:00
Alex Gleason
a509f72c40
Create Ad component 2022-08-01 17:36:15 -05:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
Alex Gleason
7f14dd2331
Notification: treat follow differently from follow_request 2022-07-30 18:37:48 -05:00
e45623eef6 Fix: Unable to approve follower requests from notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-30 23:34:18 +02:00
d7967882a0 Allow to paste attachments in chat box
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-29 22:03:45 +02:00
marcin mikołajczak
f05ca46138 Merge branch 'edit-notifications' into 'develop'
Status edits notifications

See merge request soapbox-pub/soapbox-fe!1689
2022-07-28 13:39:43 +00:00
217b97cf4a Remove Move notifications from filter bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-27 23:47:30 +02:00
d05cabe9a8 Status edits notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-27 23:47:16 +02:00
Justin
0e9aa9c62a Improve center position of cards for the Auth Layout 2022-07-27 08:22:45 -04:00
Justin
032735bac4 Lint 2022-07-26 14:53:17 -04:00
Alex Gleason
50d60b7bb4 Merge branch 'gdpr' into 'develop'
GDPR banner

See merge request soapbox-pub/soapbox-fe!1678
2022-07-26 18:34:23 +00:00
Justin
309c8bee80 Merge branch 'tos' into 'develop'
Add ToS acceptance to registration

See merge request soapbox-pub/soapbox-fe!1680
2022-07-26 18:23:50 +00:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
af6cb3a4c2
Merge remote-tracking branch 'origin/develop' into gdpr 2022-07-26 10:32:15 -05:00
Alex Gleason
0480bfab94
Add Banner UI component 2022-07-26 10:30:48 -05:00
marcin mikołajczak
fa8f4b7a2a Merge branch 'icons' into 'develop'
Replace LineAwesome with Tabler in some places

See merge request soapbox-pub/soapbox-fe!1683
2022-07-26 14:07:53 +00:00
df136bb8c8 Use file-spreadsheet icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:56:31 +02:00
eb62ebfa52 Replace LineAwesome with Tabler in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:30:51 +02:00
58952f0ab2 Add break-words to profile fields content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 11:53:36 +02:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
Justin
40562248e0 Add ToS acceptance to registration 2022-07-25 15:41:23 -04:00
Alex Gleason
2db72c2a58 Merge branch 'developers-commithash' into 'develop'
Developers: display Soapbox version and commit hash in developers menu

See merge request soapbox-pub/soapbox-fe!1673
2022-07-25 15:44:47 +00:00
Alex Gleason
24ab5cd19a Merge branch 'external-login-errors' into 'develop'
ExternalLogin: display snackbar errors

See merge request soapbox-pub/soapbox-fe!1672
2022-07-22 17:41:57 +00:00
marcin mikołajczak
f12fc96eb9 Merge branch 'restore-account-endorsements' into 'develop'
Restore featured accounts

See merge request soapbox-pub/soapbox-fe!1670
2022-07-22 13:37:59 +00:00
045a73f1d9 conditionally show endorse toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 13:29:00 +02:00
Alex Gleason
1ffd61af67
DevelopersMenu: display source code version 2022-07-21 19:53:43 -05:00
Alex Gleason
cbd9dd52ee
DevelopersMenu: refactor DashWidget into a React.FC 2022-07-21 19:46:37 -05:00
Alex Gleason
131c783ea9
ExternalLogin: display snackbar errors 2022-07-21 17:16:46 -05:00
a3afeb6c54 Fix: When I visit a link to a status, the user's avatar is focused
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:47:21 +02:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
Justin
2dcf42e2c8 Merge branch 'improve-mobile-suggestions' into 'develop'
Improve mobile display of feed suggestions

See merge request soapbox-pub/soapbox-fe!1664
2022-07-21 14:57:26 +00:00
Alex Gleason
d32b6bca83 Merge branch 'autofill' into 'develop'
Restore autocomplete in some cases

See merge request soapbox-pub/soapbox-fe!1662
2022-07-21 14:45:22 +00:00
Justin
e6a1b20005 Merge branch 'timeline-fix' into 'develop'
Refetch timeline if user stops following someone

See merge request soapbox-pub/soapbox-fe!1663
2022-07-21 13:56:07 +00:00
Justin
a5b8837a4d Improve mobile display of feed suggestions 2022-07-21 09:54:58 -04:00
Justin
c53b7a984f Refetch timeline if user stops following someone 2022-07-20 14:23:11 -04:00
Alex Gleason
287429d651
Restore autocomplete in some cases 2022-07-20 12:41:39 -05:00
b294769dfe Merge remote-tracking branch 'soapbox/develop' into styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-20 19:21:53 +02:00
Justin
25b8835e6a Fix backdrop-blur for Firefox 2022-07-20 09:13:12 -04:00
Justin
c30e8f1fd9 Set the ref on the actual carousel div 2022-07-20 09:01:36 -04:00
Alex Gleason
077b2398ba Merge branch 'normalize-username' into 'develop'
Login: strip whitespace around username, strip leading @

See merge request soapbox-pub/soapbox-fe!1655
2022-07-19 19:57:31 +00:00
marcin mikołajczak
d6f3cc7442 Merge branch 'emoji-pointer' into 'develop'
Add cursor-pointer to emoji reactions in StatusInteractionBar

See merge request soapbox-pub/soapbox-fe!1656
2022-07-19 13:47:19 +00:00
Justin
04a4e82df3 Merge branch 'carousel-cutoff' into 'develop'
Carousel cutoff

See merge request soapbox-pub/soapbox-fe!1649
2022-07-19 13:12:13 +00:00
c43ad4fe88 Add cursor-pointer to emoji reactions in StatusInteractionBar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 12:35:41 +02:00
marcin mikołajczak
87e39f52e6 Merge branch 'color-picker' into 'develop'
Fix color picker closing on toggle

See merge request soapbox-pub/soapbox-fe!1653
2022-07-19 05:11:51 +00:00
marcin mikołajczak
0f94fd3cec Merge branch 'chats-empty-message' into 'develop'
Display 'No chats found' in a card

See merge request soapbox-pub/soapbox-fe!1650
2022-07-19 05:11:18 +00:00
marcin mikołajczak
5edcc0459c Merge branch 'birthday-input-clear' into 'develop'
Allow to clear BirthdayInput

See merge request soapbox-pub/soapbox-fe!1654
2022-07-19 05:11:07 +00:00
Alex Gleason
0a74c64bb7
Actually, remove pattern from login inputs (it can be an email too) 2022-07-18 21:52:27 -05:00
Alex Gleason
fb45d62d70
Login: strip whitespace around username, strip leading @ 2022-07-18 21:50:02 -05:00
marcin mikołajczak
b0a9244782 Update index.tsx 2022-07-18 22:35:07 +00:00
4af99de109 Allow to clear BirthdayInput
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 00:11:12 +02:00
15852154c5 Fix color picker closing on toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:44:37 +02:00
2f5ca7c740 Display 'No chats found' in a card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:01:09 +02:00
marcin mikołajczak
547bb0a9e9 Merge branch 'feed-suggestions-hide-empty' into 'develop'
Hide FeedSuggestions if empty

See merge request soapbox-pub/soapbox-fe!1647
2022-07-18 19:56:15 +00:00
Justin
0de3da4302 Ensure no cuttoff in Feed Carousel 2022-07-18 15:23:39 -04:00
b92cdabd62 Hide FeedSuggestions if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:10:05 +02:00
bd05f8a245 Add object-cover to avatars in FeedSuggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 21:08:43 +02:00
marcin mikołajczak
9de46333b2 Merge branch 'hide-profile-tabs' into 'develop'
Hide tabs on Followers, Following… pages

See merge request soapbox-pub/soapbox-fe!1630
2022-07-18 15:41:01 +00:00
marcin mikołajczak
66168f5ad9 Merge branch 'break-words-reply-indicator' into 'develop'
Fix: post content is not truncated or wrapped in reply box

Closes #1041

See merge request soapbox-pub/soapbox-fe!1642
2022-07-17 17:53:17 +00:00