matrix-react-sdk icon indicating copy to clipboard operation
matrix-react-sdk copied to clipboard

Improvements to alt aliases

Open aaronraimist opened this issue 4 years ago • 9 comments

Attempt 2 at https://github.com/matrix-org/matrix-react-sdk/pull/4574

Step towards fixing https://github.com/vector-im/element-web/issues/13077


TR: Video

https://user-images.githubusercontent.com/5855073/122130924-ff628a00-cdfd-11eb-9100-c308f4067156.mov


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Improvements to alt aliases (#6180). Contributed by @aaronraimist.

aaronraimist avatar Jun 12 '21 05:06 aaronraimist

Could we get screenshots/gif of the changes?

t3chguy avatar Jun 15 '21 07:06 t3chguy

When I get back to the computer I’ll take some but it looks exactly like the original PR. It’s best experienced by using the Netlify preview or building it yourself.

aaronraimist avatar Jun 15 '21 08:06 aaronraimist

https://user-images.githubusercontent.com/5855073/122130924-ff628a00-cdfd-11eb-9100-c308f4067156.mov

aaronraimist avatar Jun 15 '21 22:06 aaronraimist

If it comes down to it, what is your interest in maintaining this and potentially pushing it forward with design support? Including potentially (re)writing a bunch of the state machine stuff.

I am not super interested in rewriting it. I was mostly reintroducing this PR because it already passed a code review and was just missing a design review. If it needs to be rewritten then it'll probably have to wait for someone else to pick it up.

aaronraimist avatar Jun 25 '21 01:06 aaronraimist

@aaronraimist I'm taking this one over, hopefully you don't mind. 😄

Palid avatar Nov 29 '21 17:11 Palid

@aaronraimist I think this got replaced with https://github.com/matrix-org/matrix-react-sdk/pull/7107 ? Are there remaining bits of this or the linked issue which might still need doing?

turt2live avatar Jan 20 '22 23:01 turt2live

@turt2live #7107 is an improvement but in my opinion it doesn't replace this PR. #7107 checks that the address about to be published looked like an alias but this PR actually checks if the alias points at the room and provides a helpful error if not.

Currently if you enter a valid looking alias but it doesn't point at the room, you get this error which doesn't explain much.

I'm not sure if @Palid wants to leave this open and build on top of it or close it and rewrite it in a different way.

aaronraimist avatar Jan 21 '22 00:01 aaronraimist

I think if you're able to pick it up instead that would be ideal.

turt2live avatar Jan 21 '22 00:01 turt2live

I'll see what I can do but can't promise anything in the near future

aaronraimist avatar Jan 21 '22 01:01 aaronraimist