Skip to content

feat: color game results in analysis board#2751

Merged
veloce merged 1 commit intolichess-org:mainfrom
lacostej:feat/colored-analysis-results
Mar 12, 2026
Merged

feat: color game results in analysis board#2751
veloce merged 1 commit intolichess-org:mainfrom
lacostej:feat/colored-analysis-results

Conversation

@lacostej
Copy link
Copy Markdown
Contributor

@lacostej lacostej commented Mar 12, 2026

Summary

  • Adds green/red coloring to win/loss results (1/0) next to player names in the analysis board, matching the broadcast style
  • Wins show in green, losses in red, draws remain in the default color
  • Applies to both archived game analysis and PGN import analysis

Closes #2745

Screenshot 2026-03-12 at 08 28 59

Test plan

  • flutter analyze — no issues
  • dart format — properly formatted
  • flutter test test/view/analysis/analysis_screen_test.dart — all 58 tests pass
  • Manual testing: open a completed game → analysis board → verify colored results next to player names

Add green/red coloring to win/loss results (1/0) displayed next to
player names in the analysis board, matching the broadcast style.
Draws remain in the default color.

Closes lichess-org#2745
Copy link
Copy Markdown
Contributor

@veloce veloce left a comment

Choose a reason for hiding this comment

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

Thanks!

@veloce veloce merged commit e1cb75d into lichess-org:main Mar 12, 2026
1 check passed
@lacostej lacostej deleted the feat/colored-analysis-results branch March 12, 2026 12:24
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.

Color in result within analysis board for regular games like we do do broadcast

2 participants