this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make comment hint opt-in

+22 -2
+18 -2
src/components/status.jsx
··· 102 102 onMediaClick, 103 103 quoted, 104 104 onStatusLinkClick = () => {}, 105 + enableCommentHint, 105 106 }) { 106 107 if (skeleton) { 107 108 return ( ··· 293 294 size={size} 294 295 contentTextWeight={contentTextWeight} 295 296 readOnly={readOnly} 297 + enableCommentHint 296 298 /> 297 299 </div> 298 300 ); ··· 994 996 (!!inReplyToId && inReplyToAccountId === status.account?.id) || 995 997 !!snapStates.statusThreadNumber[sKey] 996 998 ); 997 - }, [inReplyToId, inReplyToAccountId, status.account?.id, snapStates.statusThreadNumber[sKey]]); 999 + }, [ 1000 + inReplyToId, 1001 + inReplyToAccountId, 1002 + status.account?.id, 1003 + snapStates.statusThreadNumber[sKey], 1004 + ]); 998 1005 999 1006 const showCommentHint = useMemo(() => { 1000 1007 return ( 1008 + enableCommentHint && 1001 1009 !isThread && 1002 1010 !withinContext && 1003 1011 !inReplyToId && 1004 1012 visibility === 'public' && 1005 1013 repliesCount > 0 1006 1014 ); 1007 - }, [isThread, withinContext, inReplyToId, repliesCount, visibility]); 1015 + }, [ 1016 + enableCommentHint, 1017 + isThread, 1018 + withinContext, 1019 + inReplyToId, 1020 + repliesCount, 1021 + visibility, 1022 + ]); 1008 1023 1009 1024 return ( 1010 1025 <article ··· 2463 2478 instance={q.instance} 2464 2479 size="s" 2465 2480 quoted={level + 1} 2481 + enableCommentHint 2466 2482 /> 2467 2483 </Link> 2468 2484 );
+4
src/components/timeline.jsx
··· 531 531 instance={instance} 532 532 size="s" 533 533 contentTextWeight 534 + enableCommentHint 534 535 // allowFilters={allowFilters} 535 536 /> 536 537 ) : ( ··· 539 540 instance={instance} 540 541 size="s" 541 542 contentTextWeight 543 + enableCommentHint 542 544 // allowFilters={allowFilters} 543 545 /> 544 546 )} ··· 625 627 <Status 626 628 statusID={statusID} 627 629 instance={instance} 630 + enableCommentHint 628 631 // allowFilters={allowFilters} 629 632 /> 630 633 ) : ( 631 634 <Status 632 635 status={status} 633 636 instance={instance} 637 + enableCommentHint 634 638 // allowFilters={allowFilters} 635 639 /> 636 640 )}