Commit Graph

111 Commits (ddc1ff2f235d680eaa89def050b1a40116bc70e1)

Author SHA1 Message Date
Luke Barnard 3f9d20de97 Implement removal function of features users/rooms
With the appeareance of a "X" in the top right of each featured item when editing.

NB: No reloading of summary is done after adding/removing a user/room. The plan is to better than threading a callback all the way down.
2017-09-22 15:56:35 +01:00
Luke Barnard c19ee66565 Merge pull request #1408 from matrix-org/luke/groups-membership-section-redesign
Redesign membership section in GroupView
2017-09-21 17:49:47 +01:00
Luke Barnard 3351770b54 Fix dodgy merge 2017-09-21 17:26:16 +01:00
Luke Barnard d75efb83f1 Merge branch 'develop' into luke/groups-membership-section-redesign 2017-09-21 17:25:12 +01:00
Luke Barnard cf23ac5931 Merge branch 'develop' into luke/groups-add-feature-rooms 2017-09-21 17:20:12 +01:00
David Baker 3c2e6fdf9e Honour the is_privileged flag in GroupView 2017-09-21 16:55:56 +01:00
Luke Barnard 5f840a3031 Implement adding rooms to the group summary
This includes making UserPickerDialog more generic such that it can also pick rooms from groups.
2017-09-21 16:53:10 +01:00
Luke Barnard 16f5a667c6 Redesign membership section in GroupView 2017-09-21 15:03:30 +01:00
Luke Barnard 3f0e596e97 Only show "Add" button when editing the group 2017-09-21 12:44:17 +01:00
Luke Barnard 4d9c43b3c8 Display dialog when errors occur whilst featuring users 2017-09-21 12:34:16 +01:00
Luke Barnard 03ddb63507 Remove redundant slice 2017-09-21 10:34:11 +01:00
Luke Barnard 5471431ee5 Disable "Add a Room" button for when we have a room picker 2017-09-20 17:02:20 +01:00
Luke Barnard adf0a79585 Implement avatar, displayname for featured users
Profile data has been added to the API response for users in the group summary
2017-09-20 16:54:12 +01:00
Luke Barnard 1c1bf82c2a Add users to group summary using new API 2017-09-20 16:32:02 +01:00
Luke Barnard 44c38652ab Implement UserPickerDialog for adding users
Also, use AccessibleButtons.
2017-09-20 15:44:42 +01:00
Luke Barnard 1c6cecbd43 Add "Add a User/Room" buttons and always display default lists 2017-09-20 14:41:29 +01:00
David Baker 299db845ff PR feedback 2017-08-25 12:10:13 +01:00
David Baker ac64e9b705 Lint 2017-08-21 19:34:07 +01:00
David Baker e77ea352e4 Support full group membership cycle
Apart from knocking, ie. Invite / accept / reject / leave
2017-08-21 19:18:32 +01:00
David Baker a15c2100d1 Sort out right panel callapsing on GroupView 2017-08-15 13:12:39 +01:00
Michael Telatynski 56ea528f43
don't track error messages .2
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-08-10 15:17:52 +01:00
Michael Telatynski bf98c0da7c
un-i18n Modal Analytics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-07-27 17:19:18 +01:00
David Baker f9cff50ef5 _loadGroupFromServer doesn't return a promise 2017-07-21 14:41:29 +01:00
David Baker d48924e768 Lint 2017-07-21 14:30:09 +01:00
David Baker be7228996a This should be null rather than false 2017-07-21 14:18:28 +01:00
David Baker 4eda2ab083 Swap classes instead of using 0 height elements 2017-07-21 14:13:57 +01:00
David Baker f2afd852d8 Make group editing work 2017-07-21 14:03:10 +01:00
David Baker 571fada77e Make group profile editing mostly work
apart from avatars
2017-07-21 11:12:15 +01:00
David Baker 859239f881 Lint / comment out line correctly 2017-07-17 18:13:20 +01:00
David Baker 6f65128928 Disable edit button again
until we have an API to edit group profile info
2017-07-17 17:18:46 +01:00
David Baker 1cd79fc918 Rename group settings to 'Edit Group' 2017-07-17 17:17:18 +01:00
David Baker a32113ad97 Add onChange handlers & tabIndexes 2017-07-17 14:40:38 +01:00
David Baker f6f80bf9ce Remove now unused 'edit' block
And add some css classes
2017-07-14 17:22:17 +01:00
David Baker 381f685013 Start on editing groups 2017-07-13 18:41:51 +01:00
David Baker ff3c21ef10 Lint, including putting key in right place 2017-07-11 15:16:58 +01:00
David Baker 8690ed2181 Make the category functions React components 2017-07-11 14:28:44 +01:00
David Baker 222ca054c5 Use PropTypes.shape to define our required inputs 2017-07-11 13:41:00 +01:00
David Baker 925d5bd480 Add featured users to Group View 2017-07-10 19:32:02 +01:00
David Baker 0e67a9158c hide settings button until it's wired up 2017-07-10 15:32:57 +01:00
David Baker 048912a241 Remove commented ordering code
No lomger needed now roosm come down in order
2017-07-10 15:17:58 +01:00
David Baker 49ca29e422 Lint 2017-07-10 14:07:16 +01:00
David Baker 696c72be2b Merge remote-tracking branch 'origin/develop' into dbkr/groups_better_groupview 2017-07-10 14:03:30 +01:00
David Baker 1e713557bb PR feedback 2017-07-07 18:34:40 +01:00
David Baker 681fd512d7 Lint 2017-07-07 13:46:05 +01:00
David Baker c21f90338d Merge remote-tracking branch 'origin/develop' into dbkr/groups_better_groupview 2017-07-07 12:02:15 +01:00
David Baker 45986306cc Merge remote-tracking branch 'origin/develop' into dbkr/my_groups 2017-07-07 10:32:37 +01:00
David Baker 1deb406294 Fix race 2017-07-07 10:12:06 +01:00
David Baker fa37d03db6 Improve the Group View page
Show the rooms in the group in thir various categories, etc
2017-07-06 19:13:14 +01:00
David Baker 84e13d5437 Add GroupAvatar to handle fallback images etc.
And a few misc tidyups
2017-06-29 17:51:38 +01:00
David Baker d6ecec1987 Behave better on rooms with no avatar / name
Also add translation strings
2017-06-29 17:17:43 +01:00
David Baker aa7a113324 More PR feedback 2017-06-27 13:41:43 +01:00
David Baker 6c9716637e Fix linting errors 2017-06-27 13:13:00 +01:00
David Baker 2aeaaf26ca remove inline css 2017-06-27 11:52:23 +01:00
David Baker 971f7ad045 Fix avatars 2017-06-27 10:32:21 +01:00
David Baker 867b47f4a2 PR feedback: remove phases 2017-06-27 10:28:46 +01:00
David Baker f0aaca0a31 Fix some PR feedback 2017-06-27 10:05:05 +01:00
David Baker c033d5defd Missing React import 2017-06-27 09:58:29 +01:00
David Baker 812b3643de Add message for HSes that don't support groups
Also add an unrelated missed translation
2017-06-26 17:47:17 +01:00
David Baker a26498bc6c Make 'group not found' work 2017-06-26 17:38:10 +01:00
David Baker 2efa099de2 Use function from HTMLUtils for sanitizing
Encapsulates things a little nicer
2017-06-23 17:02:54 +01:00
Erik Johnston 998a55a590 Add basic group view 2017-06-05 17:10:08 +01:00