Skip to content
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

[Story] Check room's address for invalid symbols and availability #2585

Open
mxandreas opened this issue Oct 16, 2024 · 0 comments
Open

[Story] Check room's address for invalid symbols and availability #2585

mxandreas opened this issue Oct 16, 2024 · 0 comments

Comments

@mxandreas
Copy link

mxandreas commented Oct 16, 2024

Description

  • As a user creating a public room or changing an existing room to be public
  • I want to know if the room address is valid (does not have any invalid symbols) and available when I am editing it
  • So that I can correct my mistakes instantly; or be happy that the address I desire is available.

Since this a functionality that already exists in EW, the algorithm for checking for invalid symbols and other constraints can be borrowed from EW (or from any other implementation that exists today, as this is not a new problem). For reference: Matrix spec on identifiers.

Same goes for checking if the room address is available - the approach for this can be borrowed from EW and adjusted as necessary.

Designs:

  • TODO

Acceptance criteria

  • When user types a symbol that is not allowed they get a hint that there are invalid symbols.
  • When user corrects their mistakes and the address is valid, the hint for invalid symbols disappers.
  • When user enters an address that is valid but not available they get a hint that the address is already in use.
  • When user enters an address that is valid and available they get a confirmation that the address is available.

Size estimate

None

Dependencies

  • None

Out of scope

  • Nothing

Open questions

Questions

No tasks being tracked yet.

Subtasks

Android

No tasks being tracked yet.

iOS

No tasks being tracked yet.

Rust

No tasks being tracked yet.

Other

No tasks being tracked yet.
@mxandreas mxandreas changed the title [Story] Check room's address for invalid symbols and uniqueness [Story] Check room's address for invalid symbols and availability Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant