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

Advanced search in Teambuilder #1133

Merged
merged 7 commits into from Jun 25, 2019
Merged

Advanced search in Teambuilder #1133

merged 7 commits into from Jun 25, 2019

Conversation

littlefoot22
Copy link
Contributor

@littlefoot22 littlefoot22 commented Jul 13, 2018

Really like this project and want to contribute so I took a shot at one of the items on the new develops issue.

Please let me know if this is on the right track / feedback / what to add / is this still needed?

Supports search on / Pokémon / ability / item / move / anything in unpacked team:

screen shot 2018-07-12 at 8 51 53 pm
screen shot 2018-07-12 at 8 51 57 pm
screen shot 2018-07-12 at 8 52 08 pm
screen shot 2018-07-12 at 8 52 11 pm
screen shot 2018-07-12 at 8 58 20 pm
screen shot 2018-07-12 at 9 01 17 pm
screen shot 2018-07-12 at 9 05 53 pm
screen shot 2018-07-12 at 9 07 14 pm

Copy link
Member

@HoeenCoder HoeenCoder left a comment

Choose a reason for hiding this comment

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

Thanks for your interest and work on this! Its really appreciated 👍

The code looks good, I left one comment but its nothing major. I haven't tested it locally yet though. I'll try it out a little later.

@@ -2570,6 +2584,13 @@
}
this.chartSet(val, selectNext);
},
searchChange: function (e) {
//91 for right CMD / 93 for left / CMD 17 for CTL
if (e.keyCode != 91 && e.keyCode != 93 && e.keyCode != 17) {
Copy link
Member

Choose a reason for hiding this comment

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

Can use !== here as (iirc) the type will always be number

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback! I'll update the PR when I'm home

@Zarel
Copy link
Member

Zarel commented Jul 14, 2018

;_; I keep on having these refactors being submitted when I'm in the middle of rewriting the client in React...

@Zarel
Copy link
Member

Zarel commented Jul 14, 2018

I actually love this but also merging it in is going to be hell...

@littlefoot22
Copy link
Contributor Author

I read about the refactor in the comments, I mostly did this to get a familiar with the project. I won’t be offended if you dont merge this lol. I am more excited to work on the new client when it arrives :D

@scheibo
Copy link
Contributor

scheibo commented Jun 25, 2019

I actually love this but also merging it in is going to be hell...

This looks pretty mergeable.

@Zarel
Copy link
Member

Zarel commented Jun 25, 2019

In hindsight, yeah. There's no reason not to merge.

@Zarel Zarel merged commit 26fa6f7 into smogon:master Jun 25, 2019
@scheibo
Copy link
Contributor

scheibo commented Jun 25, 2019

@littlefoot22 - do you have a Smogon username that you'd like to have tagged when I post the user-visible changelog to the update thread after the next server restart?

@littlefoot22
Copy link
Contributor Author

@littlefoot22 - do you have a Smogon username that you'd like to have tagged when I post the user-visible changelog to the update thread after the next server restart?

@scheibo
my username of the forums is buck.20.two and on showdown it is littlefoot22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants