@skillre/dsh-plugin-work-dashboard 0.6.0 → 0.10.0
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.
- package/README.en.md +12 -6
- package/README.md +32 -8
- package/compatibility.json +44 -4
- package/docs/DESIGN-1.0-/344/274/230/345/214/226/346/226/271/346/241/210.md +212 -0
- package/docs/DESIGN-/344/274/232/350/257/235/344/272/214-SuperAgent/344/270/216/344/273/223/345/272/223/346/224/271/351/200/240.md +275 -0
- package/docs/LEDGER-REQUIREMENTS-v3.1.md +367 -0
- package/docs/PLAN-0.7-0.9.md +230 -0
- package/docs/PLAN-v3.1-adaptation.md +237 -0
- package/docs/TARGET-/345/217/260/350/264/246/344/273/223/345/272/223v3.1.md +500 -0
- package/docs//350/200/201Mac-SuperAgent/346/224/271/351/200/240/350/256/260/345/275/225-/347/254/254/344/272/214/346/255/245.md +233 -0
- package/lib/blockers.d.ts +45 -0
- package/lib/blockers.js +160 -0
- package/lib/client/api.d.ts +8 -1
- package/lib/client/api.js +1 -0
- package/lib/client/css/base.d.ts +1 -1
- package/lib/client/css/base.js +39 -0
- package/lib/client/css/blockers.d.ts +18 -0
- package/lib/client/css/blockers.js +196 -0
- package/lib/client/css/detail.d.ts +1 -1
- package/lib/client/css/detail.js +107 -4
- package/lib/client/css/overview.d.ts +5 -4
- package/lib/client/css/overview.js +23 -34
- package/lib/client/css/summary.d.ts +13 -0
- package/lib/client/css/summary.js +187 -0
- package/lib/client/format.d.ts +57 -0
- package/lib/client/format.js +96 -0
- package/lib/client/styles.js +3 -1
- package/lib/client/text.js +284 -44
- package/lib/client/view-contract.d.ts +9 -1
- package/lib/client.js +4836 -968
- package/lib/form.d.ts +278 -0
- package/lib/form.js +1153 -0
- package/lib/gap.d.ts +26 -8
- package/lib/gap.js +88 -17
- package/lib/index.js +29 -0
- package/lib/repo.d.ts +60 -0
- package/lib/repo.js +99 -0
- package/lib/rules.d.ts +105 -0
- package/lib/rules.js +227 -0
- package/lib/signals.d.ts +126 -0
- package/lib/signals.js +238 -0
- package/lib/store.d.ts +16 -1
- package/lib/store.js +92 -11
- package/lib/transport.d.ts +7 -1
- package/lib/transport.js +10 -0
- package/lib/types.d.ts +218 -15
- package/lib/types.js +21 -0
- package/package.json +1 -1
package/lib/client/text.js
CHANGED
|
@@ -18,6 +18,7 @@ export const zh = {
|
|
|
18
18
|
title: '工作看板',
|
|
19
19
|
subtitle: '多模块运营看板:先把正在推进的事情看清楚,再决定下一步补什么。',
|
|
20
20
|
dataSource: '数据源',
|
|
21
|
+
dataSourceLine: '数据源:github.com/{repository}',
|
|
21
22
|
eyebrow: '工作看板 · 只读',
|
|
22
23
|
modulePoc: 'POC 运营',
|
|
23
24
|
modulePocHint: '项目阶段、四维结果与缺口清单',
|
|
@@ -53,10 +54,6 @@ export const zh = {
|
|
|
53
54
|
loading: '加载中…',
|
|
54
55
|
loadingDetail: '正在读取项目…',
|
|
55
56
|
// Stats
|
|
56
|
-
statActive: '进行中',
|
|
57
|
-
statG0: '待补 G0',
|
|
58
|
-
statRisk: '有风险',
|
|
59
|
-
statConvertible: '可转化',
|
|
60
57
|
statTotal: '项目总数',
|
|
61
58
|
statClosed: '已关闭',
|
|
62
59
|
// Table
|
|
@@ -91,9 +88,6 @@ export const zh = {
|
|
|
91
88
|
stagePending: '未开始',
|
|
92
89
|
stageUnknown: '阶段未识别',
|
|
93
90
|
// Pending list
|
|
94
|
-
pendingTitle: '待处理',
|
|
95
|
-
pendingEmpty: '没有扫出缺口,继续保持。',
|
|
96
|
-
pendingCount: '{count} 项',
|
|
97
91
|
gapPriority: '优先级 {value}',
|
|
98
92
|
// Detail page
|
|
99
93
|
back: '← 返回',
|
|
@@ -131,6 +125,12 @@ export const zh = {
|
|
|
131
125
|
scenariosLimitHint: '要求 3–5 个',
|
|
132
126
|
risksLimitHint: '上限 3 个',
|
|
133
127
|
emptyField: '(空)',
|
|
128
|
+
// The ledger's `priority` is an English enum (strategic/high/normal). Rendering
|
|
129
|
+
// it raw would read as a code fragment inside a Chinese page.
|
|
130
|
+
priorityStrategic: '战略',
|
|
131
|
+
priorityHigh: '高',
|
|
132
|
+
priorityNormal: '常规',
|
|
133
|
+
priorityUnknown: '未定',
|
|
134
134
|
riskLevel: '等级',
|
|
135
135
|
riskMitigation: '应对',
|
|
136
136
|
round: '第 {round} 轮',
|
|
@@ -195,13 +195,6 @@ export const zh = {
|
|
|
195
195
|
timelineNoFeedback: '无客户反馈',
|
|
196
196
|
timelineActual: '实际结果',
|
|
197
197
|
timelineRoundShort: '第 {round} 轮',
|
|
198
|
-
statTotalProjects: 'POC 总数',
|
|
199
|
-
statTotalNote: '台账内全部项目',
|
|
200
|
-
statG0Passed: 'G0 通过',
|
|
201
|
-
statG0CompleteNote: 'G0 完整',
|
|
202
|
-
statInProgress: '进行中',
|
|
203
|
-
statStoppedNote: '暂停/关闭/取消',
|
|
204
|
-
statAmount: '金额合计',
|
|
205
198
|
statAmountUnit: '万元',
|
|
206
199
|
colOrg: '体系/公司',
|
|
207
200
|
colAmount: '金额',
|
|
@@ -332,6 +325,7 @@ export const zh = {
|
|
|
332
325
|
filterLabel: '筛选',
|
|
333
326
|
filterAll: '全部',
|
|
334
327
|
filterSystem: '体系',
|
|
328
|
+
filterCompany: '公司',
|
|
335
329
|
filterStage: '阶段',
|
|
336
330
|
filterStatus: '状态',
|
|
337
331
|
filterType: '类型',
|
|
@@ -366,13 +360,114 @@ export const zh = {
|
|
|
366
360
|
tableProgressCell: '{date} · {count} 次',
|
|
367
361
|
tableStageSince: '{days} 天',
|
|
368
362
|
tableSortByThis: '按此列排序',
|
|
369
|
-
pendingGrouped: '按规则分组',
|
|
370
|
-
pendingUngrouped: '平铺列表',
|
|
371
|
-
pendingRuleCount: '{count} 个项目命中',
|
|
372
363
|
pendingExpand: '展开',
|
|
373
364
|
pendingCollapse: '收起',
|
|
374
|
-
|
|
375
|
-
|
|
365
|
+
// ---------- 0.7 · 阻障(统一口径) ----------
|
|
366
|
+
blockerTitle: '阻障',
|
|
367
|
+
blockerSubtitle: '卡住的地方,五类来源合在一起看。',
|
|
368
|
+
blockerCount: '{count} 项',
|
|
369
|
+
blockerProjectsNote: '{blocked} / {total} 个项目有阻障',
|
|
370
|
+
blockerAll: '全部',
|
|
371
|
+
blockerSourceGap: '缺口规则',
|
|
372
|
+
blockerSourceStalled: '阶段停滞',
|
|
373
|
+
blockerSourceMissingAmount: '未填金额',
|
|
374
|
+
blockerSourceNoProgress: '无进展记录',
|
|
375
|
+
blockerSourceNoStageSince: '缺阶段起始日',
|
|
376
|
+
blockerEmpty: '没有扫出阻障,继续保持。',
|
|
377
|
+
blockerEmptyFiltered: '当前筛选下没有阻障。',
|
|
378
|
+
blockerStalledCopy: '已在当前阶段停留 {days} 天(阈值 {stallDays} 天),没有任何推进。',
|
|
379
|
+
blockerMissingAmountCopy: '没有填金额,无法排序、估算,也无法判断是否触及大额规则。',
|
|
380
|
+
blockerNoProgressCopy: '一条进展记录都没有:这个项目推进过没有,说不清。',
|
|
381
|
+
blockerNoStageSinceCopy: '没有填进入阶段的时间,停滞天数无法计算。',
|
|
382
|
+
blockerMoreProjects: '还有 {count} 个项目',
|
|
383
|
+
blockerOpen: '查看',
|
|
384
|
+
blockerLegendHint: '点任意一类只看它,再点一次取消。',
|
|
385
|
+
// ---------- 0.7 · 阶段感知详情页 ----------
|
|
386
|
+
dtStageSkeleton: '当前阶段视图',
|
|
387
|
+
dtStageG0Title: 'G0 工作台',
|
|
388
|
+
dtStageG0Copy: '先把这个项目值不值得做讲清楚,再谈计划与进展。',
|
|
389
|
+
dtStageG0Next: '五项必填齐了、评审通过后,才进入 G1 方案设计。',
|
|
390
|
+
dtStageG1Title: 'G1 方案设计',
|
|
391
|
+
dtStageG1Copy: '怎么赢:痛点、指标、场景、优势,还有 G1 结论。',
|
|
392
|
+
dtStageG1Next: 'G1 通过并确认前置条件就绪后,进入 G2 方案验证。',
|
|
393
|
+
dtStageG2Title: 'G2 方案验证',
|
|
394
|
+
dtStageG2Copy: '前置条件是否就绪,验证过程产生了哪些进展与证据。',
|
|
395
|
+
dtStageG2Next: 'G2 Ready 且验证有证据后,进入 G3 结果验证。',
|
|
396
|
+
dtStageG3Title: 'G3 结果验证',
|
|
397
|
+
dtStageG3Copy: '证据链与客户认可:证明了什么,客户承认了什么。',
|
|
398
|
+
dtStageG3Next: 'G3-2 已确认后,进入 G4 结果转化。',
|
|
399
|
+
dtStageG4Title: 'G4 结果转化',
|
|
400
|
+
dtStageG4Copy: '四维结论与下一步里程碑:价值做出来了,要把它落下来。',
|
|
401
|
+
dtStageG4Next: '里程碑有了负责人与截止日,才算真正完成。',
|
|
402
|
+
dtStageClosedTitle: '已关闭',
|
|
403
|
+
dtStageClosedCopy: '归档视图:结论与四维结果,进展流留作复盘。',
|
|
404
|
+
dtStageUnknownTitle: '阶段未识别',
|
|
405
|
+
dtStageUnknownCopy: '台账里的阶段值无法识别,按全量顺序展示。',
|
|
406
|
+
dtStageDone: '本阶段已记录完成',
|
|
407
|
+
dtStagePending: '本阶段还有待补项',
|
|
408
|
+
dtOtherSections: '其他区块',
|
|
409
|
+
dtOtherSectionsHint: '全部字段都还在,只是按当前阶段排到了后面。',
|
|
410
|
+
// ---------- 0.7 · 工作清单(空态改成可执行) ----------
|
|
411
|
+
worklistTitle: '待补清单',
|
|
412
|
+
worklistEmpty: '这项已经齐了。',
|
|
413
|
+
worklistG0Intro: '补齐下面 {count} 项,G0 才算完整。',
|
|
414
|
+
worklistG0Done: '五项必填已齐,可以推进 G0 评审。',
|
|
415
|
+
worklistG0Field: '补 {field}',
|
|
416
|
+
worklistG0Hint: '在台账里补完后点刷新;也可以导出收集表单交给组员填。',
|
|
417
|
+
worklistNoProgressIntro: '还没有第一条进展记录。一次进展至少要写清目标、实际结果和下一步。',
|
|
418
|
+
worklistNoProgressAction: '补第一条进展',
|
|
419
|
+
worklistNoPlanIntro: '计划还是空的:没有成功指标,后面无法验收。',
|
|
420
|
+
worklistNoPlanAction: '补计划(指标 / 场景 / 风险)',
|
|
421
|
+
worklistNoOutcomeIntro: '结论还没写:做成了什么、客户认可什么、下一步做什么。',
|
|
422
|
+
worklistNoOutcomeAction: '补结论',
|
|
423
|
+
worklistMissingAmountIntro: '没有填金额,这个项目在预算视图里会缺席。',
|
|
424
|
+
worklistMissingAmountAction: '补金额',
|
|
425
|
+
worklistMissingStageSinceIntro: '没有填进入阶段的时间,停滞天数算不出来。',
|
|
426
|
+
worklistMissingStageSinceAction: '补阶段起始日',
|
|
427
|
+
worklistFixAll: '共 {count} 项待补',
|
|
428
|
+
worklistDone: '没有待补项,继续保持。',
|
|
429
|
+
// ---------- 0.8 · KPI 顶条 ----------
|
|
430
|
+
kpiTitle: '整体情况',
|
|
431
|
+
kpiTotal: '项目总数',
|
|
432
|
+
kpiActive: '进行中',
|
|
433
|
+
kpiBudget: '预算合计',
|
|
434
|
+
kpiBlocked: '有阻障',
|
|
435
|
+
kpiG0Passed: 'G0 已通过',
|
|
436
|
+
kpiStageBreakdown: '各阶段',
|
|
437
|
+
kpiBlockedNote: '{count} 个项目',
|
|
438
|
+
kpiClickHint: '点任意一项按该条件筛选',
|
|
439
|
+
kpiAllNote: '全部 {count} 个项目',
|
|
440
|
+
// ---------- 0.8 · 预算面板 ----------
|
|
441
|
+
budgetTitle: '预算',
|
|
442
|
+
budgetNote: '按评审状态拆分',
|
|
443
|
+
budgetTotal: '预算合计',
|
|
444
|
+
budgetApproved: 'G0 已通过',
|
|
445
|
+
budgetPending: '待评审',
|
|
446
|
+
budgetUnset: '未填金额',
|
|
447
|
+
budgetApprovedNote: '{count} 个项目 · {amount} 万',
|
|
448
|
+
budgetPendingNote: '{count} 个项目 · {amount} 万',
|
|
449
|
+
budgetUnsetNote: '{count} 个项目',
|
|
450
|
+
budgetByOrg: '按体系',
|
|
451
|
+
budgetConcentration: '集中度',
|
|
452
|
+
budgetConcentrationCopy: '最大单项目占 {share}%',
|
|
453
|
+
budgetEmpty: '台账里还没有金额数据。',
|
|
454
|
+
budgetUnsetWarning: '{count} 个项目没有金额,预算合计偏低。',
|
|
455
|
+
// ---------- 0.8 · 阶段内完成度 ----------
|
|
456
|
+
stageProgressLabel: '阶段内完成',
|
|
457
|
+
stageProgressNote: '{done} / {total} 已完成',
|
|
458
|
+
stageNoData: '本阶段没有项目',
|
|
459
|
+
// ---------- 0.8 · 基本信息 ----------
|
|
460
|
+
dtBasicTitle: '基本信息',
|
|
461
|
+
dtCustomerName: '客户名',
|
|
462
|
+
dtCustomerSystem: '体系',
|
|
463
|
+
dtCustomerCompany: '客户公司',
|
|
464
|
+
dtCustomerDepartment: '部门',
|
|
465
|
+
dtCustomerTech: '客户技术人',
|
|
466
|
+
dtCustomerSponsor: '客户业务决策人',
|
|
467
|
+
dtBasicDecisionChain: '决策链',
|
|
468
|
+
dtBasicDecisionChainNone: '还没有写清谁拍板、按什么流程走。',
|
|
469
|
+
dtBasicPostPoc: '测后决策',
|
|
470
|
+
dtBasicPostPocNone: '还没有写清测完之后客户会做什么决定。',
|
|
376
471
|
// ---------- 0.3 · 详情页 ----------
|
|
377
472
|
dtRailTitle: '项目档案',
|
|
378
473
|
dtStageSection: '阶段',
|
|
@@ -418,16 +513,42 @@ export const zh = {
|
|
|
418
513
|
dtG0Unreviewed: '还没有评审结论',
|
|
419
514
|
dtPlanTitle: '计划(G1 / G2)',
|
|
420
515
|
dtPlanCriteria: '成功指标',
|
|
421
|
-
|
|
516
|
+
dtPlanCriteriaStatus: '状态',
|
|
517
|
+
dtPlanScenarioGoal: '目标',
|
|
518
|
+
dtPlanScenarioEvidence: '{count} 项证据',
|
|
519
|
+
dtProgressCountLabel: '{count} 条',
|
|
520
|
+
dtPlanScenarioDetail: '详情',
|
|
521
|
+
dtScenarioBack: '返回总览',
|
|
522
|
+
dtScenarioTitle: '场景详情',
|
|
523
|
+
dtScenarioGoal: '成功目标',
|
|
524
|
+
dtScenarioEvidence: '证据',
|
|
525
|
+
dtScenarioEvidenceNone: '这个场景还没有任何证据。没有证据的场景,在任何讨论里都等于没做过。',
|
|
526
|
+
dtScenarioCustomer: '客户反馈',
|
|
527
|
+
dtScenarioSyncedWith: '同步对象',
|
|
528
|
+
dtScenarioFeedbackEmpty: '还没有记录客户反馈。客户怎么说,比我们怎么测更重要。',
|
|
529
|
+
dtScenarioGate3: 'G3 判定',
|
|
530
|
+
dtScenarioLinked: '关联进展',
|
|
531
|
+
dtScenarioLinkedNone: '还没有进展关联到这个场景。新增进展时用 scenario_ids 引用它。',
|
|
532
|
+
dtScenarioNotFound: '找不到这个场景',
|
|
533
|
+
dtStatusProven: '已证明',
|
|
534
|
+
dtStatusAwaiting: '待客户确认',
|
|
535
|
+
dtStatusNoEvidence: '无证据',
|
|
536
|
+
dtStatusNotStarted: '未开始',
|
|
537
|
+
dtCritProven: '已达成',
|
|
538
|
+
dtCritPartial: '部分达成',
|
|
539
|
+
dtCritFailed: '未达成',
|
|
540
|
+
dtCritUnverified: '未验证',
|
|
541
|
+
dtCriteriaStatusNone: '未验证',
|
|
542
|
+
dtPlanCriteriaNone: '还没有成功指标。至少写 2 项可验收的指标,否则 POC 结束后无法判定成没成。',
|
|
422
543
|
dtPlanCriteriaCount: '{count} 项(要求 2–3)',
|
|
423
544
|
dtPlanMetric: '指标',
|
|
424
545
|
dtPlanBaseline: '基线',
|
|
425
546
|
dtPlanTarget: '目标',
|
|
426
547
|
dtPlanScenarios: '验证场景',
|
|
427
|
-
dtPlanScenariosNone: '
|
|
548
|
+
dtPlanScenariosNone: '还没有验证场景。写 3–5 个具体场景,每个都要能对应到证据。',
|
|
428
549
|
dtPlanScenariosCount: '{count} 个(要求 3–5)',
|
|
429
550
|
dtPlanRisks: '风险',
|
|
430
|
-
dtPlanRisksNone: '
|
|
551
|
+
dtPlanRisksNone: '没有登记风险。至少写下最可能让这次 POC 失败的那一条。',
|
|
431
552
|
dtPlanRisksCount: '{count} 个(上限 3)',
|
|
432
553
|
dtPlanMitigation: '应对',
|
|
433
554
|
dtPlanPain: '客户痛点',
|
|
@@ -474,6 +595,7 @@ export const en = {
|
|
|
474
595
|
title: 'Work Dashboard',
|
|
475
596
|
subtitle: 'A multi-module operations dashboard: see what is actually moving before deciding what to fix next.',
|
|
476
597
|
dataSource: 'Data source',
|
|
598
|
+
dataSourceLine: 'Source: github.com/{repository}',
|
|
477
599
|
eyebrow: 'Work Dashboard · read-only',
|
|
478
600
|
modulePoc: 'POC Operations',
|
|
479
601
|
modulePocHint: 'Stage, four dimensions and gaps',
|
|
@@ -506,10 +628,6 @@ export const en = {
|
|
|
506
628
|
failureHint: 'Check the network and gh login, then retry.',
|
|
507
629
|
loading: 'Loading…',
|
|
508
630
|
loadingDetail: 'Reading the project…',
|
|
509
|
-
statActive: 'Active',
|
|
510
|
-
statG0: 'Missing G0',
|
|
511
|
-
statRisk: 'At risk',
|
|
512
|
-
statConvertible: 'Convertible',
|
|
513
631
|
statTotal: 'Total',
|
|
514
632
|
statClosed: 'Closed',
|
|
515
633
|
tableTitle: 'Projects',
|
|
@@ -540,9 +658,6 @@ export const en = {
|
|
|
540
658
|
stageCurrent: 'Current',
|
|
541
659
|
stagePending: 'Not started',
|
|
542
660
|
stageUnknown: 'Unrecognized stage',
|
|
543
|
-
pendingTitle: 'Pending',
|
|
544
|
-
pendingEmpty: 'No gaps found. Keep it up.',
|
|
545
|
-
pendingCount: '{count} items',
|
|
546
661
|
gapPriority: 'Priority {value}',
|
|
547
662
|
back: '← Back',
|
|
548
663
|
detailIdentity: '{pocId} · {stage} · {org}',
|
|
@@ -578,6 +693,10 @@ export const en = {
|
|
|
578
693
|
scenariosLimitHint: '3–5 required',
|
|
579
694
|
risksLimitHint: 'At most 3',
|
|
580
695
|
emptyField: '(empty)',
|
|
696
|
+
priorityStrategic: 'Strategic',
|
|
697
|
+
priorityHigh: 'High',
|
|
698
|
+
priorityNormal: 'Normal',
|
|
699
|
+
priorityUnknown: 'Unset',
|
|
581
700
|
riskLevel: 'Level',
|
|
582
701
|
riskMitigation: 'Mitigation',
|
|
583
702
|
round: 'Round {round}',
|
|
@@ -640,13 +759,6 @@ export const en = {
|
|
|
640
759
|
timelineNoFeedback: 'No customer feedback',
|
|
641
760
|
timelineActual: 'Actual result',
|
|
642
761
|
timelineRoundShort: 'Round {round}',
|
|
643
|
-
statTotalProjects: 'POCs',
|
|
644
|
-
statTotalNote: 'All projects in the ledger',
|
|
645
|
-
statG0Passed: 'G0 passed',
|
|
646
|
-
statG0CompleteNote: 'G0 complete',
|
|
647
|
-
statInProgress: 'In progress',
|
|
648
|
-
statStoppedNote: 'Paused/closed/cancelled',
|
|
649
|
-
statAmount: 'Total amount',
|
|
650
762
|
statAmountUnit: '10k CNY',
|
|
651
763
|
colOrg: 'System / company',
|
|
652
764
|
colAmount: 'Amount',
|
|
@@ -778,6 +890,7 @@ export const en = {
|
|
|
778
890
|
filterLabel: 'Filters',
|
|
779
891
|
filterAll: 'All',
|
|
780
892
|
filterSystem: 'System',
|
|
893
|
+
filterCompany: 'Company',
|
|
781
894
|
filterStage: 'Stage',
|
|
782
895
|
filterStatus: 'Status',
|
|
783
896
|
filterType: 'Type',
|
|
@@ -812,13 +925,114 @@ export const en = {
|
|
|
812
925
|
tableProgressCell: '{date} · {count} entries',
|
|
813
926
|
tableStageSince: '{days} days',
|
|
814
927
|
tableSortByThis: 'Sort by this column',
|
|
815
|
-
pendingGrouped: 'Group by rule',
|
|
816
|
-
pendingUngrouped: 'Flat list',
|
|
817
|
-
pendingRuleCount: '{count} project(s) hit',
|
|
818
928
|
pendingExpand: 'Expand',
|
|
819
929
|
pendingCollapse: 'Collapse',
|
|
820
|
-
|
|
821
|
-
|
|
930
|
+
// ---------- 0.7 · blockers (one story) ----------
|
|
931
|
+
blockerTitle: 'Blockers',
|
|
932
|
+
blockerSubtitle: 'Every way a project is stuck, from five sources in one list.',
|
|
933
|
+
blockerCount: '{count} item(s)',
|
|
934
|
+
blockerProjectsNote: '{blocked} of {total} project(s) blocked',
|
|
935
|
+
blockerAll: 'All',
|
|
936
|
+
blockerSourceGap: 'Gap rules',
|
|
937
|
+
blockerSourceStalled: 'Stalled',
|
|
938
|
+
blockerSourceMissingAmount: 'No amount',
|
|
939
|
+
blockerSourceNoProgress: 'No progress',
|
|
940
|
+
blockerSourceNoStageSince: 'No stage date',
|
|
941
|
+
blockerEmpty: 'No blockers found. Keep it up.',
|
|
942
|
+
blockerEmptyFiltered: 'No blockers under the current filters.',
|
|
943
|
+
blockerStalledCopy: 'In stage for {days} days (threshold {stallDays}) with no movement.',
|
|
944
|
+
blockerMissingAmountCopy: 'No amount recorded: it cannot be ranked, estimated, or checked against the large-amount rule.',
|
|
945
|
+
blockerNoProgressCopy: 'Not a single progress entry, so whether this project moved at all is unknown.',
|
|
946
|
+
blockerNoStageSinceCopy: 'No stage start date, so the stall clock never started.',
|
|
947
|
+
blockerMoreProjects: '{count} more project(s)',
|
|
948
|
+
blockerOpen: 'View',
|
|
949
|
+
blockerLegendHint: 'Pick a source to see only it; pick it again to clear.',
|
|
950
|
+
// ---------- 0.7 · stage-aware detail ----------
|
|
951
|
+
dtStageSkeleton: 'Stage view',
|
|
952
|
+
dtStageG0Title: 'G0 workbench',
|
|
953
|
+
dtStageG0Copy: 'Settle whether this project is worth doing before plan and progress.',
|
|
954
|
+
dtStageG0Next: 'Once the five requirements are present and the review passes, G1 design starts.',
|
|
955
|
+
dtStageG1Title: 'G1 design',
|
|
956
|
+
dtStageG1Copy: 'How to win: pain, metrics, scenarios, edge, and the G1 conclusion.',
|
|
957
|
+
dtStageG1Next: 'After G1 passes and the prerequisites are ready, G2 validation starts.',
|
|
958
|
+
dtStageG2Title: 'G2 validation',
|
|
959
|
+
dtStageG2Copy: 'Whether the prerequisites are ready, and which progress and evidence the run produced.',
|
|
960
|
+
dtStageG2Next: 'Once G2 is Ready with evidence, G3 result validation starts.',
|
|
961
|
+
dtStageG3Title: 'G3 result validation',
|
|
962
|
+
dtStageG3Copy: 'The proof chain: what we proved, and what the customer accepted.',
|
|
963
|
+
dtStageG3Next: 'Once G3-2 is confirmed, G4 conversion starts.',
|
|
964
|
+
dtStageG4Title: 'G4 conversion',
|
|
965
|
+
dtStageG4Copy: 'The four dimensions and the next milestone: value exists, now bank it.',
|
|
966
|
+
dtStageG4Next: 'It is only complete with a milestone owner and a deadline.',
|
|
967
|
+
dtStageClosedTitle: 'Closed',
|
|
968
|
+
dtStageClosedCopy: 'Archive view: the conclusion and the four dimensions, with the stream for review.',
|
|
969
|
+
dtStageUnknownTitle: 'Unrecognized stage',
|
|
970
|
+
dtStageUnknownCopy: 'The ledger value is not a known stage, so every section keeps its full order.',
|
|
971
|
+
dtStageDone: 'This stage is recorded as done',
|
|
972
|
+
dtStagePending: 'This stage still has gaps',
|
|
973
|
+
dtOtherSections: 'Other sections',
|
|
974
|
+
dtOtherSectionsHint: 'Every field is still here; the current stage just moved them down.',
|
|
975
|
+
// ---------- 0.7 · worklist (empty states that say what to do) ----------
|
|
976
|
+
worklistTitle: 'To fill in',
|
|
977
|
+
worklistEmpty: 'This one is complete.',
|
|
978
|
+
worklistG0Intro: 'Fill in the {count} item(s) below to make G0 complete.',
|
|
979
|
+
worklistG0Done: 'All five requirements are present; G0 review can proceed.',
|
|
980
|
+
worklistG0Field: 'Add {field}',
|
|
981
|
+
worklistG0Hint: 'Fill it in the ledger, then refresh; or export the collection form for a colleague.',
|
|
982
|
+
worklistNoProgressIntro: 'No progress entry yet. One entry needs a goal, an actual result and a next step.',
|
|
983
|
+
worklistNoProgressAction: 'Add the first entry',
|
|
984
|
+
worklistNoPlanIntro: 'The plan is empty: without success criteria nothing can be accepted later.',
|
|
985
|
+
worklistNoPlanAction: 'Add the plan (criteria / scenarios / risks)',
|
|
986
|
+
worklistNoOutcomeIntro: 'No conclusion yet: what was proved, what the customer accepted, what comes next.',
|
|
987
|
+
worklistNoOutcomeAction: 'Add the conclusion',
|
|
988
|
+
worklistMissingAmountIntro: 'No amount, so this project is missing from the budget view.',
|
|
989
|
+
worklistMissingAmountAction: 'Add the amount',
|
|
990
|
+
worklistMissingStageSinceIntro: 'No stage start date, so the stall clock cannot run.',
|
|
991
|
+
worklistMissingStageSinceAction: 'Add the stage start date',
|
|
992
|
+
worklistFixAll: '{count} item(s) to fill in',
|
|
993
|
+
worklistDone: 'Nothing to fill in. Keep it up.',
|
|
994
|
+
// ---------- 0.8 · KPI strip ----------
|
|
995
|
+
kpiTitle: 'At a glance',
|
|
996
|
+
kpiTotal: 'Projects',
|
|
997
|
+
kpiActive: 'In progress',
|
|
998
|
+
kpiBudget: 'Budget',
|
|
999
|
+
kpiBlocked: 'Blocked',
|
|
1000
|
+
kpiG0Passed: 'G0 passed',
|
|
1001
|
+
kpiStageBreakdown: 'By stage',
|
|
1002
|
+
kpiBlockedNote: '{count} project(s)',
|
|
1003
|
+
kpiClickHint: 'Pick a figure to filter by it',
|
|
1004
|
+
kpiAllNote: 'All {count} project(s)',
|
|
1005
|
+
// ---------- 0.8 · budget panel ----------
|
|
1006
|
+
budgetTitle: 'Budget',
|
|
1007
|
+
budgetNote: 'Split by review state',
|
|
1008
|
+
budgetTotal: 'Total budget',
|
|
1009
|
+
budgetApproved: 'G0 passed',
|
|
1010
|
+
budgetPending: 'Awaiting review',
|
|
1011
|
+
budgetUnset: 'No amount',
|
|
1012
|
+
budgetApprovedNote: '{count} project(s) · {amount}',
|
|
1013
|
+
budgetPendingNote: '{count} project(s) · {amount}',
|
|
1014
|
+
budgetUnsetNote: '{count} project(s)',
|
|
1015
|
+
budgetByOrg: 'By system',
|
|
1016
|
+
budgetConcentration: 'Concentration',
|
|
1017
|
+
budgetConcentrationCopy: 'Largest project is {share}%',
|
|
1018
|
+
budgetEmpty: 'No amount recorded in the ledger yet.',
|
|
1019
|
+
budgetUnsetWarning: '{count} project(s) have no amount, so the total understates the budget.',
|
|
1020
|
+
// ---------- 0.8 · in-stage completion ----------
|
|
1021
|
+
stageProgressLabel: 'Stage progress',
|
|
1022
|
+
stageProgressNote: '{done} of {total} done',
|
|
1023
|
+
stageNoData: 'No project at this stage',
|
|
1024
|
+
// ---------- 0.8 · basic info ----------
|
|
1025
|
+
dtBasicTitle: 'Basic information',
|
|
1026
|
+
dtCustomerName: 'Customer',
|
|
1027
|
+
dtCustomerSystem: 'System',
|
|
1028
|
+
dtCustomerCompany: 'Company',
|
|
1029
|
+
dtCustomerDepartment: 'Department',
|
|
1030
|
+
dtCustomerTech: 'Customer tech contact',
|
|
1031
|
+
dtCustomerSponsor: 'Customer business sponsor',
|
|
1032
|
+
dtBasicDecisionChain: 'Decision chain',
|
|
1033
|
+
dtBasicDecisionChainNone: 'Who signs off, and by what process, is not written down.',
|
|
1034
|
+
dtBasicPostPoc: 'Post-POC decision',
|
|
1035
|
+
dtBasicPostPocNone: 'What the customer does after the POC is not written down.',
|
|
822
1036
|
// ---------- 0.3 · detail ----------
|
|
823
1037
|
dtRailTitle: 'Project file',
|
|
824
1038
|
dtStageSection: 'Stage',
|
|
@@ -864,16 +1078,42 @@ export const en = {
|
|
|
864
1078
|
dtG0Unreviewed: 'No review conclusion yet',
|
|
865
1079
|
dtPlanTitle: 'Plan (G1 / G2)',
|
|
866
1080
|
dtPlanCriteria: 'Success criteria',
|
|
867
|
-
|
|
1081
|
+
dtPlanCriteriaStatus: 'Status',
|
|
1082
|
+
dtPlanScenarioGoal: 'Goal',
|
|
1083
|
+
dtPlanScenarioEvidence: '{count} evidence',
|
|
1084
|
+
dtProgressCountLabel: '{count} entries',
|
|
1085
|
+
dtPlanScenarioDetail: 'Detail',
|
|
1086
|
+
dtScenarioBack: 'Back to overview',
|
|
1087
|
+
dtScenarioTitle: 'Scenario detail',
|
|
1088
|
+
dtScenarioGoal: 'Success goal',
|
|
1089
|
+
dtScenarioEvidence: 'Evidence',
|
|
1090
|
+
dtScenarioEvidenceNone: 'No evidence for this scenario yet. An unbacked scenario counts as not done.',
|
|
1091
|
+
dtScenarioCustomer: 'Customer feedback',
|
|
1092
|
+
dtScenarioSyncedWith: 'Synced with',
|
|
1093
|
+
dtScenarioFeedbackEmpty: 'No customer feedback yet. What the customer says matters more than what we tested.',
|
|
1094
|
+
dtScenarioGate3: 'G3 verdict',
|
|
1095
|
+
dtScenarioLinked: 'Linked progress',
|
|
1096
|
+
dtScenarioLinkedNone: 'No progress entry references this scenario yet. Cite its id in scenario_ids.',
|
|
1097
|
+
dtScenarioNotFound: 'Scenario not found',
|
|
1098
|
+
dtStatusProven: 'Proven',
|
|
1099
|
+
dtStatusAwaiting: 'Awaiting customer',
|
|
1100
|
+
dtStatusNoEvidence: 'No evidence',
|
|
1101
|
+
dtStatusNotStarted: 'Not started',
|
|
1102
|
+
dtCritProven: 'Met',
|
|
1103
|
+
dtCritPartial: 'Partially met',
|
|
1104
|
+
dtCritFailed: 'Not met',
|
|
1105
|
+
dtCritUnverified: 'Unverified',
|
|
1106
|
+
dtCriteriaStatusNone: 'Unverified',
|
|
1107
|
+
dtPlanCriteriaNone: 'No success criterion yet. Write at least 2 so the pilot can be judged when it ends.',
|
|
868
1108
|
dtPlanCriteriaCount: '{count} (2–3 required)',
|
|
869
1109
|
dtPlanMetric: 'Metric',
|
|
870
1110
|
dtPlanBaseline: 'Baseline',
|
|
871
1111
|
dtPlanTarget: 'Target',
|
|
872
1112
|
dtPlanScenarios: 'Validation scenarios',
|
|
873
|
-
dtPlanScenariosNone: 'No validation scenario
|
|
1113
|
+
dtPlanScenariosNone: 'No validation scenario yet. Write 3–5 concrete ones, each able to point at evidence.',
|
|
874
1114
|
dtPlanScenariosCount: '{count} (3–5 required)',
|
|
875
1115
|
dtPlanRisks: 'Risks',
|
|
876
|
-
dtPlanRisksNone: 'No risk registered',
|
|
1116
|
+
dtPlanRisksNone: 'No risk registered. Name at least the one most likely to sink this pilot.',
|
|
877
1117
|
dtPlanRisksCount: '{count} (max 3)',
|
|
878
1118
|
dtPlanMitigation: 'Mitigation',
|
|
879
1119
|
dtPlanPain: 'Customer pain',
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* re-filters: if the cards say "12 projects" and the table says "12 projects",
|
|
11
11
|
* that has to be the same twelve, computed once.
|
|
12
12
|
*/
|
|
13
|
-
import type { GapItem, PortfolioAnalysis, ProjectDetail, ProjectSummary, RiskBoard, GlobalTimeline, Snapshot, SortKey, StageId, ViewMode } from '../types.js';
|
|
13
|
+
import type { BlockerRow, GapItem, PortfolioAnalysis, ProjectDetail, ProjectSummary, RiskBoard, GlobalTimeline, Snapshot, SortKey, StageId, ViewMode } from '../types.js';
|
|
14
14
|
import type { Translate } from './text.js';
|
|
15
15
|
/** The filter dimensions the toolbar exposes. `null` means "not filtered". */
|
|
16
16
|
export interface ActiveFilters {
|
|
@@ -77,6 +77,14 @@ export interface DetailProps {
|
|
|
77
77
|
detail: ProjectDetail;
|
|
78
78
|
/** Gaps of this project only. */
|
|
79
79
|
gaps: GapItem[];
|
|
80
|
+
/**
|
|
81
|
+
* This project's blocker rows, taken from the portfolio board.
|
|
82
|
+
*
|
|
83
|
+
* Passed in rather than recomputed so the detail worklist and the overview
|
|
84
|
+
* panel can never disagree about what a project is missing. `null` when the
|
|
85
|
+
* caller has no board (a detail opened before the first snapshot).
|
|
86
|
+
*/
|
|
87
|
+
blockers: BlockerRow[] | null;
|
|
80
88
|
locale: string;
|
|
81
89
|
t: Translate;
|
|
82
90
|
/** Position within the shell's current list, for the prev/next affordance. */
|