J. Ryan Stinnett
a7c37733b8
Rebalance margins in validation tooltip
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
778697abf1
Use input element's value directly
...
Since we're keeping the input as a ref anyway, let's use that rather than
requiring the value to be passed to `validate`. This allows others to call
`validate` as well.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
5d95c31875
Focus the first invalid field
...
This adjusts the submission step to focus the first invalid field and redisplay
validation. This also rearranges the older style field error handling on
registration which is slated for removal once we convert all fields to the new
style.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
62a01e7a37
Track per-field validity with new-style validation
...
This updates the registration form to include the new-style validation state
when deciding whether the entire form is valid overall.
In addition, this tweaks the validation helper to take functions instead of
strings for translated text. This allows the validation helper to be create once
per component instead of once every render, which improves performance.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
37e09b5569
Add check and x icons for validation feedback
...
Adds icons from the Feather set with the same color as text. Tweaks validation
item spacing to match the design.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
87f13cfe55
Add focus handling to validation
...
Update the Field component and validation handling to show / hide validation
feedback on focus / blur events.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
338d83ab55
Add validation feedback helper
...
This adds a general validation feedback mechanism for checking input values. An
initial example is wired up for the username input on registration.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
37ecf2a623
Remove unused ref from Field component
...
The `fieldInput` ref is no longer used now that we have controlled components
everywhere.
2019-04-25 14:29:09 +01:00
J. Ryan Stinnett
f82f9ecdb2
Use a stronger password
2019-04-25 14:28:39 +01:00
J. Ryan Stinnett
1ffe0d1a24
Report location of Synpase log
2019-04-25 14:23:51 +01:00
J. Ryan Stinnett
2527995e2e
Only install the minimum deps to pass
2019-04-25 14:23:10 +01:00
Richard van der Hoff
cc5911b4aa
Remove redundant and incorrect riot-desktop install instructions ( #9558 )
2019-04-25 13:22:32 +01:00
J. Ryan Stinnett
28d50100d8
Merge pull request #9555 from jryans/rm-config-from-package
...
Remove config.json from package dir
2019-04-25 09:40:44 +01:00
Hubert Chathi
8ef464597f
Merge pull request #9550 from uhoreg/olm-3.1.0
...
use the release version of olm 3.1.0
2019-04-24 18:19:22 -04:00
Hubert Chathi
2c64a4f3a1
update yarn.lock with olm release
2019-04-24 12:02:41 -04:00
J. Ryan Stinnett
a803af3a88
Merge pull request #2931 from jryans/connect-key-backup-more
...
Also say "Connect ..." on remaining key backup buttons
2019-04-24 15:59:51 +01:00
J. Ryan Stinnett
8002d98f50
Remove config.json from package dir
2019-04-24 11:28:26 +01:00
J. Ryan Stinnett
4784d5e9f2
Also say "Connect ..." on remaining key backup buttons
...
This updates the remaining buttons shown when a backup exists but is not trusted
so that they all now say "Connect this device to Key Backup" instead of "Use Key
Backup".
This is a follow up to https://github.com/matrix-org/matrix-react-sdk/pull/2917
and was agreed with Riot iOS team
https://github.com/vector-im/riot-ios/pull/2375#issuecomment-485788118 .
Fixes https://github.com/vector-im/riot-web/issues/9542
2019-04-24 11:05:27 +01:00
J. Ryan Stinnett
2ddaa06e67
Rebuild strings
2019-04-24 11:01:32 +01:00
Hubert Chathi
9519ad46a1
use the release version of olm 3.1.0
2019-04-23 18:08:07 -04:00
J. Ryan Stinnett
0e5e622dc9
Merge pull request #2929 from z3ntu/user-select
...
Mark a few CSS classes as not selectable
2019-04-23 18:57:56 +01:00
Luca Weiss
12f92c49a6
Mark a few CSS classes as not selectable
...
Should be enough to make copy-pasting not a nightmare.
For vector-im/riot-web#7460
Also remove an instance where the vendor prefixes were used, but a build
step adds those automatically
Signed-off-by: Luca Weiss <luca@z3ntu.xyz >
2019-04-23 19:52:48 +02:00
Will Hunt
020d210cb0
Use uk.half-shot.*
2019-04-23 16:23:58 +01:00
Will Hunt
9de8920869
Remove trailing space
2019-04-22 23:04:03 +01:00
Will Hunt
874b61e451
Merge branch 'hs/custom-notif-sounds' of github.com:Half-Shot/matrix-react-sdk into hs/custom-notif-sounds
2019-04-21 18:05:27 +01:00
Will Hunt
8258e93337
Use m.notification.sound
2019-04-21 18:03:54 +01:00
Will Hunt
0f2cd6ea73
Stick behind a feature flag
2019-04-21 18:01:26 +01:00
Katie Wolfe
b11050d327
Check for sound before logging it
...
Co-Authored-By: Half-Shot <will@half-shot.uk >
2019-04-21 12:35:59 +01:00
Will Hunt
776210c135
Use settings store
2019-04-19 22:31:51 +01:00
Will Hunt
d33df45c5e
Linting
2019-04-19 22:06:56 +01:00
Will Hunt
63ab7736ca
Add a fancy room tab and uploader
2019-04-19 16:27:30 +01:00
Will Hunt
cd8647188f
Support account level custom sounds too
2019-04-19 14:10:10 +01:00
Will Hunt
b0bacdba15
Simplyify
2019-04-19 13:21:58 +01:00
Will Hunt
f14d96e069
Look in room account data for custom notif sounds
2019-04-19 12:37:04 +01:00
Bruno Windels
370741fc43
Merge pull request #48 from matrix-org/bwindels/stylepreviewbar
...
adjust selectors for join and accept button in room preview bar
2019-04-18 11:36:16 +00:00
J. Ryan Stinnett
9917bed942
Merge pull request #2883 from YaoiFangirl420/cleanup_message_composer
...
Cleanup message composer render() method
2019-04-18 10:14:01 +01:00
Bruno Windels
0fbe10a816
Merge pull request #2925 from matrix-org/bwindels/stylepreviewbar
...
Redesigned room preview bar
2019-04-18 08:50:56 +00:00
Bruno Windels
faecceb3b4
remove manual order so component order follows markup order
2019-04-18 09:20:26 +02:00
David Baker
597b3e16e0
Merge pull request #9517 from vector-im/dbkr/fix_deploy_script_include_default
...
Fix default for --include arg
2019-04-17 18:46:56 +01:00
David Baker
addca871ad
Fix default for --include arg
...
nargs options are arrays and we assume it's an array later, so it
would iterate over each char of the string if left as the default
2019-04-17 18:31:36 +01:00
Bruno Windels
dd911d18cb
dont show right panel when previewing a room without invite, as its empty
2019-04-17 19:29:39 +02:00
Bruno Windels
0a463472b3
update prop types (and fix typo)
2019-04-17 19:05:52 +02:00
Bruno Windels
190143ca6c
dispatch for user screen
2019-04-17 18:26:07 +02:00
Bruno Windels
d5cc835a93
PR feedback
2019-04-17 18:23:49 +02:00
Travis Ralston
9f494fcc58
Merge pull request #2907 from matrix-org/anoa/no_big_pills_pls
...
Prevent user pills containing only emoji from embiggening
2019-04-17 10:15:16 -06:00
J. Ryan Stinnett
232fd8656b
Merge pull request #2923 from rosston/alt-enter-mac
...
Make alt-enter insert new line on macOS
2019-04-17 16:19:57 +01:00
J. Ryan Stinnett
65784afb91
Merge pull request #2924 from jryans/password-on-server-name
...
Test `defaultServerName` before showing it on forgot password
2019-04-17 15:23:03 +01:00
Bruno Windels
c5986395ef
propagate env to e2e tests so they can get correct branch of e2e tests
2019-04-17 14:13:12 +02:00
Bruno Windels
66e10e904d
remove obsolete translations
2019-04-17 11:46:20 +02:00
Bruno Windels
8e750e18d7
add class for message case for e2e tests
2019-04-17 11:46:04 +02:00