Commit Graph

7115 Commits (48396e1483a1ef69c4c317fefdae18c8f666efc9)

Author SHA1 Message Date
David Baker dba48e2f8f use start, end rather than min, max 2017-09-22 15:07:45 +01:00
David Baker 0f9f1c85a8 Remove done todo 2017-09-22 14:58:49 +01:00
David Baker 4a36e32c8d Show displayname & avatar url in group member list 2017-09-22 14:52:52 +01:00
David Baker 02894ee906 Experimental: Lazy load user autocomplete entries
Loading the users into the autocomplete provider is quite a large
chunk of work for a large room. Try lazy loading it the first time
a completion is done rather than up front when the room is loaded,
given that a lot of the time you switch to a room you won't say
anything.
2017-09-22 14:31:29 +01:00
David Baker f1a2b6d327 lint 2017-09-22 13:35:49 +01:00
David Baker 16398fbfc2 Allow TruncatedList to get children via a callback
And update MemberList to use it as such. This means that the parent
only needs to make react elements for the elements that will
actually be rendered, rather than all of them.

In practive this doesn't make a huge difference as making React
elements is fairly fast, but experimentally (with all profiling
turned on), MemberList went from 25ms in the constructor and
81ms in render to 38ms in constructor but sub 1ms render for
Matrix HQ.
2017-09-22 13:15:02 +01:00
David Baker 45c4eeba01 Merge pull request #1411 from matrix-org/dbkr/delint_truncatedlist
De-lint TruncatedList
2017-09-22 10:20:26 +01:00
David Baker 29d8df2c9e De-lint TruncatedList 2017-09-22 10:00:46 +01:00
Andrey e7d6839525 Translated using Weblate (Russian)
Currently translated at 100.0% (855 of 855 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-22 08:46:56 +00:00
Bamstam f37efcb3c4 Translated using Weblate (German)
Currently translated at 100.0% (855 of 855 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-09-22 08:46:55 +00:00
David Baker 77efe6a6d0 Merge pull request #1409 from pafcu/develop
Remove unneeded strings
2017-09-22 09:46:50 +01:00
Walter 4802b2abc1 Translated using Weblate (Russian)
Currently translated at 100.0% (855 of 855 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-22 07:53:45 +00:00
David Baker 78e806f7f9 Merge branch 'master' into develop 2017-09-21 21:48:08 +01:00
David Baker 3552f08aad v0.10.6 2017-09-21 21:47:28 +01:00
David Baker c40a3b9aab Prepare changelog for v0.10.6 2017-09-21 21:47:28 +01:00
David Baker daac0ebdc0 js-sdk v0.8.4 2017-09-21 21:43:35 +01:00
Matthew Hodgson 946c439c28 hopefully fix https://github.com/vector-im/riot-web/issues/4166 2017-09-21 18:56:47 +01:00
David Baker c6e4f606f9 Merge branch 'master' into develop 2017-09-21 18:02:16 +01:00
David Baker 99e4221e61 v0.10.5 2017-09-21 18:01:42 +01:00
David Baker 671743bcae Prepare changelog for v0.10.5 2017-09-21 18:01:41 +01:00
David Baker 3ac67077f9 Merge pull request #1410 from matrix-org/dbkr/prerelease_clean
Clean on prerelease
2017-09-21 17:59:48 +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
David Baker a0b4d8a9f8 Clean on prerelease
To avoid any further problems where we ship build files with the
wrong capitalisation because npm is dumb
2017-09-21 17:39:34 +01:00
Luke Barnard b5f141456c Merge pull request #1406 from matrix-org/luke/groups-add-feature-rooms
Implement adding rooms to the group summary
2017-09-21 17:27:40 +01:00
Luke Barnard 3351770b54 Fix dodgy merge 2017-09-21 17:26:16 +01:00
Stefan Parviainen 411a67c6b0 Remove unneeded strings
Signed-off-by: Stefan Parviainen <pafcu@iki.fi>
2017-09-21 18:25:45 +02: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 f27750e03e Merge pull request #1407 from matrix-org/dbkr/groups_is_privileged
Honour the is_privileged flag in GroupView
2017-09-21 17:10:28 +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
David Baker 3f0ee4e6ad Merge pull request #1405 from matrix-org/dbkr/update_on_group_invite
Update when a group arrives
2017-09-21 16:39:46 +01:00
David Baker add91f9a7d Update when a group arrives 2017-09-21 16:28:49 +01:00
Andrey 2bc2d30a0e Translated using Weblate (Russian)
Currently translated at 100.0% (855 of 855 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-21 14:18:33 +00:00
David Baker 5940b11fd2 Merge pull request #1404 from matrix-org/luke/feature-flair-click-for-group
Implement `view_group` dispatch when clicking flair
2017-09-21 15:18:28 +01:00
Luke Barnard 16f5a667c6 Redesign membership section in GroupView 2017-09-21 15:03:30 +01:00
Luke Barnard 41a9ff22fb Rename profile object properties to camelCase
Also, add correct PropTypes for FlairAvatar
2017-09-21 14:22:43 +01:00
Walter 5f73fa5a77 Translated using Weblate (Russian)
Currently translated at 100.0% (855 of 855 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-09-21 13:20:04 +00:00
David Baker 60d444b841 Merge pull request #1402 from matrix-org/luke/groups-add-featured-rooms-and-users
GroupView: Add a User
2017-09-21 14:19:58 +01:00
Luke Barnard e64cc3b666 Implement `view_group` dispatch when clicking flair 2017-09-21 13:25:36 +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 9cd4cdf6df Filter group users results based on query 2017-09-21 10:52:28 +01:00
Luke Barnard 03ddb63507 Remove redundant slice 2017-09-21 10:34:11 +01:00
Luke Barnard a0c5bbb3eb Merge pull request #1403 from matrix-org/luke/track-action-buttons
Track action button click event
2017-09-20 17:53:11 +01:00
Luke Barnard 515222c25f Track action button click event 2017-09-20 17:16:49 +01:00
Luke Barnard 7ef55946da Fix console error log statement 2017-09-20 17:04:05 +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