Commit graph

4490 commits

Author SHA1 Message Date
Justin
c664844e3c Persist suggestions when filtering feed 2022-07-06 14:30:06 -04:00
Justin
2f465fbc14 Use same value as 'showProfileHoverCard' 2022-07-06 14:30:06 -04:00
Justin
7b9a9c8e34 Fix overflow of text in feed filtering 2022-07-06 14:30:06 -04:00
Justin
b46ccc8b3e Add tests for suggestions action 2022-07-06 14:30:06 -04:00
Justin
41d5769aa0 Lint 2022-07-06 14:30:06 -04:00
Justin
b9d05f546c Lint 2022-07-06 14:30:06 -04:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Justin
1309521b9c Improve Stack and HStack components 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
3e8ebb1661 Improve UX after subscribing to account 2022-07-06 14:20:20 -04:00
Justin
b2f2bcb833 Center tooltips and add arrow 2022-07-06 14:19:51 -04:00
Justin
3f74455484 Improve UI of IconButton when disabled 2022-07-06 14:19:42 -04:00
Alex Gleason
2dd1631162
More component test TS fixes 2022-07-06 13:12:35 -05:00
Alex Gleason
0c7f1628b0
Fix more types in tests 2022-07-06 12:31:11 -05:00
Alex Gleason
590e85ac59
Fix notification test types 2022-07-06 12:24:45 -05:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
Alex Gleason
354395501e
Fix verification tests types 2022-07-06 12:11:39 -05:00
Alex Gleason
882e4b2fda
Fix hooks tests types 2022-07-06 12:10:21 -05:00
Alex Gleason
9d85a9f863
Fix normalizer test types 2022-07-06 12:08:51 -05:00
Alex Gleason
c66f5c040f
Fix utils tests types 2022-07-06 11:57:32 -05:00
Alex Gleason
073dd4f37a
Fix types in reducer tests 2022-07-06 11:53:55 -05:00
Alex Gleason
8685b64f9d
utils/numbers: fix test 2022-07-06 11:36:01 -05:00
Alex Gleason
cc4c8a0188
Fix utils/tailwind test 2022-07-06 11:33:22 -05:00
Alex Gleason
a509428f97
utils/timelines test: remove fromJS calls 2022-07-06 11:32:14 -05:00
Alex Gleason
d2540b3596 Merge branch 'xl-breakpoint' into 'develop'
Tailwind: reduce xl breakpoint to 1280px

Closes #1013

See merge request soapbox-pub/soapbox-fe!1600
2022-07-06 15:21:50 +00:00
Alex Gleason
53629737b1
CSS: 1440px --> 1280px 2022-07-06 10:13:34 -05:00
Alex Gleason
db953b1ec2 Merge branch 'account-grow' into 'develop'
Account: don't grow more than needed

Closes #891 and #1017

See merge request soapbox-pub/soapbox-fe!1601
2022-07-06 15:07:45 +00:00
Alex Gleason
9ce9a3f951
patchMe(): use multipart/form-data only optionally 2022-07-05 21:04:42 -05:00
Alex Gleason
d6d4fd2b91
Merge remote-tracking branch 'origin/develop' into edit-profile-fixes 2022-07-05 20:59:45 -05:00
Alex Gleason
bae21c9e00
Datepicker: fix test failing due to date matching today 2022-07-05 11:53:05 -05:00
Alex Gleason
997b709d8a Merge branch 'modal-overflow' into 'develop'
Modal: remove overflow-hidden

Closes #1021

See merge request soapbox-pub/soapbox-fe!1598
2022-07-05 14:04:41 +00:00
Alex Gleason
62ea445da5
StatusActionButton: use a black/white counter if emoji is present 2022-07-04 17:24:18 -05:00
Alex Gleason
82376d4b66
Merge remote-tracking branch 'origin/develop' into emoji-button 2022-07-04 16:52:59 -05:00
Alex Gleason
db56044f24
Revert "Remove react-router-scroll-4"
This reverts commit 01d9f918ce.
2022-07-04 16:21:35 -05:00
Alex Gleason
01b3223886
Account: don't grow more than needed 2022-07-04 15:13:19 -05:00
Alex Gleason
02f0c15a8c
Modal: remove overflow-hidden 2022-07-04 13:54:57 -05:00
Alex Gleason
cef4b16a69
Account normalizer: use '' as default birthday 2022-07-04 13:29:05 -05:00
Alex Gleason
d168302e72
EditProfile: reenable birthdays with TextInput (for now) 2022-07-04 13:24:55 -05:00
Alex Gleason
388d887583
Upgrade axios to v1.0.0-alpha.1, remove custom toFormData implementation 2022-07-04 12:53:25 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
Alex Gleason
2f78b9ccc6 Merge branch 'remove-unauth-setting' into 'develop'
Remove the guestExperience setting

See merge request soapbox-pub/soapbox-fe!1582
2022-06-30 15:15:23 +00:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
d4facbd3f5 Lint 2022-06-30 08:51:35 -04:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
marcin mikołajczak
891e844792 Merge branch 'poll-hint' into 'develop'
Polls: Hide multiple options hint if already voted

See merge request soapbox-pub/soapbox-fe!1587
2022-06-30 12:15:16 +00:00
marcin mikołajczak
afc933b3ef Merge branch 'preferences-features' into 'develop'
Don't display 'Always expand posts…' preference if spoilers feature not available

See merge request soapbox-pub/soapbox-fe!1589
2022-06-30 05:46:45 +00:00
dca0abed0f Don't display 'Always expand posts…' preference if spoilers feature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:54:56 +02:00
baaffa2d85 Allow up/down hotkey navigation in posts search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:50:45 +02:00
60f6bff306 Polls: Hide multiple options hint if already voted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:05:26 +02:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Alex Gleason
2e3718e548
Make /search a non-public route 2022-06-29 10:14:04 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Justin
1e53c9f6d4 username -> acct 2022-06-29 11:10:00 -04:00
Justin
303ad10730 username -> acct 2022-06-29 11:10:00 -04:00
Justin
afabe9525d Fix test 2022-06-29 11:10:00 -04:00
Justin
5f2e2c7fa4 Add tests for FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
9e6bb5264a Handle error state for carousels 2022-06-29 11:10:00 -04:00
Justin
14a9a2f4eb Update UI around Empty Message 2022-06-29 11:10:00 -04:00
Justin
1f3785c920 Add FeedCarousel 2022-06-29 11:10:00 -04:00
Justin
bdee28fd07 Add "useDimensions" hook 2022-06-29 11:10:00 -04:00
Justin
8039772d05 Extend PlaceholderAvatar component to support "withText" prop 2022-06-29 11:10:00 -04:00
Justin
5884d02e9d Add "8" to HStack space options 2022-06-29 11:10:00 -04:00
Justin
45147cd546 Fix spacing with PlaceholderStatus component 2022-06-29 11:10:00 -04:00
Justin
c41530b417 Add "feedUserFiltering" feature 2022-06-29 11:10:00 -04:00
Justin
33bebf5bba Add "carousel" redux logic 2022-06-29 11:10:00 -04:00
Alex Gleason
2a7fd15717 Merge branch 'autoload-fix' into 'develop'
ScrollTopButton: fix autoloading timelines

See merge request soapbox-pub/soapbox-fe!1584
2022-06-29 14:04:00 +00:00
Alex Gleason
0afa42502f
ScrollTopButton: fix autoloading timelines 2022-06-28 19:23:25 -05:00
Alex Gleason
89e0eef60f
Remove the guestExperience setting 2022-06-28 14:43:03 -05:00
Justin
e3d976a2e7 Account for smaller screens 2022-06-28 14:26:59 -04:00
Justin
825f5566a0 Add CSS class with variables 2022-06-28 14:18:15 -04:00
Alex Gleason
b0b418d699
BackgroundShapes: use a CSS linear gradient 2022-06-28 10:47:41 -05:00
Justin
f6a6ad42b5 Fix spacing between hashtags 2022-06-27 14:37:53 -04:00
Justin
97b752c00c Fix link UX issue on linkfooter 2022-06-27 11:52:05 -04:00
Alex Gleason
61968f3b84
actions/timelines: fix since_id 2022-06-27 09:55:40 -05:00
Alex Gleason
b96148c9a4 Merge branch 'poll-rounded' into 'develop'
Polls: handle long option text better with rounded-3xl

Closes #1006

See merge request soapbox-pub/soapbox-fe!1569
2022-06-27 14:49:12 +00:00
Alex Gleason
a228d87fa4 Merge branch 'alexgleason-develop-patch-30581' into 'develop'
Ignore streaming deletion events

See merge request soapbox-pub/soapbox-fe!1566
2022-06-27 14:49:03 +00:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00:00
Justin
1519bfa969 Fix tests from TSX conversion 2022-06-27 10:02:21 -04:00
Justin
e785fd2c63 Merge branch 'add-accounts-action-tests' into 'develop'
Add more tests for accounts action

See merge request soapbox-pub/soapbox-fe!1565
2022-06-27 12:28:50 +00:00
marcin mikołajczak
c203be1515 Merge branch 'crypto-limit-compare' into 'develop'
Fix: '0' Showing above instance name on the home page

Closes #1002

See merge request soapbox-pub/soapbox-fe!1575
2022-06-26 20:08:41 +00:00
64c37d9646 Fix: '0' Showing above instance name on the home page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-26 21:46:39 +02:00
Alex Gleason
41e5104fac
Update Tabler to v1.71.0, use new pencil-plus and message-circle-2 icons 2022-06-26 10:41:02 -05:00
Alex Gleason
ed9aa7b9f5
ActionBar: display emoji reaction 2022-06-25 15:54:10 -05:00
Alex Gleason
d9b14c6079
StatusActionButton: show selected emoji 2022-06-25 14:45:00 -05:00
Alex Gleason
8161009d5f
StatusContent: memoization performance enhancements 2022-06-25 12:00:00 -05:00
Alex Gleason
7e365897bb
Polls: handle long option text better with rounded-3xl 2022-06-25 11:42:32 -05:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
Alex Gleason
bb55663830
Merge remote-tracking branch 'origin/develop' into sw-skipwaiting 2022-06-24 15:38:44 -05:00
Alex Gleason
4004163fac actions/streaming: comment out unused import 2022-06-24 20:36:06 +00:00
Alex Gleason
d371ec506d
Chat: fix unread counter 2022-06-24 12:39:37 -05:00
Alex Gleason
d5ffce844d
ServiceWorker: display loading screen while updating 2022-06-24 11:52:57 -05:00
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
Alex Gleason
82122ffe45
Snackbar: refactor to use opts object 2022-06-23 17:54:38 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
9fff48a49f
Alerts: refactor notifications_container 2022-06-23 17:29:10 -05:00
Alex Gleason
421561f731
Alerts: use sm button 2022-06-23 16:24:10 -05:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
38c920e9e5
Snackbar: use 'ghost' theme button 2022-06-23 15:25:33 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
Alex Gleason
a8d4a08e15 Ignore streaming deletion events 2022-06-23 19:58:38 +00:00
Justin
86d6c519f0 Add tests for authorizeFollowRequest() action 2022-06-23 15:37:21 -04:00
Justin
7fc43f524a Add tests for expandFollowRequests() action 2022-06-23 15:31:32 -04:00
Justin
6775beba93 Add tests for fetchFollowRequests() action 2022-06-23 15:24:31 -04:00
Justin
ba595259c1 Add tests for fetchRelationships() action 2022-06-23 15:17:36 -04:00
Justin
2cc38554fa Add tests for expandFollowing() action 2022-06-23 15:08:53 -04:00
Justin
04a2d6be99 Add tests for fetchFollowing() action 2022-06-23 15:03:48 -04:00
Alex Gleason
638fc35f77
Merge remote-tracking branch 'origin/develop' into sw-skipwaiting 2022-06-23 14:01:22 -05:00
Justin
c2620b017b Add tests for expandFollowers() action 2022-06-23 14:59:37 -04:00
Justin
761d524fdb Add tests for fetchFollowers() action 2022-06-23 14:47:43 -04:00
b9fc2c6e58 reducers/scheduled_statuses: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-23 20:45:46 +02:00
Justin
931f2e16d8 Add tests for removeFromFollowers() action 2022-06-23 14:37:55 -04:00
Justin
11f8bf979a Improve RelativeTimestamp theme 2022-06-23 14:22:25 -04:00
Justin
0a9e1c808b Merge branch 'max-video-duration' into 'develop'
Implement 'video_duration_limit' from API

