Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

feat: 实例设置 - 服务器栏 Core 部分 - #44

Merged
ruattd merged 27 commits into
PCL-Community:mainfrom
pynickle:feat/link-pr-1389
Aug 28, 2025
Merged

ruattd merged 27 commits into
PCL-Community:mainfrom
pynickle:feat/link-pr-1389

Conversation

@pynickle

@pynickle pynickle commented Aug 20, 2025 •

Copy link
Copy Markdown
Contributor

link #1404

Copilot AI review requested due to automatic review settings August 20, 2025 10:53
@pynickle
pynickle marked this pull request as draft August 20, 2025 10:53

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 introduces an icon management system to handle UI element icons with collection management and selection logic. The changes also include a minor bug fix for JSON parsing in the Minecraft server ping functionality.

  • Added IconModel record for representing icon data with name and XAML content
  • Implemented IconManager class with collection management, selection, and XAML parsing capabilities
  • Fixed null reference handling in McPing.cs when the "players" field is missing

Reviewed Changes

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

File Description
UI/IconModel.cs Defines the IconModel record structure for icon representation
UI/IconManager.cs Implements the main icon management functionality with collection and selection logic
Link/McPing.cs Fixes null reference exception by providing default JsonObject for missing players field

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread UI/IconModel.cs Outdated
Comment thread UI/IconManager.cs Outdated
Comment thread UI/IconManager.cs Outdated
Comment thread UI/IconManager.cs
Comment thread Link/McPing.cs
Comment thread UI/IconManager.cs
@pynickle pynickle changed the title feat: 加入图标管理和切换类 feat: 实例设置 - 服务器栏 Core 部分 Aug 20, 2025
Comment thread Net/ServerAddressResolver.cs Outdated
@pynickle
pynickle marked this pull request as ready for review August 23, 2025 05:45
@pynickle
pynickle requested a review from tangge233 August 27, 2025 12:49
Comment thread UI/MotdRenderer.xaml
@ruattd
ruattd merged commit d467894 into PCL-Community:main Aug 28, 2025
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants