Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

When joining from room directory, use auto_join #3136

Merged
merged 2 commits into from
Jun 25, 2019

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Jun 23, 2019

Fixes element-hq/element-web#5265

Does have the side-effect of picking an already-joined room from Room Directory says "Joining..." instead of "Loading..." because of the alias -> id resolution being async, related to the URL change issue not being instant with aliases

Signed-off-by: Michael Telatynski 7t3chguy@gmail.com

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@jryans jryans requested a review from a team June 24, 2019 11:04
@bwindels
Copy link
Contributor

The end to end tests are (legitimately) failing, as they expect a "Join" button after clicking on a room in the room directory.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests failing

@bwindels
Copy link
Contributor

I'll try to have a look to fix the e2e tests ... might even be a good time to put them into the react-sdk...

@t3chguy
Copy link
Member Author

t3chguy commented Jun 25, 2019

So the E2E tests are right here, I missed that I moved both the room directory results and the search box enter/join button to auto_join when only the latter should have been. Resolved that now

@t3chguy t3chguy requested a review from turt2live June 25, 2019 09:34
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like it does something

@turt2live turt2live merged commit 9771ce1 into develop Jun 25, 2019
@t3chguy t3chguy deleted the t3chguy/room_directory_autojoin branch April 27, 2020 18:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hitting Enter or clicking "Join" button in Room Directory should actually join
3 participants