Skip to content

Commit 3a2f933

Browse files
committed
Merge branch 'develop' of github.com:opentiny/tiny-engine into types/use-page-material2
2 parents 6b747a9 + 00926c0 commit 3a2f933

File tree

134 files changed

+585
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+585
-331
lines changed

.github/auto-labeler.yml

Lines changed: 42 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,56 @@
11
version: v1
22

33
labels:
4-
- label: 'enhancement'
4+
- label: 'ignore-for-release'
5+
sync: true
6+
matcher:
7+
title: '^[vV]?\d+(\.\d+){2}.*'
8+
body: '#ignore'
9+
- label: 'breaking-change'
510
sync: true
611
matcher:
7-
title: '^feat:.*'
8-
- label: 'document'
12+
title: '^.+!:|#breaking'
13+
body: '#breaking'
14+
- label: 'enhancement'
915
sync: true
1016
matcher:
11-
title: '^docs:.*'
17+
title: '^[fF]eat.*'
1218
- label: 'bug'
1319
sync: true
1420
matcher:
15-
title: '^fix:.*'
16-
- label: 'ospp-2024'
21+
title: '^[fF]ix.*'
22+
- label: 'documentation'
23+
sync: true
24+
matcher:
25+
title: '^[dD](ocs|ocumentation).*'
26+
files: 'docs/**/*.md'
27+
- label: 'refactoring'
28+
sync: true
29+
matcher:
30+
title: '^[rR]efactor.*'
31+
- label: 'test'
32+
sync: true
33+
matcher:
34+
title: '^[tT]est.*'
35+
files: '**/__tests__/**'
36+
- label: 'chore'
37+
sync: true
38+
matcher:
39+
title: '^[cC]hore.*'
40+
- label: 'ci'
41+
sync: true
42+
matcher:
43+
title: '^[cC]i.*'
44+
files: '.github/**'
45+
- label: 'ospp'
46+
sync: true
47+
matcher:
48+
baseBranch: '^ospp-\d+\/.*'
49+
- label: '1.x'
1750
sync: true
1851
matcher:
19-
baseBranch: '^ospp-2024/.*'
20-
- label: 'refactor-main'
52+
baseBranch: '^v1\.x'
53+
- label: 'release'
2154
sync: true
2255
matcher:
23-
baseBranch: 'refactor/develop'
56+
baseBranch: '^release\/v2.*'

.github/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ changelog:
22
exclude:
33
labels:
44
- ignore-for-release
5-
authors:
6-
- allcontributors[bot]
75
categories:
86
- title: Breaking Changes 🛠
97
labels:
@@ -18,9 +16,16 @@ changelog:
1816
labels:
1917
- Semver-Patch
2018
- bug
21-
- title: Other Changes
19+
- title: "📖 Documentation"
2220
labels:
2321
- documentation
22+
- title: "🔧 Maintenance"
23+
labels:
2424
- refactoring
25+
- test
2526
- unit-test
27+
- chore
2628
- ci
29+
- title: "Other Changes"
30+
labels: ["*"]
31+
collapse: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $ pnpm splitMaterials
5858
$ pnpm buildMaterials
5959
```
6060

61-
Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
61+
Open a browser: `http://localhost:8080/?type=app&id=1&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
6262
`url search` Parameters:
6363

6464
- `type=app` Application type

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $ pnpm splitMaterials
5858
$ pnpm buildMaterials
5959
```
6060

61-
浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
61+
浏览器打开:`http://localhost:8080/?type=app&id=1&tenant=1&pageid=NTJ4MjvqoVj8OVsc`
6262
`url search`参数:
6363

6464
- `type=app` 应用类型

designer-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "designer-demo",
33
"private": true,
4-
"version": "2.3.0",
4+
"version": "2.5.0-alpha.2",
55
"type": "module",
66
"scripts": {
77
"dev": "cross-env vite",

designer-demo/public/mock/bundle.json

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8020,7 +8020,9 @@
80208020
"cols": 12,
80218021
"widget": {
80228022
"component": "CodeConfigurator",
8023-
"props": {}
8023+
"props": {
8024+
"language": "json"
8025+
}
80248026
},
80258027
"description": {
80268028
"zh_CN": "checkbox组件列表"
@@ -10534,6 +10536,27 @@
1053410536
"zh_CN": "是否禁用"
1053510537
},
1053610538
"labelPosition": "left"
10539+
},
10540+
{
10541+
"property": "auto-lookup",
10542+
"label": {
10543+
"text": {
10544+
"zh_CN": "自动请求数据"
10545+
}
10546+
},
10547+
"required": false,
10548+
"readOnly": false,
10549+
"disabled": false,
10550+
"cols": 12,
10551+
"defaultValue": true,
10552+
"widget": {
10553+
"component": "CheckBoxConfigurator",
10554+
"props": {}
10555+
},
10556+
"description": {
10557+
"zh_CN": "初始化时是否自动请求数据,默认 true"
10558+
},
10559+
"labelPosition": "left"
1053710560
}
1053810561
]
1053910562
},
@@ -13029,7 +13052,7 @@
1302913052
"schema": {
1303013053
"componentName": "video",
1303113054
"props": {
13032-
"src": "img/webNova.jpg",
13055+
"src": "https://tinyengine-assets.obs.myhuaweicloud.com/files/in-action.mp4#t=1.5",
1303313056
"width": "200",
1303413057
"height": "100",
1303513058
"style": "border:1px solid #ccc"

docs/api/backend-api/material-center.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tenant 通过前端配置统一 x-lowcode-org 请求头传递,接口中不用
215215

216216
| 参数名称 | 是否必须 | 示例 | 备注 |
217217
| ----------------- | -------- | ---- | ------------------------------------------------------------ |
218-
| appId || 918 | 应用id 用于筛选某个应用下的区块 |
218+
| appId || 1 | 应用id 用于筛选某个应用下的区块 |
219219
| public_scope_mode || 1 | 不传将只显示公开的区块,传入1, 可根据public进行公开性筛选,默认展示全部私有/公开区块 |
220220

221221
### 返回数据

docs/solutions/server-deployment-solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export default (app: Application) => {
283283

284284
使用本地开发流程,启动服务成功后访问
285285

286-
`http://localhost:7011/entry?id=918&type=app`
286+
`http://localhost:7011/entry?id=1&type=app`
287287

288288
验证是否存在问题,如正常则部署服务
289289

mockServer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opentiny/tiny-engine-mock",
3-
"version": "2.3.0",
3+
"version": "2.5.0-alpha.2",
44
"publishConfig": {
55
"access": "public"
66
},

0 commit comments

Comments
 (0)