@takagaki/cortex-decisions-viewer 0.4.56 → 0.4.57

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.
Files changed (2) hide show
  1. package/dist/render.js +6 -1
  2. package/package.json +1 -1
package/dist/render.js CHANGED
@@ -165,7 +165,12 @@ function renderConnectionMap(site) {
165
165
  : c.cap === "会議"
166
166
  ? internal?.ingestState !== "on"
167
167
  : !(internal?.lastSync || internal?.url));
168
- const state = off ? "cm-off" : warn ? "cm-warn" : idle ? "cm-idle" : "cm-ok";
168
+ // **未接続は警告より優先する。** 繋がっていない能力のパイプラインが失敗するのは
169
+ // 「壊れた」のではなく「まだ設定が済んでいない」結果で、順番を逆にすると
170
+ // **⚠️の箱に「未接続」と書かれ、しかも繋がっていないのに線が引かれる**(実際にそうなった:
171
+ // APIキー未投入で sync-backlog が失敗し、課題管理が警告色で線付きになった)。
172
+ // 失敗そのものは下の「自動化パイプライン」の一覧に出るので、情報は失われない。
173
+ const state = off ? "cm-off" : idle ? "cm-idle" : warn ? "cm-warn" : "cm-ok";
169
174
  // **ラベルは能力名(会議・課題管理…)。ツール名は下に小さく置く。**
170
175
  // ツールは「その能力をいま何で実現しているか」という差し替え可能なアダプタで、
171
176
  // 主語ではない。ツール名を主にすると、Teams のように複数の能力に使われるものが
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takagaki/cortex-decisions-viewer",
3
- "version": "0.4.56",
3
+ "version": "0.4.57",
4
4
  "description": "Cortexの意思決定記録(Decisions/*.md)を静的サイトにビルドして閲覧する。各レコードに「Edit on GitHub」リンクを付与する。",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,