odota / web

React web interface for the OpenDota platform
https://www.opendota.com
MIT License
1.07k stars 390 forks source link

Allow Search for hero combinations in the data explorer #3161

Open jzhao62 opened 3 months ago

jzhao62 commented 3 months ago

Is your feature request related to a problem? Please describe. image Currently the Data Explorer's hero choice only shows result in OR clause, usually when analyzing a match or review hero plays, you would want to search for heros you played against certain heros, ex: Antimage vs Legion Commander, where LC is a hard counter to AM in certain sense. FIltering matches in high level bracket for antimages played against LC can let user analyze what is the best strategy when the user's team get out drafted, so he can approve

Describe the solution you'd like Add an extra filter (Enemy filter, where you can provide a combination of enemy heros in the draft). I think the API already support it, and this will be a feature where other pro data analytic platforms does not offer

howardchung commented 3 months ago

You can probably modify the SQL query to achieve this (but we could maybe add a UI element for it)

jzhao62 commented 3 months ago

i think i can add an extra filter (enemy filter) in the UI so the sql can be auto generated, i will provide a PR for this one

jzhao62 commented 3 months ago

Screenshot_20240318_022059 to allow more granular filter in the combo page, like what is available in dotabuff