Commit graph

959 commits

Author SHA1 Message Date
Matthew Hodgson
104a4150ae PR feedback; fix staticness and add ;s 2018-04-18 16:20:42 +01:00
Matthew Hodgson
e046a72750 flesh out status todo comment 2018-04-18 16:20:32 +01:00
Matthew Hodgson
7ee534388b convert VectorHomePage into ES6 and have it nicely override HomePage 2018-04-18 10:20:35 +01:00
Matthew Hodgson
a46b718b4a copy resources from their new locations 2018-04-13 01:49:52 +01:00
Matthew Hodgson
f569fddf15 make VectorHomePage override HomePage 2018-04-13 00:42:58 +01:00
Matthew Hodgson
3ecbfae371 move everything not explicitly riot (or status) branded into matrix-react-sdk 2018-04-11 23:49:52 +01:00
NotAFile
7262291dda
change vector-web repo to riot-web in changelog
closes #6479

Signed-off-by: Adrian Tschira <nota@notafile.com>
2018-04-10 15:57:16 +02:00
Richard Lewis
1abe5771fd
Merge pull request #6242 from vector-im/rxl881/snapshot
Stickerpacks
2018-03-29 16:12:53 +01:00
Luke Barnard
7673d2aa51 Fix missing import 2018-03-27 17:19:57 +01:00
Luke Barnard
95f0aaac68 Force gemini on HomePage 2018-03-27 11:54:10 +01:00
Richard Lewis
e3a3dec8a2 Move variables out of state. 2018-03-26 11:53:39 +01:00
Richard Lewis
700515cce3 Add some comments. 2018-03-26 11:48:29 +01:00
Richard Lewis
e36d972d94 Bind function in constructor. 2018-03-26 11:36:42 +01:00
David Baker
c99ca372d6
Merge pull request #6354 from vector-im/luke/reword-BugReportDialog
Reword the BugReportDialog.js as per @lampholder
2018-03-20 11:06:35 +00:00
Luke Barnard
324774ec2f Reword the BugReportDialog.js as per @lampholder
See https://github.com/matrix-org/matrix-react-sdk/pull/1740#issuecomment-369597662
2018-03-20 10:52:50 +00:00
Luke Barnard
f5a58258f9 Take TagPanel out of labs 2018-03-19 14:11:48 +00:00
Luke Barnard
7dc82e2e7a Force update RoomSubList after reading a room
so that the notification count is updated.

Previously we relied on a force update from RoomList, which was
removed as part of the optimisations in
  https://github.com/matrix-org/matrix-react-sdk/pull/1801
2018-03-16 17:55:29 +00:00
Luke Barnard
71786116d8 Ensure entire LeftPanel is faded when settings open
so as to prevent interaction with TagPanel.

Fixes https://github.com/vector-im/riot-web/issues/6184
2018-03-16 15:56:25 +00:00
Luke Barnard
fd8b36eb1c Use React.PureComponent instead of reimplementing it 2018-03-15 13:09:29 +00:00
Luke Barnard
04b1678c7f Implement a simple shouldComponentUpdate for DNDRoomTile
because otherwise beautiful dnd spends a lot of time requesting
animation frames pointlessly.
2018-03-14 15:06:13 +00:00
Luke Barnard
afb9fdf4ec Fix bug where cannot send group invite on GroupMemberInfo phase
by not reusing the same function and invoking separate conditions
to decide what the function does but instead using different
functions.

Also, show the GroupMemberList after inviting a member, otherwise
we might end up looking at the member we were already looking at
instead of the updated list of members.
2018-03-12 17:18:30 +00:00
Luke Barnard
8d5717b812 Allow arbitrary React nodes in RoomTooltip 2018-03-08 14:11:06 +00:00
Richard Lewis
6785d75ad2 Remove logging. 2018-03-06 14:46:40 +00:00
Richard Lewis
78ae1ada3c Fix tooltip vertical positioning. 2018-03-06 14:21:31 +00:00
Richard Lewis
d77ab891a0 Update tooltip position on scroll. 2018-03-06 11:25:15 +00:00
Richard Lewis
9fc7435ea2 Correctly position tooltips relative to parent element. 2018-03-06 10:47:53 +00:00
Luke Barnard
174061db57 Add setting to disable TagPanel 2018-02-28 18:16:37 +00:00
Richard Lewis
c198dd381f Pull in changes from develop 2018-02-23 17:31:24 +00:00
Matthew Hodgson
3bf04095b1
Merge pull request #6223 from vector-im/luke/fix-tag-tile-context-tinting
Fix un-tinted "View Community" icon in TagTile context menu
2018-02-23 16:42:55 +00:00
Matthew Hodgson
93c2462089
Merge pull request #6160 from vector-im/luke/fix-room-list-drop-target-bg
Fix RoomDropTarget and emptySubListTip to have containers
2018-02-23 16:36:14 +00:00
lukebarnard
c0055ebbeb Fix un-tinted "View Community" icon in TagTile context menu 2018-02-21 21:27:02 +00:00
Luke Barnard
0605d96014 Only use DNDRoomTile for editable sub lists
Otherwise, the DND tile will expect to be within a Droppable,
which is not supported by react-beautiful-dnd. This was causing
errors when receiving an invite.

Fixes #6144
2018-02-16 11:02:52 +00:00
Luke Barnard
9e1e7e0dbe Fix RoomDropTarget and emptySubListTip to have containers
so that the correct background colour can be used to surround both.
2018-02-15 14:09:38 +00:00
Luke Barnard
453b7d1007 Implement riot-web side of dragging GroupTile avatars to TagPanel
for adding groups to the TagPanel.
2018-02-14 16:37:32 +00:00
Luke Barnard
009e01c1b0 Fix LeftPanel size being incorrect when TagPanel disabled
A previous PR (#6134) assumed that the TagPanel feature
would always be enabled, leading to strangeness when it
wasn't: #6136.

(FTR the original layout bug was #6133)
2018-02-14 10:18:12 +00:00
Matthew Hodgson
9abda76d9e
Merge branch 'develop' into luke/fix-tag-panel-collapse 2018-02-13 22:02:49 +00:00
Luke Barnard
11b0cc8211 Merge branch 'develop' into luke/feature-tag-panel-tile-context-menu 2018-02-13 17:00:19 +00:00
Luke Barnard
285c4f91d3 Fix TagPanel from collapsing to < 60px when LP collapsed
Fixes https://github.com/vector-im/riot-web/issues/6133
2018-02-13 15:17:51 +00:00
David Baker
e67147213b
Merge pull request #6096 from vector-im/luke/room-list-flux
Make room tagging flux-y
2018-02-13 14:18:50 +00:00
Luke Barnard
2269c94579 Move groups button to TagPanel 2018-02-13 09:44:25 +00:00
Luke Barnard
e36baa8c3a Fix quotes on import 2018-02-12 18:47:29 +00:00
Luke Barnard
d47c9d8b6e Add context menu to TagPanel
See https://github.com/matrix-org/matrix-react-sdk/pull/1743
2018-02-12 18:02:55 +00:00
David Baker
d904212033 Merge branch 'release-v0.13.5' into develop 2018-02-09 12:28:26 +00:00
David Baker
62e90ceb0d Sanity check URLs with isUrlPermitted
Thanks to walle303 for letting us know these weren't being checked.
2018-02-09 12:20:31 +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
662942ec29 Use dispatch to change room tags from RoomTileContextMenu 2018-02-06 11:52:39 +00:00
lukebarnard
83996c09d9 General delint, cleanup 2018-02-06 11:51:46 +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