Luke Barnard
011aadcb94
Merge pull request #1421 from pafcu/develop
...
Add dummy translation function to mark translatable strings
2017-10-04 10:09:09 +01:00
Luke Barnard
8243c39d83
Factor out EditableItemList from AliasSettings
...
Such that we can reuse the same UI elsewhere, namely when editing related groups of a room (which is an upcoming feature).
2017-10-04 10:00:01 +01:00
Luke Barnard
03581adf85
Merge pull request #1438 from matrix-org/luke/groups-remove-room
...
Implement button to remove a room from a group
2017-10-03 11:45:03 +01:00
Luke Barnard
6b834bc72e
Add confirmation dialog for removing room from group
2017-10-03 11:16:22 +01:00
Luke Barnard
0116c4b486
Log the error when failing to removie room from group
2017-10-03 10:14:08 +01:00
Luke Barnard
3e34a460a4
Add error dialog for when removing room fails
2017-10-03 10:12:11 +01:00
Stefan Parviainen
a96169e80e
Fix merge conflict
2017-10-02 17:57:22 +02:00
David Baker
b202601d65
Fix showing 3pid invites in member list
2017-10-02 15:10:32 +01:00
Travis Ralston
0e2a1c90d5
Don't suggest grey as a color scheme for a room
...
Fixes https://github.com/vector-im/riot-web/issues/5045
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 16:08:50 -06:00
Travis Ralston
20798dd2fa
Expose power level setting for widgets
...
Fixes https://github.com/vector-im/riot-web/issues/4866
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 15:37:32 -06:00
Travis Ralston
8ee9d39ffa
Expose option for m.room.topic power level
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 15:12:05 -06:00
Travis Ralston
8ab3d94c1c
Always show common events in the PL section of room settings
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 15:11:48 -06:00
Travis Ralston
614cf950b6
Supply user-friendly labels for common events
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 14:45:00 -06:00
Travis Ralston
2e1b2178a1
Remove assumptions on how languages work in the power levels section
...
This does mean that the strings will need to be re-translated, but now they may be more accurate because the comma is not assumed in the code.
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 14:35:49 -06:00
Travis Ralston
415693bd83
Support editing power levels of events.
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 14:32:40 -06:00
Travis Ralston
2d153a72c1
Split up CSS; use .catch instead of .then
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 13:33:14 -06:00
Travis Ralston
a01387f7a6
Use an AccessibleButton for unpinning from the pane.
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 13:32:25 -06:00
Travis Ralston
0f2fd9f698
Move the PinnedEventsPanel to the react-sdk
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 13:25:29 -06:00
Travis Ralston
078ee54edf
Move the PinnedEventsPanel to the react-sdk
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 13:15:21 -06:00
Travis Ralston
2d5acfc0bc
Filter pinned events before rendering
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:30:52 -06:00
Travis Ralston
b0190f6a65
i18n for remaining strings
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:22:06 -06:00
Travis Ralston
0a3bc1c667
Don't try to show redacted messages
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:21:44 -06:00
Travis Ralston
aff02885de
Don't fail if an event doesn't belong to a room.
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:21:21 -06:00
Travis Ralston
965a25ba84
Fix bug where rooms missing m.room.pinned_events could not pin messages
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:08:22 -06:00
Travis Ralston
f7389b70aa
Hide the pin option in the context menu if the user can't pin messages
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 11:01:17 -06:00
Luke Barnard
955ca6cd2b
Implement button to remove a room from a group
...
NB: This doesn't provide any feedback to the user. We should use a GroupSummaryStore-style component to refresh the view after a successful hit to the API. This could affect the summary view as well, because when rooms are removed from a group, they are also removed from the summary (if necessary).
2017-09-29 17:59:24 +01:00
Travis Ralston
efdb4b02c6
i18n for 'Jump to message' button
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:55:52 -06:00
Travis Ralston
59a253af37
Don't show the unpin button if the user can't unpin the message.
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:53:44 -06:00
Travis Ralston
9b11f576fe
Add action bar to pinned event tiles; support unpinning from the panel
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:42:58 -06:00
Travis Ralston
fa5a23e0df
Permalink pins to their original events
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:42:58 -06:00
Travis Ralston
5daa16ab53
Add panel for pinned messages.
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:42:58 -06:00
Travis Ralston
774c3dbd38
Pin/unpin message option in a message's context menu
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 10:42:58 -06:00
Luke Barnard
d3b8d8bf9d
Create basic icon for the GroupRoomList tab and adding rooms to groups
2017-09-29 17:03:58 +01:00
Travis Ralston
f71e07670d
Send toggle handler for the cancel button in the pinned events pane
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 08:56:21 -06:00
Travis Ralston
874d383a8f
Add dock for pinned messages at the top of the room
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 08:56:21 -06:00
Travis Ralston
3a58e1c066
Show pinned message changes in the timeline
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-29 08:56:21 -06: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
c8b2158156
Lint
2017-09-29 10:42:23 +01:00
Luke Barnard
47919bc291
Honour the Groups feature flag
2017-09-29 10:39:49 +01:00
Luke Barnard
18e0d8da86
Rename Flair feature to Groups
2017-09-29 10:27:40 +01:00
Luke Barnard
739ddb8410
Merge branch 'develop' into luke/groups-button
2017-09-28 12:11:26 +01:00
Luke Barnard
6b9a2909df
Add rule to enforce spacing in curly brackets in JSX children
...
This required an updated in version of eslint-plugin-react to 7.4.0.
2017-09-28 11:21:06 +01:00
Luke Barnard
38fdd155f0
Construct address picker message using provided validAddressTypes
2017-09-28 10:06:51 +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
929c8627d3
Add button to get to MyGroups (view_my_groups or path #/groups)
2017-09-27 17:45:49 +01:00
Luke Barnard
f3b6b2cc06
Fix GroupView summary rooms displaying without avatars
...
- GroupView can now render with rooms in the summary that do not have an avatar
- RoomAvatar no longer has a redundant fallback avatar (this is handled by BaseAvatar)
- RoomAvatar was delinted
2017-09-27 16:18:15 +01:00
Luke Barnard
d52355f80e
Implement adding rooms to a group (or group summary) by room ID
2017-09-27 15:30:58 +01:00
David Baker
2d8bc783b0
Merge pull request #1431 from matrix-org/luke/feature-flair-tooltip
...
Give flair avatars a tooltip = the group ID
2017-09-27 14:44:25 +01:00