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): remove deprecated processMap, simplify subobjects #4842

Merged
merged 5 commits into from
Oct 10, 2024

Conversation

Rathoz
Copy link
Collaborator

@Rathoz Rathoz commented Oct 9, 2024

Summary

ProcessMap is no longer used

How did you test this change?

dev on r6 and val

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.

linter says FnUtil is unsed in criticalops ;)

components/match2/commons/match_subobjects.lua Outdated Show resolved Hide resolved
@hjpalpha
Copy link
Collaborator

hjpalpha commented Oct 10, 2024

fwiw if on commons we make Template:Map just a redirect to Template:Json (or let it call Json.fromArgs) we could kick the entire Module:Match/Subobjects
and we could kick several custom Template:Map overwrites

@Rathoz
Copy link
Collaborator Author

Rathoz commented Oct 10, 2024

fwiw if on commons we make Template:Map just a redirect to Template:Json (or let it call Json.fromArgs) we could kick the entire Module:Match/Subobjects and we could kick several custom Template:Map overwrites

Yes, but requires moving existing logic from SubObjects to the Customs that needs it. Want to do it, but it would be a later stage

@Rathoz Rathoz requested a review from hjpalpha October 10, 2024 09:54
@Rathoz Rathoz force-pushed the remove-processMap branch from 1a013d9 to 11941cd Compare October 10, 2024 10:13
@Rathoz Rathoz marked this pull request as ready for review October 10, 2024 11:10
@Rathoz Rathoz merged commit fa16b43 into main Oct 10, 2024
6 checks passed
@Rathoz Rathoz deleted the remove-processMap branch October 10, 2024 11:13
Rathoz added a commit that referenced this pull request Oct 10, 2024
Rathoz added a commit that referenced this pull request Oct 10, 2024
Rathoz added a commit that referenced this pull request Oct 10, 2024
* Create Match Summary for hearthstone

* Create Match Group Input for Hearthstone

* Create get_match_group_copy_paste_wiki.lua

* Update match_group_input_custom.lua

* Update match_group_input_custom.lua

* Update match_group_input_custom.lua

* Update match_summary.lua

* Update match_summary.lua

* Update match_summary.lua

* as per review

* ms: fix anno

* fix(ms): do not apply css to potential nil

* linter

* input refactor

* adjust copy paste (add team support)

* store chars in extradata too (to be able to condition on them)

* kick unsued cars and requires

* and another one

* map function -> identity

* fix

* #4650

* update with changes from #4839

* change from #4842

* Update Hearthstone Info M2 status (#4844)

* Update Hearthstone Info

Based on:
#4518 (comment)

* Update standard/info/wikis/hearthstone/info.lua

Co-authored-by: Rikard Blixt <[email protected]>

---------

Co-authored-by: Rikard Blixt <[email protected]>

* Create match_legacy for Hearthstone (#4846)

* Create match_legacy for Hearthstone

* Apply suggestions from code review

Co-authored-by: hjpalpha <[email protected]>

* Update components/match2/wikis/hearthstone/match_legacy.lua

* Update components/match2/wikis/hearthstone/match_legacy.lua

* Update components/match2/wikis/hearthstone/match_legacy.lua

---------

Co-authored-by: Rikard Blixt <[email protected]>
Co-authored-by: hjpalpha <[email protected]>

* change from #4841

* aano wanring

---------

Co-authored-by: hjpalpha <[email protected]>
Co-authored-by: Rikard Blixt <[email protected]>
Co-authored-by: hjpalpha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants