smogon / pokemon-showdown-client

The client for Pokémon Showdown
http://pokemonshowdown.com
GNU Affero General Public License v3.0
560 stars 786 forks source link

Add feature to challenge user using name at top of pm window #1384

Closed cheiaych closed 1 year ago

cheiaych commented 5 years ago

I was battling a friend during a voice call, and noticed there was no way to send them another them without searching their name again, since we weren't using the in-game chat.

I want to add a feature where clicking their name in the top of the pm window brings up the challenge menu the same way clicking their name in a pm message does.

Seems like this pretty simple to implement so I should be able to do it myself.

Zarel commented 5 years ago

At the end of the battle, there's a "Rematch" button.

Zarel commented 5 years ago

Anyway, the new Preact client fixes this with user lists in PMs. If someone else wants to fix this in the old client, feel free.

cheiaych commented 5 years ago

I after each match we made new teams, so we couldn't just rematch. I thought it was inconvenient to have to search for someone you already have a pm window open with, and I figured it'd make sense to be able to rematch from there.

Zarel commented 5 years ago

The Rematch button lets you choose a new team and format.

cheiaych commented 5 years ago

Can you access teambuilder from rematch?

Zarel commented 5 years ago

Yes... The Rematch button literally does the same thing as the Challenge button.

cheiaych commented 5 years ago

Huh okay, didn't realize the challenge window stays open if you go into teambuilder. Still, I think its weird that clicking a username anywhere but the header of the pm lets you challenge them.

Zarel commented 5 years ago

The team selector in the challenge window (and everywhere) also contains a Teambuilder link.

I do agree there should be some way to challenge from a PM window, though.

DaWoblefet commented 1 year ago

This was done in https://github.com/smogon/pokemon-showdown-client/pull/1385