Luke Barnard
e36baa8c3a
Fix quotes on import
2018-02-12 18:47:29 +00:00
Luke Barnard
0cdebcce89
Move sublist sorting to RoomListStore
...
NB: fixUndefinedOrdering was removed completely because it was
code dealing with legacy favourites.
see matrix-org/matrix-react-sdk@9b0df191
2018-02-08 16:28:42 +00:00
Luke Barnard
495090c9ba
Remove now unused RoomSubList code
2018-02-08 14:08:20 +00:00
lukebarnard
e46f436a47
Prefer context.matrixClient in LeftPanel
2018-02-06 11:50:34 +00:00
lukebarnard
37fe3ac676
Prevent RoomTiles from being dragged into other droppables
...
for the time being at least.
2018-01-25 22:51:40 +01:00
lukebarnard
2926154dce
Modify LeftPanel to include a DragDropContext
...
that handles drag and drop for TagPanel and RoomList. This is to
allow the future feature of dragging between the two components.
2018-01-25 22:30:58 +01:00
lukebarnard
3481283af8
Swap RoomList to react-beautiful-dnd
...
Includes themeing
See matrix-org/matrix-react-sdk#1711
2018-01-18 17:54:39 +00:00
Luke Barnard
608a359e0a
Move DND wrapper to top level component
2017-12-06 14:54:35 +00:00
Luke Barnard
b0d115a64a
Implement renumeration of ordered tags upon collision
...
I was being bitten by this enough for me to want to fix it. This implementation really ought to be improved such that it doesnt tend towards being broken the more it is used.
2017-12-01 18:20:38 +00:00
Luke Barnard
e80c4fadea
Linting
2017-12-01 18:18:48 +00:00
Luke Barnard
1ccffb7e58
Update imports for accessing KeyCode
2017-12-01 10:56:25 +00:00
Luke Barnard
bbdafeff77
getGroupStore no longer needs a matrix client
2017-11-28 13:17:30 +00:00
Stefan Parviainen
0bd68ce068
Add some aria-labels to RightPanel
...
Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
2017-11-21 09:18:59 +01:00
lukebarnard
7cb59bddb0
Use badge count format for member count in RightPanel
...
(to avoid cosmetic disasters with >9999 members in a room, e.g. HQ)
2017-11-20 13:12:55 +00:00
Luke Barnard
cb235a29fa
Merge pull request #5613 from pafcu/simplify-translation
...
Refactor translations
2017-11-16 11:54:52 +00:00
Stefan Parviainen
4949f2f763
Fix typo and update strings
...
Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
2017-11-15 20:43:45 +01:00
Stefan Parviainen
ca4b71b6e2
Update to use newer _t()
2017-11-14 21:54:00 +01:00
Travis Ralston
7570ce580f
Merge branch 'develop' into travis/granular
2017-11-13 12:25:56 -07:00
Luke Barnard
277a6dee10
Make groups a fully-fleged baked-in feature
2017-11-10 15:38:50 +00:00
Luke Barnard
cd26f63315
Do not init a group store when no groupId specified
...
(in RightPanel), otherwise the store will happily send requests to the server for the `undefined` group.
2017-11-06 10:16:03 +00:00
Travis Ralston
69939e2fe3
Merge branch 'develop' into travis/granular
2017-11-03 21:56:46 -06:00
Matthew Hodgson
c90834114b
Merge pull request #5498 from vector-im/luke/css-use-margin-in-room-dir-perms
...
Use margin to separate "perms" in the room directory
2017-11-03 22:44:41 +00:00
Luke Barnard
c60ff5d283
Fix group invites such that they look similar to room invites
...
- Remove CSS for GroupInviteTile - the component should be using RoomTile CSS
- Added extra tiles to roomCount of RoomSubList header
Part of fixing https://github.com/vector-im/riot-web/issues/5226
2017-11-03 12:17:49 +00:00
Luke Barnard
ee71c72685
Use margin to separate "perms" in the room directory
...
instead of a space.
2017-11-02 15:13:55 +00:00
Luke Barnard
c01ea56676
Add toggle to alter visibility of room-group association
2017-11-02 13:40:07 +00:00
Luke Barnard
2163a54617
Implement simple GroupRoomInfo
...
See matrix-org/matrix-react-sdk#1563
2017-11-01 17:32:01 +00:00
Michael Telatynski
c39044f397
Merge branch 'develop' of github.com:vector-im/riot-web into t3chguy/fix_typecheck_warn
2017-10-30 15:27:20 +00:00
Michael Telatynski
71c8dca91a
Fix instanceof check, was checking against the Package rather than class
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-10-30 15:12:03 +00:00
Travis Ralston
f6177cd7b5
Use granular settings instead of synced settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 01:51:02 -06:00
Luke Barnard
7bae7fe9e5
Use correct group store state when rendering "Invite to this community"
...
This required slight rework of how RightPanel uses the group store, and now it knows an unfortunate amount about the group store. Food for thought on stores in general, I think.
2017-10-27 14:33:28 +01:00
Luke Barnard
a627784c41
Merge pull request #5432 from vector-im/luke/fix-group-members-info-icon-highlight
...
Highlight group members icon in group member info
2017-10-25 15:41:09 +01:00
Luke Barnard
cd0888ce5a
Highlight group members icon in group member info
2017-10-25 15:27:50 +01:00
Luke Barnard
0561c5bd4f
Swap ui_opacity for panel_disabled
...
Simplify the API for disabling panels in the UI. `mx_fadable_faded` is applied instead of setting opacity.
2017-10-25 10:29:57 +01:00
Luke Barnard
bd15a88c89
Use CSS to stop greyed Right/LeftPanel UI from being interactable
2017-10-24 17:10:29 +01:00
Luke Barnard
6a0ecfba7f
Merge branch 'develop' into luke/fix-privileged-group-ui-1
2017-10-24 11:09:05 +01:00
Luke Barnard
f1a700ef99
Only show UI for adding rooms/users to groups to privileged users
2017-10-24 10:38:40 +01:00
Luke Barnard
cc1fb8ac94
Only show "Invite to this community" when viewing group members
2017-10-24 10:22:13 +01:00
Luke Barnard
e5df06b2ab
Groups->Communities
2017-10-19 15:07:22 +01:00
Luke Barnard
2cefa58d5d
CSS for Modifying GroupView UI matrix-org/matrix-react-sdk#1475
2017-10-16 11:44:38 +01:00
Luke Barnard
70bbf2df7a
Fix bug that made sub list placeholders not show for ILAG etc.
2017-10-04 15:58:40 +01:00
Luke Barnard
d3b8d8bf9d
Create basic icon for the GroupRoomList tab and adding rooms to groups
2017-09-29 17:03:58 +01:00
Luke Barnard
5544270bc4
Merge pull request #5131 from vector-im/luke/groups-button
...
Add button to get to MyGroups
2017-09-29 11:00:29 +01:00
Luke Barnard
47919bc291
Honour the Groups feature flag
2017-09-29 10:39:49 +01:00
Luke Barnard
f9a92ad15a
Lint
2017-09-28 10:02:16 +01:00
Luke Barnard
ce13837216
Remove key
prop pass-thru on HeaderButton
...
This is redundant and throws a warning
2017-09-28 09:46:10 +01:00
Luke Barnard
9c86a655ca
Add button to get to MyGroups
2017-09-27 17:46:53 +01:00
Luke Barnard
888e3abc75
Implement "Add room to group" feature
...
This step needs to be taken before adding a room to a group summary
2017-09-26 14:35:38 +01:00
Luke Barnard
bfdb92ff6b
Nit: Re-order property
2017-09-25 16:13:54 +01:00
Luke Barnard
77f30aacf9
Re-add clickPhase for FilePanel header button
2017-09-25 16:13:13 +01:00
Luke Barnard
fd7e81193e
Less coupling between HeaderButton and RightPanel
...
Use isHighlighted as a prop instead of computing based on phases and currentPhase
2017-09-25 16:06:46 +01:00