element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.23k stars 2k forks source link

UI for adding new addresses for a room should be easier to use #6700

Closed ragesoss closed 4 years ago

ragesoss commented 6 years ago

Description

The format for adding a local address for a room is not intuitive, and the form offers too few affordances for typical ways of using it.

As a user, I expect to be able to type in a human-meaningful string, such as a single word or the name of the room, and have that be converted automatically into a valid local address.

new address

For example, if I type in Example Room, I expect this input to be converted to something like #Example-Room:chat.wikiedu.org

A related problem, which would not be as much of an issue if user input was automatically converted to a valid format, is that the placeholder text disappears when you start typing.

examp

The format is complicated enough, however, that the user may not remember it once they start typing. The error message for an invalid address does not specify the problem (whether invalid characters, or lack of a # at the start, or lack of :some.domain at the end), so finding a valid address can be a trial-and-error process.

Steps to reproduce

  1. Create a room
  2. Go to Settings for the room
  3. In the Addresses section, attempt to add a local address

Version information

Version: 0.14.2

lampholder commented 6 years ago

I am very supportive of the UI clearly and helpfully reinterpreting user input (along the lines of http://jsfiddle.net/5ocu2cqk/6/ ).

t3chguy commented 4 years ago

Closing in favour of https://github.com/vector-im/element-web/issues/13077