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

refactor(match2): dota2's match page into widget #4897

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Rathoz
Copy link
Collaborator

@Rathoz Rathoz commented Oct 17, 2024

Summary

How did you test this change?

Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

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

in general several if these widgets seem dota2 specific not sure they should be generic (from the name) widgets that reside on commons

children = {
Div{classes = {'match-bm-players-player-loadout-rs'}, children = MatchPageHeaderGamePlayerItem(self.props.neutralitem)},
Div{classes = {'match-bm-players-player-loadout-rs'}, children = self.props.shard and MatchPageHeaderGamePlayerItem{name = 'Aghanim\'s Shard', image = 'Dota2_Aghanim\'s_Shard_symbol_allmode.png'}},
Div{classes = {'match-bm-players-player-loadout-rs'}, children = self.props.scepter and MatchPageHeaderGamePlayerItem{name = 'Aghanim\'s Scepter', image = 'Dota2_Aghanim\'s_Scepter_symbol_allmode.png'}},
Copy link
Collaborator

Choose a reason for hiding this comment

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

fwiw seems odly dota2 specific for it to be in a commons (generic) widget

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's a WIP ;)

}
end

return MatchPageHeaderGamePlayerStat
Copy link
Collaborator

Choose a reason for hiding this comment

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

eof

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.

2 participants