Skip to content

Commit 08eab6f

Browse files
Add v1.1.6 docs: BootstrapText, JTabView, bug fixes
- Add v1.1.6 changelog entries (EN + ZH) for PRs #624, #626, #627 - Document JTabView component on ui-components page with code examples - Add Text Settings accordion to runtime-panel with all 33 BootstrapText fields - Fix manifest decryption and Nino Dictionary serialization bug notes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 215e899 commit 08eab6f

6 files changed

Lines changed: 224 additions & 0 deletions

File tree

‎content/docs/v1.1/changelog.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ All notable changes to JEngine v1.1.x are documented here.
99
For the complete changelog including older versions, see the [GitHub CHANGE.md](https://github.com/JasonXuDeveloper/JEngine/blob/master/CHANGE.md).
1010

1111
<Accordions>
12+
<Accordion title="v1.1.6 (February 8, 2026)">
13+
**New Features:**
14+
- Configurable Bootstrap text — new `BootstrapText` struct with 33 localizable fields for all user-facing strings during the hot update flow ([#624](https://github.com/JasonXuDeveloper/JEngine/pull/624))
15+
- Added `JTabView` component — tabbed container with configurable `maxTabsPerRow` for organizing editor UI sections ([#624](https://github.com/JasonXuDeveloper/JEngine/pull/624))
16+
17+
**Bug Fixes:**
18+
- Auto-detect manifest decryption in `PreprocessBuildCatalog` — fixes NullReferenceException when building with encrypted asset manifests ([#626](https://github.com/JasonXuDeveloper/JEngine/pull/626))
19+
- Bumped Nino to `4.0.0-preview.147` — fixes `ArrayTypeMismatchException` when serializing Dictionary fields under HybridCLR ([#627](https://github.com/JasonXuDeveloper/JEngine/pull/627))
20+
21+
**Packages:** Core v1.1.6, Util v1.1.4, UI v1.1.4
22+
</Accordion>
23+
1224
<Accordion title="v1.1.5 (February 1, 2026)">
1325
**New Features:**
1426
- Added `JContainer` component with responsive max-width constraints following Tailwind/Bootstrap patterns ([#613](https://github.com/JasonXuDeveloper/JEngine/pull/613))

‎content/docs/v1.1/changelog.zh.mdx‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ JEngine v1.1.x 的所有重要更新记录在此。
99
完整更新日志(包含旧版本)请参阅 [GitHub CHANGE.md](https://github.com/JasonXuDeveloper/JEngine/blob/master/CHANGE.md)。
1010

1111
<Accordions>
12+
<Accordion title="v1.1.6 (2026年2月8日)">
13+
**新功能:**
14+
- 可配置的 Bootstrap 文本 — 新增 `BootstrapText` 结构体,包含 33 个可本地化字段,覆盖热更流程中所有面向用户的文本 ([#624](https://github.com/JasonXuDeveloper/JEngine/pull/624))
15+
- 新增 `JTabView` 组件 — 标签页容器,支持 `maxTabsPerRow` 配置,用于组织编辑器 UI 分区 ([#624](https://github.com/JasonXuDeveloper/JEngine/pull/624))
16+
17+
**Bug 修复:**
18+
- `PreprocessBuildCatalog` 自动检测清单解密 — 修复使用加密资源清单构建时的 NullReferenceException ([#626](https://github.com/JasonXuDeveloper/JEngine/pull/626))
19+
- Nino 升级至 `4.0.0-preview.147` — 修复 HybridCLR 下序列化 Dictionary 字段时的 `ArrayTypeMismatchException` ([#627](https://github.com/JasonXuDeveloper/JEngine/pull/627))
20+
21+
**包版本:** Core v1.1.6, Util v1.1.4, UI v1.1.4
22+
</Accordion>
23+
1224
<Accordion title="v1.1.5 (2026年2月1日)">
1325
**新功能:**
1426
- 新增 `JContainer` 组件,支持响应式最大宽度约束,遵循 Tailwind/Bootstrap 模式 ([#613](https://github.com/JasonXuDeveloper/JEngine/pull/613))

‎content/docs/v1.1/runtime-panel.mdx‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,88 @@ The Init scene has default UI components configured. Customize if needed:
7474
- **Progress Bar** - Real-time download progress bar
7575
- **Start Button** - Triggers hot update process
7676
</Accordion>
77+
78+
<Accordion title="Text Settings">
79+
<Callout type="info">
80+
New in v1.1.6 — Bootstrap now exposes a `BootstrapText` struct in the Inspector with 33 configurable string fields for all user-facing text shown during the hot update flow.
81+
</Callout>
82+
83+
Override any field to localize or customize the text. Default values are in English. Fields are organized into 6 tabs in the Inspector:
84+
85+
<Tabs items={['Package Init', 'Scene Load', 'Inline Status', 'Dialog Titles', 'Dialog Buttons', 'Dialog Content']}>
86+
<Tab value="Package Init">
87+
Messages shown during resource package initialization.
88+
89+
| Field | Default |
90+
|-------|---------|
91+
| `initializingPackage` | `"Initializing resource package..."` |
92+
| `gettingVersion` | `"Getting resource package version..."` |
93+
| `updatingManifest` | `"Updating resource manifest..."` |
94+
| `checkingUpdate` | `"Checking resources to download..."` |
95+
| `downloadingResources` | `"Downloading resources..."` |
96+
| `packageCompleted` | `"Resource package initialization completed"` |
97+
| `initializationFailed` | `"Initialization failed"` |
98+
| `unknownPackageStatus` | `"Unknown status"` |
99+
</Tab>
100+
<Tab value="Scene Load">
101+
Messages shown during hot update scene loading.
102+
103+
| Field | Default |
104+
|-------|---------|
105+
| `sceneLoading` | `"Loading scene..."` |
106+
| `sceneCompleted` | `"Scene loading completed"` |
107+
| `sceneFailed` | `"Scene loading failed"` |
108+
| `unknownSceneStatus` | `"Unknown status"` |
109+
</Tab>
110+
<Tab value="Inline Status">
111+
Short status text shown in the progress UI.
112+
113+
| Field | Default |
114+
|-------|---------|
115+
| `initializing` | `"Initializing..."` |
116+
| `downloading` | `"Downloading..."` |
117+
| `downloadCompletedLoading` | `"Download completed, loading..."` |
118+
| `loadingCode` | `"Loading code..."` |
119+
| `decryptingResources` | `"Decrypting resources..."` |
120+
| `loadingScene` | `"Loading scene..."` |
121+
</Tab>
122+
<Tab value="Dialog Titles">
123+
Title bar text for dialogs shown during the hot update flow.
124+
125+
| Field | Default |
126+
|-------|---------|
127+
| `dialogTitleError` | `"Error"` |
128+
| `dialogTitleWarning` | `"Warning"` |
129+
| `dialogTitleNotice` | `"Notice"` |
130+
</Tab>
131+
<Tab value="Dialog Buttons">
132+
Button labels used in dialogs.
133+
134+
| Field | Default |
135+
|-------|---------|
136+
| `buttonOk` | `"OK"` |
137+
| `buttonCancel` | `"Cancel"` |
138+
| `buttonDownload` | `"Download"` |
139+
| `buttonRetry` | `"Retry"` |
140+
| `buttonExit` | `"Exit"` |
141+
</Tab>
142+
<Tab value="Dialog Content">
143+
Dialog body text. Fields with `{0}`, `{1}` etc. are format placeholders filled at runtime.
144+
145+
| Field | Default |
146+
|-------|---------|
147+
| `dialogInitFailed` | `"Initialization failed: {0}"` |
148+
| `dialogDownloadPrompt` | `"Need to download {0} files, total size {1}MB. Start download?"` |
149+
| `dialogDownloadProgress` | `"Downloading file {0}/{1} ({2}MB/{3}MB)"` |
150+
| `dialogSceneLoadFailed` | `"Scene loading failed: {0}"` |
151+
| `dialogInitException` | `"Exception occurred during initialization: {0}"` |
152+
| `dialogCodeException` | `"Code exception, please contact customer service"` |
153+
| `dialogFunctionCallFailed` | `"Function call failed: {0}"` |
154+
</Tab>
155+
</Tabs>
156+
157+
**Use case:** Localize all hot update text to any language, or customize the wording for your game.
158+
</Accordion>
77159
</Accordions>
78160

79161
## Runtime Flow

‎content/docs/v1.1/runtime-panel.zh.mdx‎

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,88 @@ Init 场景已有默认 UI 组件,如需自定义可调整:
7474
- **Progress Bar** - 实时下载进度条
7575
- **Start Button** - 触发热更流程
7676
</Accordion>
77+
78+
<Accordion title="Text Settings(文本设置)">
79+
<Callout type="info">
80+
v1.1.6 新增 — Bootstrap 现在在 Inspector 中暴露 `BootstrapText` 结构体,包含 33 个可配置的字符串字段,覆盖热更流程中所有面向用户的文本。
81+
</Callout>
82+
83+
覆盖任意字段即可本地化或自定义文本。默认值为英文。字段在 Inspector 中按 6 个标签页组织:
84+
85+
<Tabs items={['Package Init', 'Scene Load', 'Inline Status', 'Dialog Titles', 'Dialog Buttons', 'Dialog Content']}>
86+
<Tab value="Package Init">
87+
资源包初始化过程中显示的消息。
88+
89+
| 字段 | 默认值 |
90+
|------|--------|
91+
| `initializingPackage` | `"Initializing resource package..."` |
92+
| `gettingVersion` | `"Getting resource package version..."` |
93+
| `updatingManifest` | `"Updating resource manifest..."` |
94+
| `checkingUpdate` | `"Checking resources to download..."` |
95+
| `downloadingResources` | `"Downloading resources..."` |
96+
| `packageCompleted` | `"Resource package initialization completed"` |
97+
| `initializationFailed` | `"Initialization failed"` |
98+
| `unknownPackageStatus` | `"Unknown status"` |
99+
</Tab>
100+
<Tab value="Scene Load">
101+
热更场景加载过程中显示的消息。
102+
103+
| 字段 | 默认值 |
104+
|------|--------|
105+
| `sceneLoading` | `"Loading scene..."` |
106+
| `sceneCompleted` | `"Scene loading completed"` |
107+
| `sceneFailed` | `"Scene loading failed"` |
108+
| `unknownSceneStatus` | `"Unknown status"` |
109+
</Tab>
110+
<Tab value="Inline Status">
111+
进度 UI 中显示的简短状态文本。
112+
113+
| 字段 | 默认值 |
114+
|------|--------|
115+
| `initializing` | `"Initializing..."` |
116+
| `downloading` | `"Downloading..."` |
117+
| `downloadCompletedLoading` | `"Download completed, loading..."` |
118+
| `loadingCode` | `"Loading code..."` |
119+
| `decryptingResources` | `"Decrypting resources..."` |
120+
| `loadingScene` | `"Loading scene..."` |
121+
</Tab>
122+
<Tab value="Dialog Titles">
123+
热更流程中对话框的标题栏文本。
124+
125+
| 字段 | 默认值 |
126+
|------|--------|
127+
| `dialogTitleError` | `"Error"` |
128+
| `dialogTitleWarning` | `"Warning"` |
129+
| `dialogTitleNotice` | `"Notice"` |
130+
</Tab>
131+
<Tab value="Dialog Buttons">
132+
对话框中使用的按钮标签。
133+
134+
| 字段 | 默认值 |
135+
|------|--------|
136+
| `buttonOk` | `"OK"` |
137+
| `buttonCancel` | `"Cancel"` |
138+
| `buttonDownload` | `"Download"` |
139+
| `buttonRetry` | `"Retry"` |
140+
| `buttonExit` | `"Exit"` |
141+
</Tab>
142+
<Tab value="Dialog Content">
143+
对话框正文内容。含 `{0}`、`{1}` 等占位符的字段会在运行时填充。
144+
145+
| 字段 | 默认值 |
146+
|------|--------|
147+
| `dialogInitFailed` | `"Initialization failed: {0}"` |
148+
| `dialogDownloadPrompt` | `"Need to download {0} files, total size {1}MB. Start download?"` |
149+
| `dialogDownloadProgress` | `"Downloading file {0}/{1} ({2}MB/{3}MB)"` |
150+
| `dialogSceneLoadFailed` | `"Scene loading failed: {0}"` |
151+
| `dialogInitException` | `"Exception occurred during initialization: {0}"` |
152+
| `dialogCodeException` | `"Code exception, please contact customer service"` |
153+
| `dialogFunctionCallFailed` | `"Function call failed: {0}"` |
154+
</Tab>
155+
</Tabs>
156+
157+
**使用场景:** 将所有热更文本本地化为任意语言,或自定义措辞以匹配你的游戏。
158+
</Accordion>
77159
</Accordions>
78160

79161
## 运行流程

‎content/docs/v1.1/ui-components.mdx‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ The `Tokens` class provides design constants:
9999
| Component | Description |
100100
|-----------|-------------|
101101
| `JBreadcrumb` | Breadcrumb navigation |
102+
| `JTabView` | Tabbed container with configurable layout |
102103

103104
## JContainer
104105

@@ -122,6 +123,23 @@ public enum ContainerSize
122123
}
123124
```
124125

126+
## JTabView
127+
128+
Added in v1.1.6, `JTabView` provides a tabbed container for organizing editor UI sections with configurable layout:
129+
130+
```csharp
131+
// Create a tab view with tabs
132+
var tabView = new JTabView();
133+
tabView.AddTab("General", generalContent);
134+
tabView.AddTab("Advanced", advancedContent);
135+
tabView.AddTab("Debug", debugContent);
136+
137+
// Configure max tabs per row (default: 3)
138+
var tabView = new JTabView(maxTabsPerRow: 4);
139+
```
140+
141+
When the number of tabs exceeds `maxTabsPerRow`, tabs automatically wrap to the next row.
142+
125143
## Theming
126144

127145
The `JTheme` class applies consistent theming:

‎content/docs/v1.1/ui-components.zh.mdx‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ openupm add com.jasonxudeveloper.jengine.ui
9999
| 组件 | 说明 |
100100
|------|------|
101101
| `JBreadcrumb` | 面包屑导航 |
102+
| `JTabView` | 标签页容器,可配置布局 |
102103

103104
## JContainer
104105

@@ -122,6 +123,23 @@ public enum ContainerSize
122123
}
123124
```
124125

126+
## JTabView
127+
128+
v1.1.6 新增,`JTabView` 提供标签页容器,用于组织编辑器 UI 分区,支持可配置的布局:
129+
130+
```csharp
131+
// 创建标签页视图
132+
var tabView = new JTabView();
133+
tabView.AddTab("General", generalContent);
134+
tabView.AddTab("Advanced", advancedContent);
135+
tabView.AddTab("Debug", debugContent);
136+
137+
// 配置每行最大标签数(默认:3)
138+
var tabView = new JTabView(maxTabsPerRow: 4);
139+
```
140+
141+
当标签数量超过 `maxTabsPerRow` 时,标签会自动换行到下一行。
142+
125143
## 主题
126144

127145
`JTheme` 类应用统一主题:

0 commit comments

Comments
 (0)