-
-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't paste org URL into add-account input #5228
Labels
Comments
Hi @chrisbobbe!, can I give it a shot to this issue??. Thanks 🙂 |
Hi @thisisnitish, thanks for the offer! 🙂 I've actually been working on this one myself. I see I forgot to assign myself in the issue metadata; I've just done so. |
Sure @chrisbobbe, no problem. I'll find some other issue. Thanks 🙂 |
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Mar 10, 2022
And just use an ordinary controlled TextInput, always stretched to full width, and never just 1px. The major reason for this is to help with zulip#5228 (can't paste org URL): native copy-paste is activated by long-pressing in the input element itself. But long-pressing is really hard when the element is only 1px wide! No need to autocomplete with "zulipchat.com", so as not to annoy self-hosted users, as discussed. It does seem helpful to prepopulate with "https://" for the sake of users who aren't copy-pasting. With that "https://" prepopulating in mind, we'll improve this experience further, along the lines of what Alya says: > One would have to play with pasting behavior to make sure > something reasonable happens if you are trying to paste in a whole > URL, including the https part. That'll come later in this series. See discussion at https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1327170 Fixes-partly: zulip#5228
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Mar 10, 2022
Prompted by Alya's comment on CZO [1]: > One would have to play with pasting behavior to make sure > something reasonable happens if you are trying to paste in a whole > URL, including the `https` part. [1] https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1327170 Fixes: zulip#5228
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Mar 29, 2022
And just use an ordinary controlled TextInput, always stretched to full width, and never just 1px. The major reason for this is to fix zulip#5228 (can't paste org URL): native copy-paste is activated by long-pressing in the input element itself. But long-pressing is really hard when the element is only 1px wide! Include some placeholder text to help people have some idea of what to put here. Don't require or prefill with "https://"; instead, fill that in if no supported scheme is provided. ("Supported scheme" just means "http://" or "https://"; other schemes just don't make sense in this context.) See discussion at https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1327170 Fixes: zulip#5228
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Mar 29, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Apr 5, 2022
And just use an ordinary controlled TextInput, always stretched to full width, and never just 1px. The major reason for this is to fix zulip#5228 (can't paste org URL): native copy-paste is activated by long-pressing in the input element itself. But long-pressing is really hard when the element is only 1px wide! Include some placeholder text to help people have some idea of what to put here. Don't require or prefill with "https://"; instead, fill that in if no supported scheme is provided. ("Supported scheme" just means "http://" or "https://"; other schemes just don't make sense in this context.) See discussion at https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1327170 Fixes: zulip#5228
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Apr 5, 2022
chrisbobbe
added a commit
to chrisbobbe/zulip-mobile
that referenced
this issue
Apr 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
See discussion: https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1318402
Quoting myself from there:
The text was updated successfully, but these errors were encountered: