Luke Barnard
29e793f591
Merge pull request #1180 from matrix-org/luke/fix-rte-force-immediately
...
When hitting "tab" use an autocompleteDelay of 0
2017-07-05 18:20:48 +01:00
Luke Barnard
89d0ec4de8
Merge pull request #1179 from matrix-org/luke/fix-query-matcher-empty-query
...
Don't try to match with an empty query string
2017-07-05 18:20:25 +01:00
Luke Barnard
d78168d407
Add visual feedback for when there are no completions available
...
Attempts to kep parity with old composer by using the same #faa colour but uses an animation instead of a js timeout.
Fixes https://github.com/vector-im/riot-web/issues/4490
2017-07-05 18:14:22 +01:00
Luke Barnard
07e8d4ef69
Add visual bell animation for RTE
2017-07-05 18:13:23 +01:00
Luke Barnard
2de4dd7b71
Filter out unsupported emoji from the emoji meta data
...
Because apparently emojione provides meta data for more than the emojis it supports itself.
Fixes https://github.com/vector-im/riot-web/issues/4504
2017-07-05 17:09:16 +01:00
Richard van der Hoff
b52a6a693a
Merge pull request #1186 from matrix-org/rav/startup_logging
...
Add some logging to track down flaky test
2017-07-05 16:29:03 +01:00
Richard van der Hoff
a20ed2f632
Add some logging to track down flaky test
...
We had a test failure where apparently the MatrixClient failed to start
... let's try and figure out why.
2017-07-05 16:20:21 +01:00
Richard van der Hoff
769752e0b3
Merge pull request #1185 from matrix-org/rav/fix_reactsdk_build
...
Run the riot-web tests against js-sdk develop
2017-07-05 15:58:05 +01:00
Richard van der Hoff
458e0a38bc
Run the riot-web tests against js-sdk develop
...
When running the riot-web builds, use the develop version of js-sdk instead of
the latest release, to improve our chances of compatibility.
2017-07-05 15:43:33 +01:00
Richard van der Hoff
b32cb174a9
Merge pull request #1184 from matrix-org/rav/chrome_headless
...
Use Chrome instead of PhantomJS for tests
2017-07-05 15:20:08 +01:00
Luke Barnard
0eb979ab68
Merge pull request #1183 from matrix-org/luke/fix-new-dm
...
Fix import for Rooms so that DMs can be created
2017-07-05 15:04:19 +01:00
Luke Barnard
b3db6344ae
Fix import for Rooms so that DMs can be created
2017-07-05 15:00:50 +01:00
Luke Barnard
5c9d3edec4
Revert #1170 , fde7d5eaf4
...
There were a few issues with this, namely that links were no longer linkified and an error was logged to the console: `Warning: Stateless function components cannot be given refs (See ref "topic" in EmojiText created by RoomHeader). Attempts to access this ref will fail.`
2017-07-05 14:46:00 +01:00
Richard van der Hoff
f69033c907
Use headless chrome instead of phantomjs for tests
2017-07-05 14:39:02 +01:00
Richard van der Hoff
167ce88a80
Rewrite ScrollPanel test
...
It turns out that Chrome now implements scroll-anchoring itself (ie, content
stays in the same place when you add more stuff off-screen), which means we
cannot rely on back-pagination to make ScrollPanel do a scroll.
Instead, just do a scrollToToken. Which turns out to be considerably simpler
anyway.
2017-07-05 14:34:25 +01:00
Weblate
e8c8a0a2c8
Merge remote-tracking branch 'origin/develop' into develop
2017-07-05 13:00:08 +00:00
Luke Barnard
8daa0fced8
Merge pull request #4502 from vector-im/luke/fix-rte-autocomplete-truncate
...
Truncate auto-complete pills properly
2017-07-05 14:00:02 +01:00
Luke Barnard
65a160f24a
Merge branch 'develop' into luke/fix-rte-autocomplete-truncate
2017-07-05 13:45:06 +01:00
Weblate
04fd29c8b7
Merge remote-tracking branch 'origin/develop' into develop
2017-07-05 12:42:58 +00:00
Richard van der Hoff
43a70c2bfb
Merge pull request #4512 from vector-im/rav/chrome_headless
...
Use chrome headless instead of phantomjs
2017-07-05 13:42:52 +01:00
Luke Barnard
df23a6cd85
Use Object.assign to set initial state of MessageComposerStore
...
Otherwise we just modify the initial state when running
2017-07-05 13:38:34 +01:00
Luke Barnard
3d5b3ed7ad
Use ContentState instead and persist over localStorage
2017-07-05 11:49:34 +01:00
Richard van der Hoff
a14bc9a9b1
README: minor fixes
2017-07-05 11:47:38 +01:00
Richard van der Hoff
ba0073ca71
README: Add notes on running tests
2017-07-05 11:45:33 +01:00
David Baker
3b06db0725
Pass with, height & resizeMethod through
...
Was spelt wrong anyway
2017-07-05 11:39:22 +01:00
Weblate
e128434acd
Merge remote-tracking branch 'origin/develop' into develop
2017-07-05 09:55:03 +00:00
Tong Hui
9f05236503
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/zh_Hans/
2017-07-05 09:55:01 +00:00
Richard van der Hoff
60703bdcfc
Log errors thrown by getThirdpartyProtocols
...
- so that it appears in rageshakes and test logs.
2017-07-05 10:54:10 +01:00
Luke Barnard
084a933dbd
Implement MessageComposerStore to persist composer state across room switching
...
This behaviour was present in the old composer but implemented using local storage. This is unecessary as we don't really care about our drafts across clients, the important thing is that our draft is kept when switching rooms.
As a bonus, ifnore vertical arrow key presses when a modifier key is pressed so that the room switching keys (alt + up/down arrow) don't also cause history browsing (or autocomplete browsing).
2017-07-05 10:24:55 +01:00
David Baker
2ccd36d09e
Merge remote-tracking branch 'origin/develop' into erikj/group_server
2017-07-05 10:13:53 +01:00
Richard van der Hoff
cfe9e762ad
Use trusty dist
2017-07-05 10:01:13 +01:00
Richard van der Hoff
9969d6095d
Remove phantomjs; add chrome
2017-07-05 09:43:40 +01:00
Richard van der Hoff
38b1ca9b90
Use headless chrome instead of phantomjs for tests
2017-07-05 09:35:51 +01:00
Luke Barnard
5f6c3e5afc
When hitting "tab" use an autocompleteDelay of 0
...
So that there's no delay when tab completing. Fixes https://github.com/vector-im/riot-web/issues/4497
2017-07-04 17:49:50 +01:00
Luke Barnard
710ee69418
Don't try to match with an empty query string
...
This was causing UserProvider to give results because every string happens to start with empty string and its regex also acepts the empty string.
2017-07-04 17:32:07 +01:00
Luke Barnard
0af77e8913
Merge pull request #1177 from matrix-org/luke/fix-rte-prefix-matching
...
Only match users by matchgin displayname or user ID prefixes
2017-07-04 17:09:39 +01:00
Luke Barnard
5c10e352bb
Merge pull request #1178 from matrix-org/luke/fix-rte-truncate
...
Only truncate autocomplete pulls of Emoji, Room and UserProvider
2017-07-04 17:08:39 +01:00
Luke Barnard
2861adc830
Only truncate autocomplete pulls of Emoji, Room and UserProvider
...
Leaving Commands and DuckDuckGo not truncated
2017-07-04 16:50:50 +01:00
Luke Barnard
b4b33ae06f
Add CSS class to truncate certain autocompletions
2017-07-04 16:49:11 +01:00
Luke Barnard
1e569e67b1
Do not truncate autocomplete provider names
2017-07-04 16:40:15 +01:00
Weblate
8b6ed9f993
Merge remote-tracking branch 'origin/develop' into develop
2017-07-04 15:38:45 +00:00
Richard van der Hoff
48889b51b0
Bump to matrix-mock-request 1.0.0
...
- for consistency with js-sdk updates
2017-07-04 16:38:19 +01:00
Weblate
c6492b3d8a
Merge remote-tracking branch 'origin/develop' into develop
2017-07-04 15:30:17 +00:00
Kelvin
92ff1f2671
Translated using Weblate (Malayalam)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ml/
2017-07-04 15:30:16 +00:00
Richard van der Hoff
5312c9ad4c
Merge pull request #4489 from vector-im/rav/use_external_mock_request
...
Use external mock-request
2017-07-04 16:30:11 +01:00
Luke Barnard
6a80875c01
Only match users by matchgin displayname or user ID prefixes
...
Because tab completing "k" probably shouldn't give you "luke"
Fixes https://github.com/vector-im/riot-web/issues/4495
2017-07-04 16:29:06 +01:00
Luke Barnard
77a52b02cb
Take RTE out of labs
...
Goes with https://github.com/matrix-org/matrix-react-sdk/pull/1176
2017-07-04 16:26:19 +01:00
Richard van der Hoff
bd1196716a
Use external mock-request
...
mock-request is now factored out to matrix-mock-request; use it
2017-07-04 15:59:21 +01:00
Luke Barnard
77348e6201
Remove spurious, unused code
2017-07-04 15:20:00 +01:00
Luke Barnard
e6ec5742be
_t should be used on string literals
...
For scripts to easily find translations
2017-07-04 15:06:24 +01:00