See merge request soapbox-pub/soapbox-fe!1561
2022-06-23 13:09:46 +00:00
marcin mikołajczak
3bee246880 Merge branch 'update' into 'develop'
Update some dependencies, remove `react-router-scroll-4`

See merge request soapbox-pub/soapbox-fe!1557
2022-06-23 07:39:40 +00:00
Alex Gleason
df0fc3c1e1
RelativeTimestamp: make text muted 2022-06-22 16:34:57 -05:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Justin
d56739727e Implement 'video_duration_limit' from API 2022-06-22 15:40:26 -04:00
Alex Gleason
18df7c0c4a
Settings: pass an opts object instead of showAlert 2022-06-22 12:54:36 -05:00
Alex Gleason
c1a0b7a6a8
Settings: optionally show alert 2022-06-22 12:17:35 -05:00
01d9f918ce Remove react-router-scroll-4
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:49:51 +02:00
b22512fb53 update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 12:47:20 +02:00
Alex Gleason
017ee90dfd Merge branch 'muted' into 'develop'
CSS: remove .muted styles

See merge request soapbox-pub/soapbox-fe!1556
2022-06-22 02:21:48 +00:00
Alex Gleason
a731a865f9
CSS: remove .muted styles 2022-06-21 21:08:20 -05:00
marcin mikołajczak
7a0dff1f33 Enable post editing on Pleroma 2022-06-21 22:43:51 +00:00
Alex Gleason
c42f60bc77
ChatRoom: autosize height on desktop 2022-06-21 15:58:03 -05:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
e5d6b4fd7b Merge branch 'hoverstatus' into 'develop'
Status reply hover

See merge request soapbox-pub/soapbox-fe!1550
2022-06-21 18:57:22 +00:00
Alex Gleason
3b0543eb66
reducers/status-hover-card: add tests 2022-06-21 13:39:47 -05:00
Alex Gleason
145c6efa4e
MockAdapter: add types 2022-06-21 13:14:45 -05:00
Alex Gleason
55892e0a82
Poll: convert vote to string 2022-06-21 11:25:20 -05:00
Alex Gleason
572744a695
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 11:01:05 -05:00
Justin
4b25bdf635 Merge branch 'poll-improvements' into 'develop'
Refactor & Redesign Polls in Statuses

See merge request soapbox-pub/soapbox-fe!1533
2022-06-21 11:44:40 +00:00
Justin
4ff54095fd Add help text for selecting multiple 2022-06-21 07:35:19 -04:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
Alex Gleason
729cf6f6f6
ProfileHoverCard: z-[100] no longer necessary 2022-06-20 17:37:56 -05:00
Alex Gleason
3e531b6827
Disallow status card nested hovering 2022-06-20 17:37:20 -05:00
Alex Gleason
01e643e4f6
StatusHoverCard: ahh, I understand the z-index issue 2022-06-20 17:28:59 -05:00
Alex Gleason
c78e398dad
StatusHoverCard: fix useEffect conditional 2022-06-20 17:20:51 -05:00
Alex Gleason
f1f6892d92
StatusHoverCard: prefer attachment thumbs 2022-06-20 17:06:48 -05:00
Alex Gleason
0292e4f428
StatusHoverCard: fix lint stuff, cleanup 2022-06-20 17:04:57 -05:00
Alex Gleason
3bbc4cffe8
actions/status-hover-card: convert to TypeScript 2022-06-20 16:55:08 -05:00
Alex Gleason
2d3d834a83
StatusReplyMentions: linter fixes 2022-06-20 16:51:25 -05:00
Alex Gleason
f1023b3f80
ProfileHoverCard: set z-index with Tailwind class 2022-06-20 16:49:23 -05:00
88f690824c Update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 22:44:40 +02:00
7d0247bc27 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:58 +02:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
Alex Gleason
ff903e0d2b Merge branch 'sentry-fixes' into 'develop'
Sentry fixes

See merge request soapbox-pub/soapbox-fe!1548
2022-06-20 18:19:56 +00:00
Justin
b53527673f Fix spacing regression 2022-06-20 13:27:16 -04:00
Alex Gleason
2acd0abab0
useSystemTheme: wrap addEventListener in try-catch for old iOS Safari 2022-06-20 12:03:33 -05:00
Alex Gleason
01b46e249b
actions/alerts: access properties more carefully 2022-06-20 11:52:36 -05:00