Skip to content

refactor(match2): remove unused customization points - #7970

Merged
Rathoz merged 2 commits into
mainfrom
m2-ms-remove-unused-customization-points
Aug 17, 2026
Merged

Rathoz merged 2 commits into
mainfrom
m2-ms-remove-unused-customization-points

Conversation

@Rathoz

@Rathoz Rathoz commented Aug 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Remove the createMatch and createHeader customization points in match summary.

How did you test this change?

trivial

@Rathoz
Rathoz changed the base branch from main to m2-ms-remove-footer-class August 16, 2026 20:16
@Rathoz
Rathoz force-pushed the m2-ms-remove-unused-customization-points branch from 6f176e3 to 0b0c3d4 Compare August 17, 2026 07:55
@Rathoz
Rathoz force-pushed the m2-ms-remove-unused-customization-points branch 2 times, most recently from 93b9c8a to ab558e0 Compare August 17, 2026 08:49
@Rathoz
Rathoz force-pushed the m2-ms-remove-unused-customization-points branch from 02198aa to 72db0c0 Compare August 17, 2026 08:54
@Rathoz
Rathoz marked this pull request as ready for review August 17, 2026 08:59
@Rathoz
Rathoz requested review from a team as code owners August 17, 2026 08:59
Copilot AI lite review requested due to automatic review settings August 17, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the shared match summary rendering by removing unused customization hooks for createMatch and createHeader, simplifying the customization surface for match summaries across wikis.

Changes:

  • Removed createHeader and createMatch customization points from the CustomMatchSummaryInterface flow, always using the base header and base match creation path.
  • Renamed the base header helper from createDefaultHeader to createHeader and updated internal call sites accordingly.
  • Updated Hearthstone’s MatchSummary implementation to call the new MatchSummary.createHeader and aligned return type annotations to Renderable.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lua/wikis/hearthstone/MatchSummary.lua Updates Hearthstone match summary to use the new base createHeader API and adjusts type annotations.
lua/wikis/commons/MatchSummary/Base.lua Removes unused header/match customization hooks and standardizes header rendering via MatchSummary.createHeader.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Base automatically changed from m2-ms-remove-footer-class to main August 17, 2026 09:10
@Rathoz
Rathoz force-pushed the m2-ms-remove-unused-customization-points branch from 72db0c0 to 085406d Compare August 17, 2026 09:10
@Rathoz
Rathoz merged commit 9967ce9 into main Aug 17, 2026
8 checks passed
@Rathoz
Rathoz deleted the m2-ms-remove-unused-customization-points branch August 17, 2026 09:16
MischiefCS pushed a commit that referenced this pull request Sep 24, 2026
* refactor(match2): remove unused customization points

* aint fixing this now
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.

3 participants