Skip to content

chore: 发布 v1.8.2 正式版本#9

Merged
BAKAOLC merged 2 commits into
mainfrom
develop
Nov 16, 2025
Merged

chore: 发布 v1.8.2 正式版本#9
BAKAOLC merged 2 commits into
mainfrom
develop

Conversation

@BAKAOLC

@BAKAOLC BAKAOLC commented Nov 16, 2025

Copy link
Copy Markdown
Collaborator

更新内容

  • 优化了 UI 组件的布局和初始化逻辑,使用 UIFactory 方法简化代码,提升可读性
  • 改进了事件订阅清理逻辑,防止内存泄漏

版本信息

版本号:v1.8.2

相关提交

  • refactor: 优化 UI 组件的布局和初始化逻辑
  • fix: 改进事件订阅清理逻辑防止内存泄漏

- 使用 UIFactory 方法简化 RectTransform 和 LayoutGroup 的设置
- 移除冗余的组件添加,提升代码可读性
- 统一了 ContentSizeFitter 的配置方式
- 优化 UI 组件的布局和初始化逻辑,使用 UIFactory 方法简化代码,提升可读性
- 改进事件订阅清理逻辑,防止内存泄漏
- 更新版本号至 v1.8.2
Copilot AI review requested due to automatic review settings November 16, 2025 18:31

Copilot AI left a comment

Copy link
Copy Markdown

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 releases version 1.8.2, which refactors UI component initialization code to use UIFactory helper methods for improved readability and consistency. The refactoring replaces repetitive manual RectTransform and layout component setup with streamlined UIFactory method calls.

  • Simplified UI component initialization by replacing manual component setup with UIFactory helper methods
  • Updated version number from 1.8.1 to 1.8.2
  • Added changelogs documenting the UI optimization changes

Reviewed Changes

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

Show a summary per file
File Description
Constant.cs Bumped version number from 1.8.1 to 1.8.2
CHANGELOG.md Added v1.8.2 release notes in Chinese
CHANGELOG_EN.md Added v1.8.2 release notes in English
ConfigWindow.cs Refactored UI initialization to use UIFactory methods in BuildMainPanel, BuildTitleBar, CreateTabPanels, BuildSettingsButton, and RefreshSettingsButton
TargetListPanel.cs Simplified Initialize method by consolidating component setup calls
ModelListPanel.cs Refactored Initialize, BuildNoneModelButton, and BuildModelButtonAsync methods; added description spacer element
FunctionButtonBar.cs Removed redundant AddComponent calls that are handled by UIFactory methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread DuckovCustomModel/UI/Components/ModelListPanel.cs
Comment thread DuckovCustomModel/UI/Components/ModelListPanel.cs
Comment thread DuckovCustomModel/UI/Components/TargetListPanel.cs
Comment thread DuckovCustomModel/UI/Components/ModelListPanel.cs
@BAKAOLC BAKAOLC merged commit 974e2a6 into main Nov 16, 2025
8 checks passed
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.

2 participants