Commit Graph

7958 Commits (cf472c791d580ccc0f5b3e419ec3f69e49ec50e3)

Author SHA1 Message Date
Peter Vágner cf472c791d Consume all combinations of space / enter, keyDown / keyUp presses and
try to explain this key handling inconsistency with some additional
comments as per the review discussion.
2018-01-05 11:45:45 +01:00
Peter Vágner f2ca02eaf8 SetEmailDialog: use autoFocus prop on the EditableText rather than using
its ref inside onComponentDidMount function. This is shorter better and
has been requested.
2017-12-20 10:13:37 +01:00
Peter Vágner 20c485d85e Move aria-hidden management from the BaseDialog component to the Modal 2017-12-20 10:09:26 +01:00
Peter Vágner 9f5857a7cc Merge branch 'develop' into dialog-a11y 2017-12-14 11:04:59 +01:00
Peter Vágner 642675c96d Address review request comments 2017-12-14 10:31:28 +01:00
Richard Lewis 41005f5bcb
Merge pull request #1663 from matrix-org/rxl881/titleRefresh
Update widget title on edit.
2017-12-13 10:15:31 +00:00
Richard Lewis c739269777 Update widget title on edit. 2017-12-13 10:14:26 +00:00
Peter Vágner ab0ff9b781 BaseDialog: split a very long line 2017-12-12 18:55:57 +01:00
Richard Lewis eae73e584c
Merge pull request #1661 from matrix-org/rxl881/titleBar
Set widget title
2017-12-11 13:19:34 +00:00
Richard Lewis c93266b6af Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into rxl881/titleBar 2017-12-11 13:08:49 +00:00
Richard Lewis c1d9df0e1f
Merge pull request #1650 from matrix-org/rxl881/customTitle
Display custom widget content titles
2017-12-11 12:00:38 +00:00
Richard Lewis 24db57bfb6 Fix api prefix. 2017-12-08 18:47:00 +00:00
Matthew Hodgson f2d68e4601
Merge pull request #1649 from matrix-org/rxl881/titleBar
Add maximize / minimize apps drawer icons.
2017-12-08 19:18:45 +01:00
David Baker bb9376098a
Merge pull request #1654 from matrix-org/dbkr/crypto_store_migrate_warning
Warn when migrating e2e data to indexeddb
2017-12-08 16:52:05 +00:00
David Baker ab2fcfb388 re-run the fun^w^wnpm run i18n 2017-12-08 16:36:30 +00:00
David Baker 0d38e7510d
Merge pull request #1600 from matrix-org/dbkr/udd_no_auto_show
Don't Auto-show UnknownDeviceDialog
2017-12-08 16:33:25 +00:00
David Baker 21f9549c78 Oops, missed some params 2017-12-08 15:33:03 +00:00
Richard Lewis a9ae4be74c Fix page title variable name. 2017-12-08 15:27:14 +00:00
David Baker 49002c87bc More doc 2017-12-08 15:19:30 +00:00
Richard Lewis 20917e1a07 Set page title from widget data, if available. 2017-12-08 15:12:48 +00:00
Peter Vágner 321b1adb99 Elliminate lint errors and warnings 2017-12-08 07:47:08 +01:00
Richard Lewis b20667a5a8
Merge pull request #1655 from matrix-org/rxl881/cmc
Remove logging.
2017-12-07 15:56:10 +00:00
David Baker 8e7c4c2018
Merge pull request #1648 from matrix-org/rxl881/encWarning
Add messaging endpoint for room encryption status.
2017-12-07 10:00:51 +00:00
Richard Lewis df438924a7 Remove logging. 2017-12-07 09:57:53 +00:00
Luke Barnard 4603d593de
Merge pull request #1588 from pvagner/develop
Add some missing translatable strings
2017-12-07 09:41:39 +00:00
Peter Vágner 839f938c91 Argh! Reworked AccessibleButton key handling again. It turned out by
fixing behaviour when pressing the enter key breaks behaviour when
pressing space to activate the buttons. So we are now handling enter
onKeyDown and space onKeyUp. Also briefly explained the situation with
comments.
2017-12-07 10:20:27 +01:00
Peter Vágner 4171675221 Add some comments explaining how we are using aria-hidden property to
hide content outside of the BaseDialog to screen reader users.
2017-12-07 09:44:00 +01:00
Richard Lewis ed675fe791 Allow bypass of widget loading screen on hide / show. 2017-12-06 22:54:32 +00:00
David Baker d6688d8f12 Add jsdoc 2017-12-06 19:11:50 +00:00
David Baker 2a01985076 better proptypes 2017-12-06 19:07:12 +00:00
David Baker 0deed4bb88 null guard 2017-12-06 19:05:25 +00:00
David Baker 1a3671d241 remove stray param 2017-12-06 19:04:29 +00:00
David Baker 5bca5a7a8e More underscore 2017-12-06 19:02:26 +00:00
David Baker aa99b898ce Add that it might not work now either
also a comma
2017-12-06 18:57:48 +00:00
Richard Lewis e20db416f2 Add field to bypass riot widget loading screen. 2017-12-06 16:44:41 +00:00
David Baker 4462694438 lint 2017-12-06 16:06:33 +00:00
David Baker 65c210cdde Warn when migrating e2e data to indexeddb 2017-12-06 15:28:20 +00:00
Peter Vágner f9b0243c8e Merge branch 'develop' into dialog-a11y 2017-12-06 11:10:18 +01:00
Peter Vágner 802abe7091 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into develop 2017-12-06 11:07:01 +01:00
Peter Vágner 9146fde308 Add a missing language string 2017-12-05 23:48:42 +01:00
Peter Vágner 60ada30680 Forgot to turn div displaying error text into an aria-alert in the
create group dialog.
2017-12-05 23:46:02 +01:00
Peter Vágner eda453bbe5 Fixed an issue where pressing enter key to activate the AccessibleButton
was also activating normal button that might just have received the
system focus as a result of the key press and the other way round.
The most obvious occurence of this issue is that dialogs were
reappearing when dismissed by pressing the enter key.
2017-12-05 23:23:40 +01:00
Richard Lewis 3206527d73 Remove logging. 2017-12-05 21:59:44 +00:00
Richard Lewis d62520482a fix typo. 2017-12-05 21:57:28 +00:00
Richard Lewis fc3287c49f Fix error message. 2017-12-05 21:56:35 +00:00
Richard Lewis 7f86ed35a3 Only show custom title if different from app name. 2017-12-05 21:49:11 +00:00
Richard Lewis 1415a83a61 Merge branch 'rxl881/titleBar' of https://github.com/matrix-org/matrix-react-sdk into rxl881/customTitle 2017-12-05 21:42:47 +00:00
Richard Lewis d5d5397959 Set custom widget title. 2017-12-05 21:41:44 +00:00
Richard Lewis 9fd8deb16d Add maximize / minimize apps drawer icons. 2017-12-05 18:18:51 +00:00
Peter Vágner a31af39ca8 Applied aria-describedby to all other dialogs that are using BaseDialog.
Also added initial focus where it has not been set.
2017-12-05 13:52:20 +01:00