add info message for blocked/muted characteristics
This commit is contained in:
parent
3e23aacaff
commit
8467db568f
2 changed files with 38 additions and 16 deletions
|
@ -102,22 +102,38 @@ function ListBlocked(props: Props) {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
{
|
||||
<ClaimList
|
||||
uris={viewMode === VIEW_MUTED ? localMutedList : localBlockedList}
|
||||
showUnresolvedClaims
|
||||
showHiddenByUser
|
||||
hideMenu
|
||||
renderActions={(claim) => {
|
||||
return (
|
||||
<div className="section__actions">
|
||||
<ChannelBlockButton uri={claim.permanent_url} />
|
||||
<ChannelMuteButton uri={claim.permanent_url} />
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
/>
|
||||
}
|
||||
<div className="help--notice">
|
||||
{viewMode === VIEW_MUTED
|
||||
? __(
|
||||
'Muted channels will be invisible to you in the app. They will not know they are muted and can still interact with you and your content.'
|
||||
)
|
||||
: __(
|
||||
"Blocked channels will be invisible to you in the app. They will not be able to comment on your content, or reply to you comments left on other channels' content."
|
||||
)}
|
||||
</div>
|
||||
<ClaimList
|
||||
uris={viewMode === VIEW_MUTED ? localMutedList : localBlockedList}
|
||||
showUnresolvedClaims
|
||||
showHiddenByUser
|
||||
hideMenu
|
||||
renderActions={(claim) => {
|
||||
return (
|
||||
<div className="section__actions">
|
||||
{viewMode === VIEW_MUTED ? (
|
||||
<>
|
||||
<ChannelMuteButton uri={claim.permanent_url} />
|
||||
<ChannelBlockButton uri={claim.permanent_url} />
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<ChannelBlockButton uri={claim.permanent_url} />
|
||||
<ChannelMuteButton uri={claim.permanent_url} />
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</Page>
|
||||
|
|
|
@ -262,6 +262,12 @@ textarea {
|
|||
background-color: var(--color-help-warning-bg);
|
||||
color: var(--color-help-warning-text);
|
||||
margin-bottom: var(--spacing-s);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.help--notice {
|
||||
@extend .help--warning;
|
||||
background-color: var(--color-card-background-highlighted);
|
||||
}
|
||||
|
||||
.help--inline {
|
||||
|
|
Loading…
Reference in a new issue