Commit graph

431 commits

Author SHA1 Message Date
Luke Barnard
76a8b61772 Merge branch 'master' into develop 2018-05-09 13:31:42 +01:00
Luke Barnard
3d20bd00a2 Pin lolex at 2.3.2 to avoid bug causing tests to fail
See https://github.com/sinonjs/lolex/issues/170
2018-05-09 11:43:02 +01:00
Matthew Hodgson
ccd99f4a49 increase max-warnings temporarily 2018-05-05 22:27:54 +01:00
Luke Barnard
aa370b3b67
Merge pull request #1877 from matrix-org/luke/test-room-list
Add tests for RoomList
2018-05-04 13:57:57 +01:00
Luke Barnard
8fcb530e6f Install lolex for clock mocking in tests 2018-05-03 15:25:14 +01:00
David Baker
2475295a24 Up the max warning count :( 2018-05-02 17:42:23 +01:00
David Baker
bf8612f864 Update eslint-plugin-react
Enables jsx-no-bind checking (although we may have to stop erroring
on this as we currently break this rule in a few places)
2018-05-02 17:30:37 +01:00
David Baker
dded89383a v0.12.3 2018-04-30 13:37:57 +01:00
David Baker
68ca2a9461 Bump js-sdk version 2018-04-30 13:33:57 +01:00
Luke Barnard
a1c4424224 Add tests for GroupView 2018-04-27 14:28:24 +01:00
David Baker
dafa65823c v0.12.3-rc.3 2018-04-26 11:19:48 +01:00
David Baker
78d836e607 v0.12.3-rc.2 2018-04-25 16:33:06 +01:00
David Baker
9146438683 Add res dir to package.json 2018-04-25 16:07:16 +01:00
David Baker
a08b055a84 v0.12.3-rc.1 2018-04-25 15:33:05 +01:00
David Baker
1feb2434ef js-sdk rc.1 2018-04-25 15:22:00 +01:00
Luke Barnard
88624c8548 Upgrade to mocha 5.05
primarily for use of `describe.only`
2018-04-25 09:45:14 +01:00
Matthew Hodgson
0571c596e3 move deps from vector-web to sdk; resolve version mismatches... 2018-04-18 10:53:01 +01:00
David Baker
7e977d0016 Merge branch 'master' into develop 2018-04-12 12:54:46 +01:00
David Baker
c06fc31bb2 v0.12.2 2018-04-12 12:50:52 +01:00
David Baker
f38bb1f2c2 Bump js-sdk 2018-04-12 12:40:33 +01:00
Luke Barnard
1c6c180908 Merge branch 'master' into develop 2018-04-11 11:55:24 +01:00
Luke Barnard
1adb82b985 v0.12.1 2018-04-11 11:54:54 +01:00
Luke Barnard
478c2bab33 Bump js-sdk version to 0.10.0 2018-04-11 11:51:16 +01:00
Luke Barnard
428cae34eb Merge branch 'master' into develop
(Releasing v0.12.0)
2018-04-11 11:32:05 +01:00
Luke Barnard
87d0c4b45a v0.12.0 2018-04-11 11:31:31 +01:00
Luke Barnard
f2e60b1526 v0.12.0-rc.7 2018-04-10 14:27:38 +01:00
Luke Barnard
d02dced246 v0.12.0-rc.6 2018-04-09 17:10:03 +01:00
Luke Barnard
9bab958a97 v0.12.0-rc.5 2018-04-09 15:41:02 +01:00
Luke Barnard
84635b715c Bump matrix-js-sdk to rc.2 2018-04-09 15:31:52 +01:00
Luke Barnard
ce80b82ab3 Bump source-map-loader version to avoid bug /w inline base64 maps 2018-04-09 13:53:02 +01:00
David Baker
72b9cb0be4 v0.12.0-rc.4 2018-03-22 13:17:48 +00:00
David Baker
3a8f380113 v0.12.0-rc.3 2018-03-20 17:38:12 +00:00
David Baker
580b68a1b6
Merge pull request #1652 from pvagner/dialog-a11y
Dialog a11y
2018-03-20 11:35:57 +00:00
David Baker
12e468a314 v0.12.0-rc.2 2018-03-19 14:59:00 +00:00
David Baker
6fbd4e04fa v0.12.0-rc.1 2018-03-19 12:16:32 +00:00
David Baker
2c81588937 bump js-sdk version 2018-03-19 12:11:08 +00:00
David Baker
100a5ba96a Merge branch 'master' into develop 2018-02-09 12:34:44 +00:00
David Baker
4bf5e44b20 v0.11.4 2018-02-09 12:34:00 +00:00
Peter Vágner
14991afbe5 Merge branch 'develop' into dialog-a11y 2018-02-06 23:04:15 +01:00
lukebarnard
00dc077271 Remove react-dnd, revert fa14bc9 as no longer needed 2018-01-19 13:34:56 +00:00
lukebarnard
16c13fb079 Replace TagPanel react-dnd with react-beautiful-dnd
This new library handles the simple case of an ordered vertical
(or horizontal) list of items that can be reordered.

It provides animations, handles positioning of items mid-drag
and exposes a much simpler API to react-dnd (with a slight loss
of potential function, but we don't need this flexibility here
anyway).

Apart from this, TagOrderStore had to be changed in a highly
coupled way, but arguably for the better. Instead of being
updated incrementally every time an item is dragged over
another and having a separate "commit" action, the
asyncronous action `moveTag` is used to reposition the tag in
the list and both dispatch an optimistic update and carry out
the request as before. (The MatrixActions.accountData is still
used to indicate a successful reordering of tags).

The view is updated instantly, in an animated way, and this
is handled at the layer "above" React by the DND library.
2018-01-15 18:12:27 +00:00
Matthew Hodgson
76ce40715d bump commonmark dep to try to fix https://github.com/vector-im/riot-web/issues/3428 better 2018-01-07 20:32:57 +00:00
Luke Barnard
a8a650c24a Move TagTile to separate file, and make it dragable 2017-12-06 11:25:46 +00:00
Peter Vágner
f9b0243c8e Merge branch 'develop' into dialog-a11y 2017-12-06 11:10:18 +01:00
Peter Vágner
4f83f6cf25 Move keyboard focus management back to the BaseDialog rather than
leaving it in the Modal manager.
We are using Modal manager to load other components not just BaseDialog
and its subclasses and they might require different keyboard handling.
Also depend on focus-trap-react rather than react-focus-trap for locking
keyboard focus inside the dialog. The experience is much nicer and even
the FocusTrap element it-self no longer gains the focus.
On a side note using the FocusTrap element outside the dialog (on
its parent) stops it from working properly.
2017-12-05 08:50:40 +01:00
Luke Barnard
1a283f90f5 v0.11.3 2017-12-04 12:24:21 +00:00
Luke Barnard
50e227f5c0 Bump js-sdk dep. to 0.9.2 2017-12-04 12:15:19 +00:00
Peter Vágner
5ccbcf02e2 Several changes improving accessibility of the dialogs
- Wrapped all the modals inside a react-focus-trap component disabling
keyboard navigation outside the modal dialogs
- Disabled our custom key handling at dialog level. Cancelling on esc
key is now handled via FocusTrap component.
- Removed onEnter prop from the BaseDialog component. Dialogs that
submit data all now embed a form with onSubmit handler. And since
keyboard focus is now managed better via FocusTrap it no longer makes
sense for the other dialog types. Fixes
https://github.com/vector-im/riot-web/issues/5736
- Set aria-hidden on the matrixChat outer node when showing dialogs to
disable navigating outside the modals by using screen reader specific
features.
2017-12-03 21:38:21 +01:00
Richard van der Hoff
a088e559d1 v0.11.2 2017-11-28 10:25:04 +00:00
David Baker
394e450526 v0.11.1 2017-11-17 16:03:50 +00:00