Commit Graph

19864 Commits (9f0e2412c73fb583f6f61374d0b4ab61badfb22f)

Author SHA1 Message Date
Jeff Huang f10e5c8660 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2019-12-09 10:04:16 +00:00
Michael Telatynski 702f061341 ref is used earlier so assign it earlier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:45:59 +00:00
Michael Telatynski ff71f4ec8d Migrate RoomSubList to ES6 Class due to new/vs old React API incompat
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:43:06 +00:00
Michael Telatynski d22985f12e Migrate string refs over to createRef
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
Michael Telatynski 4c55f3c5b5 Remove unused refs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:12:06 +00:00
Weblate a1e2babe4c Merge branch 'origin/develop' into Weblate. 2019-12-08 10:04:47 +00:00
David Prieto 2b0d534f76 Translated using Weblate (Spanish)
Currently translated at 70.5% (1363 of 1933 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-12-08 10:04:47 +00:00
Kévin C 170a7a6908 Translated using Weblate (French)
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/fr/
2019-12-08 10:04:47 +00:00
Michael Telatynski 142a71cc67
Merge pull request #3694 from matrix-org/t3chguy/fix_SpecPermalinkConstructor
Fix ?via= args in SpecPermalinkConstructor.js
2019-12-08 10:04:41 +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
J. Ryan Stinnett 24d6e7e456 Use private key check to provide feedback 2019-12-06 17:54:00 +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
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
J. Ryan Stinnett 7446bcdedb Extract callbacks to a new module 2019-12-05 15:34:07 +00:00
J. Ryan Stinnett 9f1c2cd3e1 Add dialogs for creating and accessing secret storage
This adds dialogs for creating and accessing secret storage via a passphrase or
recovery key. These flows are adapted from the ones used for key backup.
2019-12-05 15:34:07 +00:00