Skip to content

Can't paste org URL into add-account input #5228

Closed
@chrisbobbe

Description

@chrisbobbe

See discussion: https://chat.zulip.org/#narrow/stream/48-mobile/topic/can't.20paste.20org.20URL/near/1318402

Quoting myself from there:

As a product question, how much do we really need/like the current "smart"ness of the SmartUrlInput, where there's some editable text sandwiched between two non-editable texts whose values are computed?

This would all be simpler and less bug-prone if the whole line were just a normal text input. I think we could even pre-populate it with something like https://your-org.zulipchat.com, with your-org selected by default (doc, doc). If we do pre-populate, then there's a downside if your org doesn't follow the https://your-org.zulipchat.com pattern: you have to explicitly clear out the part you don't want and replace it. (Like you'd do with any normal pre-populated text input. 😉)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions