Commit Graph

14533 Commits (365c8e9fdc34f872cd84e00a46e040cca4ff7ebc)

Author SHA1 Message Date
Travis Ralston b9bd8206c1 Patch users not existing when opening settings
Fixes https://github.com/vector-im/riot-web/issues/9022
2019-03-05 18:48:41 +00:00
David Baker 4c333f8c5f
Merge pull request #2751 from matrix-org/dbkr/devices_toggle_update_2
Fix media device selectors not updating
2019-03-05 18:46:05 +00:00
David Baker cd4e22b3fd Fix media device selectors not updating
Missed a setState

Fixes https://github.com/vector-im/riot-web/issues/9036
2019-03-05 18:45:24 +00:00
David Baker ff4963e662
Merge pull request #2750 from matrix-org/dbkr/shameless_plugging_2
Support linking to hosting providers
2019-03-05 18:34:54 +00:00
David Baker b6579131b8 Add the image 2019-03-05 18:33:28 +00:00
David Baker 7aa451067e Add utm_campaign to the hosting links
According to where in the app the link was clicked
2019-03-05 18:33:22 +00:00
David Baker dc0eff38fd Lint 2019-03-05 18:33:16 +00:00
David Baker d888445ec7 Support linking to hosting providers
From link in app config
2019-03-05 18:32:56 +00:00
David Baker c1056025ed
Merge pull request #2748 from matrix-org/dbkr/shameless_plugging
Support linking to hosting providers
2019-03-05 18:22:02 +00:00
J. Ryan Stinnett bc54ea5623 Convert login type to Field component
This converts the login type Dropdown on the login flow to also use the Field
component so that every presents a similar visual style.
2019-03-05 17:58:42 +00:00
J. Ryan Stinnett 5a491ac053 Convert login inputs to Field component
As with other auth flows, this converts inputs on the login page to use the
Field component for consistent styling. The login type dropdown is left as-is
for now.
2019-03-05 17:58:42 +00:00
J. Ryan Stinnett 302e601fa1 Convert forgot password to Field component
This converts all fields in the forgot password form to use the Field component.
2019-03-05 17:58:42 +00:00
J. Ryan Stinnett 5b1d361577 Convert registration phone number to Field component
Now that we have prefix support in the Field component, we can also convert the
phone number with country dropdown on registration.
2019-03-05 17:58:42 +00:00
Travis Ralston 6eaaa8b687
Merge pull request #2728 from matrix-org/travis/encryption-warning
Get confirmation before enabling encryption
2019-03-05 10:15:32 -07:00
David Baker 2055be36f1 Add the image 2019-03-05 16:49:12 +00:00
David Baker 0244990731 Add utm_campaign to the hosting links
According to where in the app the link was clicked
2019-03-05 16:42:22 +00:00
David Baker b68a71b294 Lint 2019-03-05 16:20:18 +00:00
David Baker 57d8f6d8a2 Support linking to hosting providers
From link in app config
2019-03-05 16:12:02 +00:00
Bruno Windels 3802ddbfa8
Merge pull request #2747 from matrix-org/bwindels/clearminheightonresize
clear min-height for typing notifs when the timeline viewport changes size
2019-03-05 16:35:23 +01:00
J. Ryan Stinnett 26b2aa174b Add prefix support to Fields
This allows Fields to have an optional prefix component which is placed inside
the border of the Field and to the left of the input. Since this label animation
would be complex to get right for this case, it is instead fixed to the top left
if there is a prefix component.

This canonical example of this today would be a phone number field which
includes a country dropdown.
2019-03-05 15:25:43 +00:00
J. Ryan Stinnett ae5c32d28b Lift border up to the Field root
By placing the Field's border on the Field component root instead of the input,
it's easier to wrap it around additional elements that we'll soon stuff inside
the field.
2019-03-05 15:25:43 +00:00
J. Ryan Stinnett bfe120fbf4 Convert registration to Field component
This converts most fields in the registration form to use the Field component,
except for the phone number, which is a left as a separate task because of the
country dropdown menu.
2019-03-05 15:25:42 +00:00
Bruno Windels 66b9363466 clear min-height for typing notifs when the timeline viewport changes size 2019-03-05 16:14:38 +01:00
Bruno Windels 96196d8c3d
Merge pull request #2746 from matrix-org/bwindels/flairnolayout
Prevent flair pushing timeline downwards
2019-03-05 15:34:09 +01:00
Travis Ralston 534ca0e18a
Merge pull request #2741 from matrix-org/travis/rls-debugging
Include tag name when warning about rooms running off lists
2019-03-05 07:31:13 -07:00
Bruno Windels 624572daa9 show flair container when no profiles loaded to ensure same height 2019-03-05 14:50:39 +01:00
Bruno Windels 18d897298d ensure flair is 16px high
so it doesn't push the message down
2019-03-05 14:49:07 +01:00
Andrew Morgan 0516556be9 Prevent space characters from stopping big emoji messages 2019-03-05 13:07:11 +00:00
J. Ryan Stinnett b6351f2607
Merge pull request #2740 from jryans/reorg-field-props
Reorganise props handling in Field
2019-03-05 11:30:06 +00:00
J. Ryan Stinnett d4a148d56c Use `oneOf` to check the input element 2019-03-05 11:18:58 +00:00
J. Ryan Stinnett a3d6d43f69
Merge pull request #2742 from jryans/limit-field-label
Limit Field label to size of input
2019-03-05 11:16:05 +00:00
J. Ryan Stinnett 1336508a4e Add comment, fix bad math
This adds a comment to explain the `max-width` and also fixes it actually use
the right value. (I had grabbed the wrong part of `margin` the first time.)
2019-03-05 11:13:39 +00:00
Travis Ralston e1cb2ae3a6 fix i18n 2019-03-04 23:14:55 -07:00
Travis Ralston 879fa22416 Merge branch 'develop' into travis/encryption-warning 2019-03-04 23:14:30 -07:00
Travis Ralston 5a9095288e
Merge pull request #2743 from matrix-org/travis/infinite-ignore
Don't loop forever if you demote yourself via Enter on a PowerSelector
2019-03-04 15:57:39 -07:00
Travis Ralston 363964e423 Don't loop forever if you demote yourself via Enter on a PowerSelector
The included comment explains what happens and why this is bad.

Fixes https://github.com/vector-im/riot-web/issues/9039
2019-03-04 13:08:54 -07:00
J. Ryan Stinnett c1688d2be3 Limit Field label to size of input
This avoids awkward wrapping if the label is longer than the input. This will
show an ellipsis to suggest there's more text in the label than can be shown.
2019-03-04 18:02:36 +00:00
Travis Ralston a5b4d4ba95 Include tag name when warning about rooms running off lists 2019-03-04 10:56:18 -07:00
Travis Ralston 3c1da4e875
Merge pull request #2734 from matrix-org/travis/reinvite
Check if users are already in the room before inviting them
2019-03-04 10:34:49 -07:00
Travis Ralston 7d9e58b3c3
Merge pull request #2735 from matrix-org/travis/duplicated-people
Don't duplicate direct chats from other tags
2019-03-04 10:34:32 -07:00
J. Ryan Stinnett 7c672e608d Reorganise props handling in Field
Several small tweaks to the props handling:

* Use destructuring instead of `delete`
* Emphasize the `element` as a primary prop
* Document `textarea` as supported
2019-03-04 17:25:19 +00:00
David Baker a6a3716576
Merge pull request #2739 from matrix-org/dbkr/devices_toggle_update
Fix media device selectors not updating
2019-03-04 14:49:50 +00:00
David Baker c7b019830d Fix media device selectors not updating
Missed a setState

Fixes https://github.com/vector-im/riot-web/issues/9036
2019-03-04 14:35:41 +00:00
Michael Telatynski 080c67439b
Merge pull request #2708 from matrix-org/fix_room_dict
Fix Room Directory custom homeserver entry not showing properly
2019-03-04 11:44:11 +00:00
Michael Telatynski 6b0b5e4aa3
Merge pull request #2729 from matrix-org/t3chguy/missing_permalinkCreator
Add missing permalinkCreator prop
2019-03-04 11:15:53 +00:00
Travis Ralston 86b79ef51d
Merge pull request #2738 from matrix-org/travis/fix-user-not-existing
Patch users not existing when opening settings
2019-03-03 12:59:58 -07:00
Travis Ralston 71630af201 Patch users not existing when opening settings
Fixes https://github.com/vector-im/riot-web/issues/9022
2019-03-02 10:59:53 -07:00
Travis Ralston ead73ee7b7
Merge pull request #2737 from matrix-org/travis/continuation-icon
Use a mask for the continuation icon
2019-03-01 18:40:50 -07:00
Travis Ralston 329c1eec1a
Merge pull request #2736 from matrix-org/travis/upgraded-rooms
Always insert rooms into lists when they get lost
2019-03-01 18:40:31 -07:00
Travis Ralston 454251d17c Use a div instead of an image
There's no source, so just make it a block element
2019-03-01 17:21:37 -07:00