J. Ryan Stinnett
5fc25fd6ba
Only mark group as failed to load for summary
...
Currently, any error in the `GroupStore`s several requests can cause the whole
`GroupView` component to hide and be mark the group as failed to load.
Since it is known that group members may fail to load in some cases, let's only
show failed to load for the whole group when the summary fails.
This also strengthens the `GroupView` test by ensuring we wait for multiple
updates for checking results.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-04 18:32:16 -06:00
Aaron Raimist
49ce4ef117
eslint --fix src/
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-26 22:50:38 -05:00
Aaron Raimist
fe901142aa
Split long string over two lines
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-23 17:20:57 -05:00
Aaron Raimist
92bfb42784
Use one string instead of two
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-23 13:11:36 -05:00
Aaron Raimist
a6c78ace4f
Add warning when administrator leaves community
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-23 12:25:12 -05:00
David Baker
27fa21e403
Replace view_set_mxid with require_registration
...
To put all the other flows through the to-ilag-or-not-to-ilag flow
2018-09-05 18:08:49 +01:00
Michael Telatynski
29d48e5dad
guests trying to join communities should fire the ILAG flow.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-07-15 22:48:25 +01:00
David Baker
a918d73c29
Merge pull request #1973 from matrix-org/t3chguy/fix_react_proptypes_warnings
...
fix a bunch of instances of react console spam
2018-06-18 10:47:20 +01:00
Michael Telatynski
43681026b8
s/onClick/onChange because react cries about it
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-15 19:01:12 +01:00
Michael Telatynski
a2219472f6
inline redundant bodyNodes
, fixes react no unique key warning too
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-15 18:47:15 +01:00
Michael Telatynski
7f1ce52dd3
link to ShareDialog from GroupView, RoomView, UserSettings & MemberInfo
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-06-12 11:22:01 +01:00
Luke Barnard
da9fe9917b
Fix click on faded left/right/middle panel -> close settings
...
- implement generic dispatch to close user/room/group settings
- use dispatch to allow clicks on disabled left/right/middle panel to
close settings
A much more maintainable approach would be to use dedicate routing
instead of doing different things depending on what page of the app is
currently being viewed. At the very least we could make the concept of a
settings page generic.
2018-05-29 13:16:39 +01:00
Luke Barnard
25690336c3
Prevent user getting trapped in group settings when an error occurs
2018-05-01 11:52:02 +01:00
Luke Barnard
023daef4b7
Refactor GroupStores into one global GroupStore
...
Take a step closer to a flux-like architecture for group data, for
the purposes of providing features that require it.
Now the app has a single GroupStore that can be poked to fetch
updates for a particular group.
2018-05-01 11:24:17 +01:00
Luke Barnard
fca7325b20
Change comments
2018-04-10 15:56:57 +01:00
Luke Barnard
31e9979285
Add 500ms delay to show membershipBusy
for longer
...
to avoid a UI that flashes quickly
2018-04-10 15:31:04 +01:00
Luke Barnard
de1073aacb
Factor out _closeSettings
for cleanliness
2018-04-10 13:28:42 +01:00
Luke Barnard
24d4df87d1
Show membership spinner next to Leave/Join button when leaving/joining
2018-04-10 11:49:59 +01:00
Luke Barnard
0681df71b0
Hide settings after leaving a group
2018-04-10 11:49:35 +01:00
Luke Barnard
42141f7da7
Fetch group data when leaving or joining to update the view
2018-04-10 10:03:54 +01:00
Luke Barnard
2da45277cd
Update group join button to match new API
2018-04-09 16:57:27 +01:00
Luke Barnard
1e586428ac
Update to match is_openly_joinable API
2018-04-06 14:58:10 +01:00
David Baker
03747b8287
Update to use new join_policy API
2018-04-05 16:56:35 +01:00
Luke Barnard
c9283ad988
Merge branch 'luke/feature-group-set-joinable' of github.com:matrix-org/matrix-react-sdk into luke/feature-group-set-joinable
2018-03-29 17:28:44 +01:00
Luke Barnard
2bc8d6d3a4
Use less confusing values on radio buttons
2018-03-29 17:25:06 +01:00
Luke Barnard
e9193ff0b6
Merge branch 'develop' into luke/feature-group-set-joinable
2018-03-29 17:01:19 +01:00
Luke Barnard
f42cdf6a4c
Add radio button for setting group is_joinable
...
which dictates whether the group can be joined without invitation.
2018-03-29 16:57:07 +01:00
Luke Barnard
1226ad3330
Merge pull request #1815 from matrix-org/luke/feature-group-join
...
Join this community button
2018-03-29 15:44:46 +01:00
Luke Barnard
c4322892de
Reword group setting delay
2018-03-29 14:33:54 +01:00
Luke Barnard
385211528d
Implement "Join this community" button
...
for groups that have truthy summary.profile.is_joinable.
2018-03-29 12:39:09 +01:00
Luke Barnard
b80568b1c5
Wrap GeminiScrollbar in a component, enabled forceGemini
...
Fixes https://github.com/vector-im/riot-web/issues/6294
2018-03-27 13:04:26 +01:00
Luke Barnard
bc5699b3d7
Add change delay warning in GroupView settings
2018-03-14 18:17:15 +00:00
Luke Barnard
4037a22492
Fix bug where avatar change not reflected in LLP
...
Fixes vector-im/riot-web#6189
2018-03-01 14:40:03 +00:00
Michael Telatynski
1bc9d344ae
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/nvl/rich_quoting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
# Conflicts:
# src/components/views/messages/TextualBody.js
2018-01-10 11:54:58 +00:00
Aidan Gauland
35780f5ae0
Remove use of deprecated React.PropTypes
...
Replace all uses of React.PropTypes with PropTypes and importing PropTypes from
'prop-types'.
2017-12-26 14:03:18 +13:00
Michael Telatynski
5c229b9ef8
DRY matrix.to link generation so it is all changeable in one class
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-12-12 23:33:40 +00:00
Luke Barnard
7ec4010881
Make GroupStore use MatrixClientPeg
...
To avoid weirdness with using a cached matrix client
2017-11-28 11:54:05 +00:00
Luke Barnard
1a3ad5a342
Allow guests to view individual groups
...
For homeservers that still disallow guests (running synapse without https://github.com/matrix-org/synapse/pull/2715 ), start ILAG.
2017-11-28 11:52:46 +00:00
lukebarnard
9ed9422af8
Move group publication toggles to UserSettings
2017-11-27 17:24:42 +00:00
Stefan Parviainen
df6d5cc2b4
Pass plain components, rather than functions returning them
2017-11-14 20:09:52 +01:00
Stefan Parviainen
3afbaf61e7
Refactor i18n stuff a bit
2017-11-13 20:19:33 +01:00
Luke Barnard
266a504981
Use the same MatrixClient for the duration of GroupView lifecycle
...
Using the pegged matrix client would lead to trying to call removeListener on `null` when GroupView is unmounted during logout.
2017-11-10 10:49:14 +00:00
Luke Barnard
120e7b821f
Merge pull request #1585 from matrix-org/luke/groups-inviter-profile
...
Use the getProfileInfo API for group inviter profile
2017-11-08 10:24:00 +00:00
Luke Barnard
10778e075e
Merge branch 'develop' into luke/groups-inviter-profile
2017-11-08 10:10:43 +00:00
Luke Barnard
4bb083d959
Style
2017-11-08 10:08:04 +00:00
Luke Barnard
f53f9ed8ca
inviterProfile = null initially
2017-11-08 10:07:43 +00:00
Luke Barnard
4c47f75918
Merge pull request #1587 from matrix-org/luke/groups-add-rooms-with-visibility
...
Add checkbox to GroupAddressPicker for determining visibility of group rooms
2017-11-08 10:04:41 +00:00
Luke Barnard
8fbe50a1cf
Merge pull request #1580 from matrix-org/luke/groups-new-group-settings
...
Improve group creation UX
2017-11-07 18:55:34 +00:00
Luke Barnard
d777e370f2
Merge pull request #1583 from matrix-org/luke/groups-disable-rooms-whilst-editing
...
Disable RoomDetailList in GroupView when editing
2017-11-07 18:53:04 +00:00
Luke Barnard
edc744067f
Add checkbox to GroupAddressPicker for determining visibility of group rooms
2017-11-07 18:51:41 +00:00