Commit Graph

69869 Commits

Author SHA1 Message Date
Michael Telatynski 702a8ff4a9 Change ref handling in TextualBody to prevent it parsing generated nodes
Remove unused paths

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 01:01:19 +00:00
Michael Telatynski 33eff43313 Change the (edited) link to an AccessibleButton for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 21:01:21 +00:00
Michael Telatynski 4be8b87869 Add what-input to allow different scoping to focus-visible for MessageActionBar keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 13:07:52 +00:00
Michael Telatynski 86e52d1ef3 Mark the This/All Rooms scope buttons as radios for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:45:28 +00:00
Michael Telatynski 680c5c2b27 Switch ReactionsRowButton to an AccessibleButton for space/enter handling
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-07 12:20:06 +00:00
Travis Ralston 0e1d5daee4 i18n 2019-12-06 17:08:55 -07:00
Travis Ralston 8d3418dfa9 Update copy for DM invites
Fixes https://github.com/vector-im/riot-web/issues/10766
2019-12-06 17:08:24 -07:00
Weblate 69093abcf2 Merge branch 'origin/develop' into Weblate. 2019-12-06 23:45:16 +00:00
Szimszon 836fdb4a57 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1933 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-12-06 23:45:16 +00:00
Travis Ralston 89fdfd7a23 Merge pull request #3705 from aaronraimist/acl-dont-bold
Don't mark a room as unread when server ACLs are set
2019-12-06 16:45:10 -07:00
Aaron Raimist aa8e6186eb Don't mark a room as unread when server ACLs are set
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-12-06 17:34:31 -06:00
Travis Ralston 405b3f6be6 Fix member list not being open for end-to-end tests 2019-12-06 16:33:03 -07:00
Travis Ralston 94ae06db4d Fix cold open of the RightPanel directly to MemberInfo
This requires us to track some of the phase's state in the RightPanelStore, which is not great - trying to get it through the app is a bit difficult.
2019-12-06 15:05:02 -07:00
Travis Ralston 78ce801c25 Fix incorrect function call into RightPanelStore
We dispatch to open, not call directly into the store.
2019-12-06 14:52:31 -07:00
Travis Ralston 4bcf99f65e Fix member info not opening
The subclasses listen for view_user and similar dispatches, which then start up the RightPanel. We weren't registering a listener though because we changed to using the RightPanelStore for most of our logic.
2019-12-06 14:51:49 -07:00
Travis Ralston 185830e4f3 Fix end-to-end tests
The right panel needs to be opened manually now.
2019-12-06 14:22:27 -07:00
Travis Ralston 814c408e23 Disable the right panel when the app asks us to
Currently this is only used in the GroupView and for forwarding messages.
2019-12-06 14:18:18 -07:00
David Baker 5a0c1cda22 Files I've added
This still won't work, still a WIP
2019-12-06 18:20:31 +00:00
David Baker a2c5d6176f Initial copy of files from the riot-web repo
None of this will work as it will need tweaking (at the very least
I've not copied the origin migrator because that's had long enough)
but these are files which already existed in their current state and
so don't need re-reviewing.
2019-12-06 18:17:34 +00:00
J. Ryan Stinnett 24d6e7e456 Use private key check to provide feedback 2019-12-06 17:54:00 +00:00
David Baker 7776b19339 Merge pull request #11617 from vector-im/dbkr/yarn_upgrade_dec19_2
yarn upgrade
2019-12-06 16:12:28 +00:00
David Baker 60467ffd02 yarn upgrade
attempt 2
2019-12-06 15:58:44 +00:00
David Baker 364e79c673 Merge pull request #11616 from vector-im/dbkr/why_are_you_still_here_draft_js
Remove draft-js dependency
2019-12-06 15:55:24 +00:00
Weblate ff6aa96334 Merge branch 'origin/develop' into Weblate. 2019-12-06 15:43:36 +00:00
David Prieto e641a74452 Translated using Weblate (Spanish)
Currently translated at 70.6% (1363 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-06 15:43:36 +00:00
Kévin C af31844a9d Translated using Weblate (French)
Currently translated at 100.0% (1931 of 1931 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-12-06 15:43:30 +00:00
J. Ryan Stinnett cb28e2062b Merge pull request #3704 from MarcoZehe/MoreAccessibleReactions
Make reaction buttons more accessible
2019-12-06 15:43:20 +00:00
Marco Zehe 19e6587548 Add tabIndex to the button to make it keyboard focusable
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 16:03:19 +01:00
Marco Zehe 78555ed422 Make reaction buttons more accessible
Fixes vector-im/riot-web/issues/11608.

This patch:

1. Turns the container of reaction buttons into a toolbar.
2. Makes each button span into a button with a tabindex and an aria-label.
3. Constructs an alternative label that differs slightly from the text displayed by the tool tip:
   * It uses the names of the people who reacted.
   * It puts a space before the "reacted with" text.
   * It uses the actual emoji characters, not the converted colon-delimited shortNames, because the emojis usually tell blind users more about the expression.
   * It omits the number of reactions, since that information is already conveyed by the names.

Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2019-12-06 15:58:28 +01:00
J. Ryan Stinnett 9b9e074d30 Use consistent import style 2019-12-06 14:15:41 +00:00
David Baker c063cec4d7 remove draft CSS reference 2019-12-06 13:44:51 +00:00
David Baker e2b1a86a29 Remove draft-js dependency
...which for some reason was still kicking around
2019-12-06 13:33:30 +00:00
David Baker 3b8c4dfb86 Initial commit 2019-12-06 13:07:37 +00:00
J. Ryan Stinnett 1d49544238 Remove bluebird transform as regular dep 2019-12-06 12:39:29 +00:00
J. Ryan Stinnett 70d2adb9e2 Move extract-text-webpack-plugin to dev dep 2019-12-06 12:36:58 +00:00
Travis Ralston a24bbdffd0 Appease the linter
Mid-PR cleanup.
2019-12-05 23:58:19 -07:00
Travis Ralston 75c32a2f02 Fix a bug where the icons need to be clicked twice after reload
Clicking on the member icon was fine, but clicking on the file panel wouldn't bring it up - it had to be clicked a second time to actually show the panel.
2019-12-05 23:50:19 -07:00
Travis Ralston 4873b526df Ensure the right panel stays the same between room changes if possible
Fixes https://github.com/vector-im/riot-web/issues/10149
2019-12-05 23:48:05 -07:00
Travis Ralston bbdff701b4 Actually render the right panel in the new system 2019-12-05 23:40:25 -07:00
Travis Ralston 42898ec414 Rid ourselves of RightPanel.Phases completely 2019-12-05 23:35:12 -07:00
Travis Ralston 756cf3a88b Convert the GroupMemberList actions to the new RightPanelStore 2019-12-05 23:34:44 -07:00
Travis Ralston eda712ece8 Update sticker picker handling for new right panel actions 2019-12-05 23:30:26 -07:00
Travis Ralston d8d8e59002 Don't show/hide the right panel depending on window size
Fixes https://github.com/vector-im/riot-web/issues/8772
2019-12-05 23:30:13 -07:00
Travis Ralston 8b492fdaa5 Remove dead code from GroupView
This was for a caret that is no longer in the app. Instead, the header buttons act as a toggle.
2019-12-05 23:29:43 -07:00
Travis Ralston ca0c393783 Use new right panel store for header buttons
This introduces a new dispatch action (unused, so far) and routes the buttons towards the RightPanelStore for processing.
2019-12-05 23:28:06 -07:00
Travis Ralston 6e882251bd Break the right panel completely
This lays a foundation for redirecting all the traffic through the new store, but for now the core parts of the app need to stop caring if the right panel is open.
2019-12-05 17:47:18 -07:00
Travis Ralston 5253f29928 Build out a store for the right panel state machine
This should make it easier to funnel the expected behaviour through a central block of code.
2019-12-05 15:31:01 -07:00
J. Ryan Stinnett d66dbdea61 Indicate which access flow was used 2019-12-05 16:23:00 +00:00
J. Ryan Stinnett 2bdc16b4bd Key requests have an object wrapper 2019-12-05 16:11:12 +00:00
J. Ryan Stinnett 7601ce93d9 Add in-memory cache of secret storage keys 2019-12-05 15:34:07 +00:00