From 3cb128094d42703cfea68656fc5021d022a2ab49 Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Tue, 2 Jan 2018 13:44:22 +0000 Subject: [PATCH] Add more comments to TagTile to explain what it is --- src/components/views/elements/TagTile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/views/elements/TagTile.js b/src/components/views/elements/TagTile.js index b5dfce72c0..a8d4e514ae 100644 --- a/src/components/views/elements/TagTile.js +++ b/src/components/views/elements/TagTile.js @@ -24,11 +24,17 @@ import { isOnlyCtrlOrCmdKeyEvent } from '../../../Keyboard'; import FlairStore from '../../../stores/FlairStore'; +// A class for a child of TagPanel (possibly wrapped in a DNDTagTile) that represents +// a thing to click on for the user to filter the visible rooms in the RoomList to: +// - Rooms that are part of the group +// - Direct messages with members of the group +// with the intention that this could be expanded to arbitrary tags in future. export default React.createClass({ displayName: 'TagTile', propTypes: { // A string tag such as "m.favourite" or a group ID such as "+groupid:domain.bla" + // For now, only group IDs are handled. tag: PropTypes.string, },