@coda-console/review 2.15.0 → 2.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,11 +141,15 @@
141
141
  <startEvent id="acceptance-start" />
142
142
  <sequenceFlow id="acceptance-enter" sourceRef="acceptance-start" targetRef="device-lock-choice" />
143
143
  <exclusiveGateway id="device-lock-choice" name="是否占用验收设备" default="device-lock-skip" />
144
- <sequenceFlow id="device-lock-needed" sourceRef="device-lock-choice" targetRef="device-lock"><conditionExpression xsi:type="tFormalExpression">=inputs.device != ""</conditionExpression></sequenceFlow>
144
+ <sequenceFlow id="device-lock-needed" sourceRef="device-lock-choice" targetRef="device-resolve"><conditionExpression xsi:type="tFormalExpression">=inputs.device != ""</conditionExpression></sequenceFlow>
145
145
  <sequenceFlow id="device-lock-skip" sourceRef="device-lock-choice" targetRef="preview" />
146
+ <callActivity id="device-resolve" name="解析验收设备" calledElement="resolve-testbed">
147
+ <extensionElements><coda:param name="device" value="=inputs.device" /></extensionElements>
148
+ </callActivity>
149
+ <sequenceFlow id="device-resolved" sourceRef="device-resolve" targetRef="device-lock" />
146
150
  <serviceTask id="device-lock" name="等验收设备" coda:action="hold-group" coda:status="等验收设备 {{inputs.device}}">
147
151
  <extensionElements>
148
- <coda:param name="group" value="device:{{inputs.device}}" />
152
+ <coda:param name="group" value="=device-resolve.group" />
149
153
  <coda:param name="capacity" value="1" />
150
154
  </extensionElements>
151
155
  </serviceTask>
package/README.md CHANGED
@@ -150,3 +150,5 @@ prompts/principles/ 评审重点,一项一段,按设置取
150
150
  - **改流程**:把这个目录复制到你自己的仓库,在 Coda 的「设置 › 插件」里卸载内置的 `review`,再「从仓库添加…」装你的那份(同名替换),
151
151
  之后按你的仓库更新、回退。改了插件 ID 也要先卸载内置的,否则每个 PR 会跑两条流程。
152
152
  - 改这里的 `review` 本身,照本仓库的规矩提 PR、升 `version`;Coda 再同步到合并后的提交(见仓库根的 README)。
153
+
154
+ 设备验收填写设备名时,先调用 testbed 的 `resolve-testbed` 再占用返回的组:iOS 为 device 组,安卓为本体 entity 组。此时须安装 testbed,review 不新增硬依赖。
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName": "PR 生命流程",
5
5
  "description": "PR 从检查、评审到批准合并;简易开发",
6
6
  "icon": { "symbol": "checkmark.bubble.fill", "color": "purple" },
7
- "version": "2.15.0",
7
+ "version": "2.15.1",
8
8
  "categories": [
9
9
  "工作流程"
10
10
  ],