Commit Graph

15685 Commits (e1d1c8f99c06421ca0182b3efd3e9c1fb837d127)

Author SHA1 Message Date
Bruno Windels 5d80c3a2a4 fallback to avatar bg color 2019-05-20 15:39:06 +02:00
Bruno Windels 01ef1dd20e style room pills correctly 2019-05-20 15:38:59 +02:00
Bruno Windels df4f380082 find room by alias in room pill 2019-05-20 15:34:15 +02:00
Bruno Windels 0e98b124ac undo thinko of passing current room as pill room 2019-05-20 15:33:54 +02:00
Bruno Windels 230e53fe2f move most of room avatar handling to Avatar, to reuse in editor pills 2019-05-20 15:33:26 +02:00
Bruno Windels 5edfd01cb2 remove unused _getInitialLetter 2019-05-20 14:49:59 +02:00
Bruno Windels c1b2f3dce1 make user pill avatars work in editor 2019-05-20 14:21:25 +02:00
Bruno Windels e58d844e5b move getInitialLetter to Avatar so we can reuse it for editor pills 2019-05-20 14:20:36 +02:00
Matthew Hodgson e764ba4890 remove accidental whitespace 2019-05-20 10:10:30 +01:00
Matthew Hodgson 7b2602f1c7 apply monospace to pre 2019-05-20 10:09:19 +01:00
Matthew Hodgson e3d3b155d6 remove errant debug 2019-05-20 10:08:34 +01:00
Weblate c777c18e0a Merge branch 'origin/develop' into Weblate. 2019-05-20 08:42:48 +00:00
Karol Kosek e4d5f95785 Translated using Weblate (Polish)
Currently translated at 73.5% (1199 of 1632 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-05-20 08:42:47 +00:00
Edgars Voroboks 7e5d51db6f Translated using Weblate (Latvian)
Currently translated at 57.1% (932 of 1632 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lv/
2019-05-20 08:42:46 +00:00
Szimszon 8d583f49cc Translated using Weblate (Hungarian)
Currently translated at 100.0% (1632 of 1632 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-05-20 08:42:45 +00:00
Kévin C f7968596e9 Translated using Weblate (French)
Currently translated at 99.9% (1630 of 1632 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-05-20 08:42:45 +00:00
Bruno Windels 1368a5eb80
Merge pull request #2996 from matrix-org/bwindels/composerdesign
Message editing: apply design
2019-05-20 08:42:41 +00:00
Bruno Windels a47e722fa1 same height as normal pill 2019-05-20 10:28:26 +02:00
Bruno Windels 3b598a1782 set pill avatar through css variables to set on psuedo-element
this way it won't interfere with editor selection/caret
2019-05-20 10:28:26 +02:00
Bruno Windels 710338c01f pass member and room to editor pills to get avatar url 2019-05-20 10:28:26 +02:00
Bruno Windels 0c0052d06e re-apply formatting when editor is closed 2019-05-20 10:19:29 +02:00
Matthew Hodgson b0ec594c5a comment on the futility of stripped-emoji.json 2019-05-19 21:19:20 +01:00
Matthew Hodgson 81338306b0 fix lint 2019-05-19 21:00:14 +01:00
Matthew Hodgson 64e2de5b47 make autocomplete work again 2019-05-19 20:56:07 +01:00
Matthew Hodgson dbc6815abf make EmojiProvider and stripped-emoji.json work 2019-05-19 20:48:18 +01:00
Matthew Hodgson 497be91c4d combine regexps correctly 2019-05-19 17:53:36 +01:00
Matthew Hodgson e48cc44cba apply monospace font correctly 2019-05-19 17:41:18 +01:00
Matthew Hodgson 069a5a9546 remove obsolete emojione css 2019-05-19 17:11:41 +01:00
Matthew Hodgson 9f70bf3aec fix bigemoji 2019-05-19 17:06:21 +01:00
Matthew Hodgson 24b03374ac moar lineheight needed for big twemoji 2019-05-19 16:48:29 +01:00
Matthew Hodgson 54cea146e8 fix ugly formatting 2019-05-19 16:48:15 +01:00
Matthew Hodgson c63419f8a2 typos 2019-05-19 16:31:25 +01:00
Matthew Hodgson a8297a7698 fix build 2019-05-19 16:11:12 +01:00
Matthew Hodgson dc72641264 replace emojione with twemoji. completely untested & debugged & unoptimised 2019-05-19 15:23:43 +01:00
Weblate 07a925c47f Merge branch 'origin/develop' into Weblate. 2019-05-18 18:38:06 +00:00
Filip Š 3c5ff566c5 Translated using Weblate (Slovenian)
Currently translated at 0.7% (12 of 1631 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sl/
2019-05-18 18:38:06 +00:00
Karol Kosek 8bb9544b12 Translated using Weblate (Polish)
Currently translated at 70.9% (1157 of 1631 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-05-18 18:38:05 +00:00
Szimszon 074630acf3 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1631 of 1631 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-05-18 18:38:03 +00:00
Kévin C fa3e2f0e52 Translated using Weblate (French)
Currently translated at 99.9% (1629 of 1631 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-05-18 18:38:03 +00:00
Tuomas Hietala bad372a13f Translated using Weblate (Finnish)
Currently translated at 99.2% (1618 of 1631 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-05-18 18:38:03 +00:00
J. Ryan Stinnett 3a87f53a3c
Merge pull request #2993 from matrix-org/jryans/devtools-event-source-in-timeline
Add debug feature to show hidden events in timeline
2019-05-18 19:37:58 +01:00
Travis Ralston 332f716ce4 The linter will be the death of me 2019-05-17 15:36:28 -06:00
Travis Ralston 2a187810fd Restructure TopLeftMenu for accessibility and autofocus it
We use a trick with refs to automatically focus the element, also making use of mx_HiddenFocusable to hide the unnecessary outline. 

The menu itself has been restructured to hide some elements from screen readers (reduce noise) and to have a single unordered list. Screen readers mention when the user "enters" a list, and each item was previously saying "enter list <action>" when it should have just been "<action>".

By focusing automatically, the keyboard can be used to go up/down the menu as may be expected by keyboard users.
2019-05-17 15:32:03 -06:00
Travis Ralston c5757d8303 Support CTRL+I for opening TopLeftMenu 2019-05-17 15:29:16 -06:00
Travis Ralston f1aa2875e1 Hide avatars from screen readers by default
To avoid having them read out the user's ID
2019-05-17 15:25:59 -06:00
Travis Ralston 47add75278 Add class to hide focus highlight
We use tabIndex to make elements selectable and therefore focused by screen readers. Doing this draws a blue border (in chrome at least) around the element - in some cases, we don't want this.
2019-05-17 15:25:17 -06:00
J. Ryan Stinnett 5144907983 Fix indent 2019-05-17 17:44:11 +01:00
J. Ryan Stinnett 45cdf880b1 Change setting style 2019-05-17 17:43:08 +01:00
J. Ryan Stinnett 3a405701a3 Debug: Show all events 2019-05-17 16:34:01 +01:00
Bruno Windels d81ab2464b better button alignment
also fix sticking out at the right side when not overlaying
2019-05-17 16:15:06 +01:00