Add "Did you know:..." microcopy to groups view

To explain how to drag group avatars into the TagPanel
This commit is contained in:
Luke Barnard 2018-02-27 09:20:06 +00:00
parent 3552800d19
commit 2b49947e1e
2 changed files with 17 additions and 0 deletions

View file

@ -74,6 +74,21 @@ export default withMatrixClient(React.createClass({
contentHeader = groupNodes.length > 0 ? <h3>{ _t('Your Communities') }</h3> : <div />;
content = groupNodes.length > 0 ?
<GeminiScrollbar>
<div className="mx_MyGroups_microcopy">
<p>
{ _t(
"Did you know: you can use communities to filter your Riot.im experience!",
) }
</p>
<p>
{ _t(
"To set up a filter, drag a community avatar over to the filter panel on " +
"the far left hand side of the screen. You can click on an avatar in the " +
"filter panel at any time to see only the rooms and people associated " +
"with that community.",
) }
</p>
</div>
<div className="mx_MyGroups_joinedGroups">
{ groupNodes }
</div>