Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
workflow_run:
workflows: ["PR Tests"]
types: [completed]
# Trigger when Copilot (or any reviewer) submits a review
pull_request_review:
types: [submitted]

permissions: read-all

Expand All @@ -17,7 +20,8 @@ jobs:
# Only run on pull requests, not pushes
if: |
github.event.check_suite.pull_requests[0] != null ||
github.event.workflow_run.pull_requests[0] != null
github.event.workflow_run.pull_requests[0] != null ||
github.event.pull_request != null
permissions:
pull-requests: write

Expand All @@ -27,6 +31,8 @@ jobs:
run: |
if [ "${{ github.event_name }}" == "check_suite" ]; then
PR_NUMBER="${{ github.event.check_suite.pull_requests[0].number }}"
elif [ "${{ github.event_name }}" == "pull_request_review" ]; then
PR_NUMBER="${{ github.event.pull_request.number }}"
else
PR_NUMBER="${{ github.event.workflow_run.pull_requests[0].number }}"
fi
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,16 @@ JEngine is a Unity framework that enables **runtime hot updates** for games. Des
|---------|------|----------|-------------|
| **JEngine.Core** | Required | N/A | Hot update support with secure, high-performance features |
| **JEngine.Util** | Optional | [![Util Coverage](https://codecov.io/gh/JasonXuDeveloper/JEngine/branch/master/graph/badge.svg?flag=util)](https://codecov.io/gh/JasonXuDeveloper/JEngine) | Utility classes including JAction and JObjectPool |
| **JEngine.UI** | Optional | [![UI Coverage](https://codecov.io/gh/JasonXuDeveloper/JEngine/branch/master/graph/badge.svg?flag=ui)](https://codecov.io/gh/JasonXuDeveloper/JEngine) | UI utilities for both runtime and editor |

**JEngine.Util Features:**
- **JAction** - Zero-GC chainable async task framework with fluent API, object pooling, delays, conditions, and loops
- **JObjectPool** - Thread-safe, lock-free generic object pooling using CAS operations

**JEngine.UI Features:**
- **MessageBox** - Zero-allocation async prompt system with UniTask integration and object pooling for runtime UI
- **Editor UI** - Shadcn-inspired modern UI Toolkit framework with theming support and Bootstrap/Panel UI integration

### Third-Party Packages

| Package | Description | Link |
Expand Down
5 changes: 5 additions & 0 deletions README_zh_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,16 @@ JEngine是针对Unity开发者设计的**开箱即用**的框架,封装了强
|------|------|--------|------|
| **JEngine.Core** | 必需 | N/A | 支持运行时热更,附带安全且高性能的功能 |
| **JEngine.Util** | 可选 | [![Util Coverage](https://codecov.io/gh/JasonXuDeveloper/JEngine/branch/master/graph/badge.svg?flag=util)](https://codecov.io/gh/JasonXuDeveloper/JEngine) | 工具类库,包含JAction和JObjectPool |
| **JEngine.UI** | 可选 | [![UI Coverage](https://codecov.io/gh/JasonXuDeveloper/JEngine/branch/master/graph/badge.svg?flag=ui)](https://codecov.io/gh/JasonXuDeveloper/JEngine) | 运行时和编辑器UI工具类 |

**JEngine.Util 功能:**
- **JAction** - 零GC链式异步任务框架,提供流畅API、对象池、延迟、条件和循环功能
- **JObjectPool** - 线程安全、无锁的通用对象池,使用CAS操作

**JEngine.UI 功能:**
- **MessageBox** - 零分配异步提示系统,支持UniTask集成和对象池,用于运行时UI
- **编辑器UI** - 借鉴shadcn的现代化UI Toolkit框架,支持主题系统和Bootstrap/Panel UI集成

### 第三方包

| 包名 | 描述 | 链接 |
Expand Down
7 changes: 4 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ flag_management:
paths:
- UnityProject/Packages/com.jasonxudeveloper.jengine.util/
carryforward: true
- name: ui
paths:
- UnityProject/Packages/com.jasonxudeveloper.jengine.ui/
carryforward: true
# Add future packages here as they become testable
# - name: another-package
# paths:
Expand All @@ -30,9 +34,6 @@ flag_management:

# Ignore files that shouldn't affect coverage
ignore:
- "**/*Tests*/**"
- "**/*.Tests.cs"
- "**/Editor/**"
- "**/Samples/**"
# Ignore third-party packages (not JEngine's)
- "UnityProject/Packages/com.code-philosophy.*/**"
Expand Down