Skip to content

refactor(match2): grid based view for chess - #7974

Open
Rathoz wants to merge 2 commits into
m2-ms-depricated-createBodyfrom
grid-base-view-chess
Open

refactor(match2): grid based view for chess#7974
Rathoz wants to merge 2 commits into
m2-ms-depricated-createBodyfrom
grid-base-view-chess

Conversation

@Rathoz

@Rathoz Rathoz commented Aug 17, 2026

Copy link
Copy Markdown
Member

Summary

Refactor chess to use grid based match summary.

Also remove the header input, some of it will be replaced by Sets (later in the stack) and others will be changed to comments instead.

How did you test this change?

Together with the rest of the stack

@Rathoz
Rathoz marked this pull request as ready for review August 17, 2026 18:50
@Rathoz
Rathoz requested a review from a team as a code owner August 17, 2026 18:50
Copilot AI lite review requested due to automatic review settings August 17, 2026 18:50
@Rathoz
Rathoz requested a review from a team as a code owner August 17, 2026 18:50

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

Refactors the chess match summary rendering to use the shared grid-based MatchSummaryWidgets.GameRow component, aiming to modernize/standardize the game row layout.

Changes:

  • Replaced the custom per-game row renderer with a GameRow component implementation (createGames + GameRowComponentProps).
  • Adjusted chess map extra data handling to prefer using comment (intended as a fallback to the old header field).

Reviewed changes

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

File Description
lua/wikis/chess/MatchSummary.lua Switches chess match summary game rows to the grid-based GameRow component and provides chess-specific overview/opponent view rendering.
lua/wikis/chess/MatchGroup/Input/Custom.lua Changes map extra data extraction to prefer comment (with fallback to header) alongside ECO sanitization.

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

Comment thread lua/wikis/chess/MatchSummary.lua
Comment thread lua/wikis/chess/MatchGroup/Input/Custom.lua
@Rathoz
Rathoz force-pushed the grid-base-view-chess branch from 5ed59c2 to 61aaf1c Compare August 18, 2026 10:56
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