poi-plugin-remodel-assistant 1.2.3-beta.1 → 1.2.3-beta.3
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/assets/main.css +126 -0
- package/i18n/en-US.json +39 -1
- package/i18n/ja-JP.json +39 -1
- package/i18n/zh-CN.json +39 -1
- package/i18n/zh-TW.json +39 -1
- package/package.json +1 -1
- package/views/app/item-info-area.js +5 -2
- package/views/new-interface/app/new-interface-area.js +36 -3
- package/views/new-interface/data/modals/problem-diagnostics-modal.js +319 -0
- package/views/new-interface/equipment/components/equipment-detail.js +5 -1
- package/views/new-interface/equipment/components/equipment-list.js +49 -32
- package/views/new-interface/equipment/components/equipment-workspace.js +28 -7
- package/views/new-interface/equipment/domain/inventory-domain.js +8 -1
- package/views/new-interface/equipment/model/equipment-workspace-model.js +6 -9
- package/views/new-interface/plan/domain/current-start-assignment-domain.js +2 -1
- package/views/new-interface/workbench/components/workbench-page.js +0 -1
- package/views/new-interface/workbench/model/current-upgrade-cost-model.js +55 -2
- package/views/shared/domain/data-package-domain.js +12 -2
- package/views/shared/improvement-cost-cache.js +21 -2
- package/views/shared/native-file-dialog.js +34 -2
- package/views/shared/problem-diagnostics.js +521 -0
- package/views/shared/runtime-data-package.js +11 -2
- package/views/shared/selectors.js +12 -3
- package/views/shared/ui-preferences.js +80 -1
package/assets/main.css
CHANGED
|
@@ -11063,6 +11063,12 @@ body.decision-modal-is-dragging * {
|
|
|
11063
11063
|
gap: 6px;
|
|
11064
11064
|
}
|
|
11065
11065
|
|
|
11066
|
+
#item-improvement .decision-equipment-plan-ownership {
|
|
11067
|
+
display: flex;
|
|
11068
|
+
align-items: center;
|
|
11069
|
+
margin-bottom: 8px;
|
|
11070
|
+
}
|
|
11071
|
+
|
|
11066
11072
|
#item-improvement .decision-equipment-plan-row {
|
|
11067
11073
|
display: grid;
|
|
11068
11074
|
grid-template-columns: minmax(96px, auto) minmax(0, 1fr) auto;
|
|
@@ -11888,3 +11894,123 @@ body.decision-modal-is-dragging * {
|
|
|
11888
11894
|
line-height: 1.2;
|
|
11889
11895
|
text-align: center;
|
|
11890
11896
|
}
|
|
11897
|
+
|
|
11898
|
+
/* Problem diagnostics: explicit bundle inventory and one-shot cache recovery. */
|
|
11899
|
+
.decision-problem-diagnostics-modal {
|
|
11900
|
+
display: flex;
|
|
11901
|
+
flex-direction: column;
|
|
11902
|
+
gap: 12px;
|
|
11903
|
+
}
|
|
11904
|
+
|
|
11905
|
+
.decision-diagnostics-section {
|
|
11906
|
+
display: grid;
|
|
11907
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
11908
|
+
align-items: start;
|
|
11909
|
+
gap: 18px;
|
|
11910
|
+
padding: 13px 14px;
|
|
11911
|
+
border: 1px solid rgba(127, 127, 127, 0.24);
|
|
11912
|
+
border-radius: 7px;
|
|
11913
|
+
background: rgba(127, 127, 127, 0.045);
|
|
11914
|
+
}
|
|
11915
|
+
|
|
11916
|
+
.decision-diagnostics-section.is-danger {
|
|
11917
|
+
border-color: rgba(169, 68, 66, 0.42);
|
|
11918
|
+
background: rgba(169, 68, 66, 0.055);
|
|
11919
|
+
}
|
|
11920
|
+
|
|
11921
|
+
.decision-diagnostics-section-copy {
|
|
11922
|
+
min-width: 0;
|
|
11923
|
+
}
|
|
11924
|
+
|
|
11925
|
+
.decision-diagnostics-section h4 {
|
|
11926
|
+
margin: 0 0 5px;
|
|
11927
|
+
font-weight: 700;
|
|
11928
|
+
}
|
|
11929
|
+
|
|
11930
|
+
.decision-diagnostics-section p {
|
|
11931
|
+
margin: 0 0 6px;
|
|
11932
|
+
line-height: 1.5;
|
|
11933
|
+
}
|
|
11934
|
+
|
|
11935
|
+
.decision-diagnostics-warning {
|
|
11936
|
+
font-size: var(--improvement-font-body);
|
|
11937
|
+
}
|
|
11938
|
+
|
|
11939
|
+
.decision-diagnostics-file-list {
|
|
11940
|
+
max-height: 260px;
|
|
11941
|
+
margin: 7px 0 0;
|
|
11942
|
+
padding: 0;
|
|
11943
|
+
overflow-y: auto;
|
|
11944
|
+
list-style: none;
|
|
11945
|
+
}
|
|
11946
|
+
|
|
11947
|
+
.decision-diagnostics-file-list li {
|
|
11948
|
+
display: grid;
|
|
11949
|
+
grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
|
|
11950
|
+
gap: 10px;
|
|
11951
|
+
padding: 5px 0;
|
|
11952
|
+
border-bottom: 1px solid rgba(127, 127, 127, 0.16);
|
|
11953
|
+
}
|
|
11954
|
+
|
|
11955
|
+
.decision-diagnostics-file-list code,
|
|
11956
|
+
.decision-diagnostics-file-list span {
|
|
11957
|
+
min-width: 0;
|
|
11958
|
+
overflow-wrap: anywhere;
|
|
11959
|
+
}
|
|
11960
|
+
|
|
11961
|
+
.decision-diagnostics-primary-action {
|
|
11962
|
+
min-width: 200px;
|
|
11963
|
+
}
|
|
11964
|
+
|
|
11965
|
+
.decision-diagnostics-section .btn .glyphicon {
|
|
11966
|
+
margin-right: 6px;
|
|
11967
|
+
}
|
|
11968
|
+
|
|
11969
|
+
.decision-diagnostics-confirm-actions {
|
|
11970
|
+
display: flex;
|
|
11971
|
+
flex-wrap: wrap;
|
|
11972
|
+
justify-content: flex-end;
|
|
11973
|
+
gap: 7px;
|
|
11974
|
+
}
|
|
11975
|
+
|
|
11976
|
+
.decision-problem-diagnostics-dialog {
|
|
11977
|
+
width: calc(100vw - 36px);
|
|
11978
|
+
max-width: 1180px;
|
|
11979
|
+
margin: 18px auto;
|
|
11980
|
+
}
|
|
11981
|
+
|
|
11982
|
+
.decision-problem-diagnostics-dialog .modal-body {
|
|
11983
|
+
max-height: calc(100vh - 168px);
|
|
11984
|
+
overflow-y: auto;
|
|
11985
|
+
}
|
|
11986
|
+
|
|
11987
|
+
@media (max-width: 900px) {
|
|
11988
|
+
.decision-diagnostics-section {
|
|
11989
|
+
grid-template-columns: 1fr;
|
|
11990
|
+
}
|
|
11991
|
+
|
|
11992
|
+
.decision-diagnostics-primary-action,
|
|
11993
|
+
.decision-diagnostics-section > .btn {
|
|
11994
|
+
width: 100%;
|
|
11995
|
+
}
|
|
11996
|
+
|
|
11997
|
+
.decision-diagnostics-confirm-actions {
|
|
11998
|
+
justify-content: stretch;
|
|
11999
|
+
}
|
|
12000
|
+
|
|
12001
|
+
.decision-diagnostics-confirm-actions .btn {
|
|
12002
|
+
flex: 1 1 auto;
|
|
12003
|
+
}
|
|
12004
|
+
}
|
|
12005
|
+
|
|
12006
|
+
@media (max-width: 760px) {
|
|
12007
|
+
.decision-problem-diagnostics-dialog {
|
|
12008
|
+
width: calc(100vw - 12px);
|
|
12009
|
+
margin: 6px auto;
|
|
12010
|
+
}
|
|
12011
|
+
|
|
12012
|
+
.decision-diagnostics-file-list li {
|
|
12013
|
+
grid-template-columns: 1fr;
|
|
12014
|
+
gap: 2px;
|
|
12015
|
+
}
|
|
12016
|
+
}
|
package/i18n/en-US.json
CHANGED
|
@@ -1465,5 +1465,43 @@
|
|
|
1465
1465
|
"app.changelog_1_2_0_help_and_data": "Illustrated Help is included with the active data version and update time, and interface/help language follows Poi i18n settings.",
|
|
1466
1466
|
"app.Data package updated, refreshing decision chain...": "Data package updated. Refreshing decision chain…",
|
|
1467
1467
|
"app.changelog_1_2_3_latent_issue_fixes": "Fixed several latent issues.",
|
|
1468
|
-
"app.changelog_1_2_3_runtime_data_auto_update_fix": "Fixed an issue that could prevent the data package from updating automatically as expected."
|
|
1468
|
+
"app.changelog_1_2_3_runtime_data_auto_update_fix": "Fixed an issue that could prevent the data package from updating automatically as expected.",
|
|
1469
|
+
"app.Diagnostics": "Diagnostics",
|
|
1470
|
+
"diagnostics.All known plugin-owned Poi config keys, including compatibility keys": "All known plugin-owned Poi config keys, including compatibility keys",
|
|
1471
|
+
"diagnostics.Caches cleared. Restarting plugin...": "Caches cleared. Restarting plugin…",
|
|
1472
|
+
"diagnostics.Caches could not be cleared": "Caches could not be cleared.",
|
|
1473
|
+
"diagnostics.Cancel": "Cancel",
|
|
1474
|
+
"diagnostics.Choose save location": "Choose save location",
|
|
1475
|
+
"diagnostics.Clear all caches and restart plugin": "Clear all caches and restart plugin",
|
|
1476
|
+
"diagnostics.Clear caches and restart": "Clear caches and restart",
|
|
1477
|
+
"diagnostics.Clearing caches...": "Clearing caches…",
|
|
1478
|
+
"diagnostics.Clears derived and downloaded caches, then reloads this plugin window. Plans, inventory profiles, and settings are preserved.": "Clears derived and downloaded caches, then reloads this plugin window. Plans, inventory profiles, and settings are preserved.",
|
|
1479
|
+
"diagnostics.Close": "Close",
|
|
1480
|
+
"diagnostics.Confirm clear and restart": "Confirm clear and restart",
|
|
1481
|
+
"diagnostics.Current effective equipment inventory used by the plugin": "Current effective equipment inventory used by the plugin",
|
|
1482
|
+
"diagnostics.Current effective resources used by the plugin": "Current effective resources used by the plugin",
|
|
1483
|
+
"diagnostics.Current effective ship inventory used by the plugin": "Current effective ship inventory used by the plugin",
|
|
1484
|
+
"diagnostics.Current effective useitem inventory used by the plugin": "Current effective useitem inventory used by the plugin",
|
|
1485
|
+
"diagnostics.Current persisted improvement-cost cache": "Current persisted improvement-cost cache",
|
|
1486
|
+
"diagnostics.Diagnostic bundle exported": "Diagnostic bundle exported.",
|
|
1487
|
+
"diagnostics.Diagnostic bundle manifest": "Diagnostic bundle manifest",
|
|
1488
|
+
"diagnostics.Diagnostic bundle saved as %s": "Diagnostic bundle saved as %s",
|
|
1489
|
+
"diagnostics.Export diagnostic bundle": "Export diagnostic bundle",
|
|
1490
|
+
"diagnostics.Exports the inventory and all plugin configuration needed to reproduce a problem.": "Exports the inventory and all plugin configuration needed to reproduce a problem.",
|
|
1491
|
+
"diagnostics.Files included": "Files included",
|
|
1492
|
+
"diagnostics.Improvement-cost cache metadata": "Improvement-cost cache metadata",
|
|
1493
|
+
"diagnostics.Persisted personal profile when present": "Persisted personal profile when present",
|
|
1494
|
+
"diagnostics.Plugin-owned renderer localStorage values such as modal bounds": "Plugin-owned renderer localStorage values such as modal bounds",
|
|
1495
|
+
"diagnostics.Plugin/runtime/data-package identity used for reproduction": "Plugin/runtime/data-package identity used for reproduction",
|
|
1496
|
+
"diagnostics.Previous persisted improvement-cost cache": "Previous persisted improvement-cost cache",
|
|
1497
|
+
"diagnostics.Problem diagnostics": "Problem diagnostics",
|
|
1498
|
+
"diagnostics.Runtime data package status and cache metadata": "Runtime data package status and cache metadata",
|
|
1499
|
+
"diagnostics.Small Poi host config subset consumed by this plugin": "Small Poi host config subset consumed by this plugin",
|
|
1500
|
+
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "The bundle contains inventory and plugin settings. Review it before sharing.",
|
|
1501
|
+
"diagnostics.The diagnostic bundle could not be exported": "The diagnostic bundle could not be exported.",
|
|
1502
|
+
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences",
|
|
1503
|
+
"equipment.Upgrade chain terminal": "Upgrade endpoint",
|
|
1504
|
+
"equipment.Improvement route": "Improvement route",
|
|
1505
|
+
"equipment.Improvement endpoint": "Improvement endpoint",
|
|
1506
|
+
"equipment.Standalone improvement": "Standalone improvement"
|
|
1469
1507
|
}
|
package/i18n/ja-JP.json
CHANGED
|
@@ -1465,5 +1465,43 @@
|
|
|
1465
1465
|
"app.changelog_1_2_0_help_and_data": "図解ヘルプを内蔵し、現在のデータ版と更新時刻を表示します。画面とヘルプの言語は Poi の i18n 設定に連動します。",
|
|
1466
1466
|
"app.Data package updated, refreshing decision chain...": "データパッケージを更新しました。判断チェーンを更新しています…",
|
|
1467
1467
|
"app.changelog_1_2_3_latent_issue_fixes": "いくつかの潜在的な問題を修正しました。",
|
|
1468
|
-
"app.changelog_1_2_3_runtime_data_auto_update_fix": "データパッケージが想定どおり自動更新されないことがある問題を修正しました。"
|
|
1468
|
+
"app.changelog_1_2_3_runtime_data_auto_update_fix": "データパッケージが想定どおり自動更新されないことがある問題を修正しました。",
|
|
1469
|
+
"app.Diagnostics": "診断",
|
|
1470
|
+
"diagnostics.All known plugin-owned Poi config keys, including compatibility keys": "互換キーを含む、このプラグインの既知の Poi 設定一式",
|
|
1471
|
+
"diagnostics.Caches cleared. Restarting plugin...": "キャッシュを消去しました。プラグインを再起動しています…",
|
|
1472
|
+
"diagnostics.Caches could not be cleared": "キャッシュを消去できませんでした。",
|
|
1473
|
+
"diagnostics.Cancel": "キャンセル",
|
|
1474
|
+
"diagnostics.Choose save location": "保存先を選択",
|
|
1475
|
+
"diagnostics.Clear all caches and restart plugin": "全キャッシュを消去してプラグインを再起動",
|
|
1476
|
+
"diagnostics.Clear caches and restart": "キャッシュを消去して再起動",
|
|
1477
|
+
"diagnostics.Clearing caches...": "キャッシュを消去しています…",
|
|
1478
|
+
"diagnostics.Clears derived and downloaded caches, then reloads this plugin window. Plans, inventory profiles, and settings are preserved.": "派生キャッシュとダウンロード済みキャッシュを消去し、このプラグインウィンドウを再読み込みします。計画、所持プロファイル、設定は削除しません。",
|
|
1479
|
+
"diagnostics.Close": "閉じる",
|
|
1480
|
+
"diagnostics.Confirm clear and restart": "消去して再起動する",
|
|
1481
|
+
"diagnostics.Current effective equipment inventory used by the plugin": "プラグインが現在使用している装備所持データ",
|
|
1482
|
+
"diagnostics.Current effective resources used by the plugin": "プラグインが現在使用している資源所持データ",
|
|
1483
|
+
"diagnostics.Current effective ship inventory used by the plugin": "プラグインが現在使用している艦娘所持データ",
|
|
1484
|
+
"diagnostics.Current effective useitem inventory used by the plugin": "プラグインが現在使用しているアイテム所持データ",
|
|
1485
|
+
"diagnostics.Current persisted improvement-cost cache": "現在の永続化改修コストキャッシュ",
|
|
1486
|
+
"diagnostics.Diagnostic bundle exported": "診断パッケージを書き出しました。",
|
|
1487
|
+
"diagnostics.Diagnostic bundle manifest": "診断パッケージのファイル一覧",
|
|
1488
|
+
"diagnostics.Diagnostic bundle saved as %s": "診断パッケージを %s として保存しました",
|
|
1489
|
+
"diagnostics.Export diagnostic bundle": "診断パッケージを書き出す",
|
|
1490
|
+
"diagnostics.Exports the inventory and all plugin configuration needed to reproduce a problem.": "問題の再現に必要な所持データとプラグイン設定をすべて書き出します。",
|
|
1491
|
+
"diagnostics.Files included": "含まれるファイル",
|
|
1492
|
+
"diagnostics.Improvement-cost cache metadata": "改修コストキャッシュ情報",
|
|
1493
|
+
"diagnostics.Persisted personal profile when present": "保存済み個人データ(存在する場合)",
|
|
1494
|
+
"diagnostics.Plugin-owned renderer localStorage values such as modal bounds": "ダイアログサイズなど、プラグイン固有のローカル画面設定",
|
|
1495
|
+
"diagnostics.Plugin/runtime/data-package identity used for reproduction": "再現用のプラグイン・実行環境・データパッケージ情報",
|
|
1496
|
+
"diagnostics.Previous persisted improvement-cost cache": "前回の永続化改修コストキャッシュ",
|
|
1497
|
+
"diagnostics.Problem diagnostics": "問題診断",
|
|
1498
|
+
"diagnostics.Runtime data package status and cache metadata": "ランタイムデータパッケージの状態とキャッシュ情報",
|
|
1499
|
+
"diagnostics.Small Poi host config subset consumed by this plugin": "このプラグインが参照する一部の Poi 本体設定",
|
|
1500
|
+
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "診断パッケージには所持データとプラグイン設定が含まれます。共有前に内容を確認してください。",
|
|
1501
|
+
"diagnostics.The diagnostic bundle could not be exported": "診断パッケージを書き出せませんでした。",
|
|
1502
|
+
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "計画、ルート選択、装備割り当て、低優先装備、UI設定を含む標準プラグインバックアップ",
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修終点",
|
|
1504
|
+
"equipment.Improvement route": "改修ルート",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修終点",
|
|
1506
|
+
"equipment.Standalone improvement": "単独改修"
|
|
1469
1507
|
}
|
package/i18n/zh-CN.json
CHANGED
|
@@ -1465,5 +1465,43 @@
|
|
|
1465
1465
|
"app.changelog_1_2_0_help_and_data": "内置图文帮助,并显示当前数据版本和更新时间;界面与帮助语言对接 Poi 的 i18n 设置。",
|
|
1466
1466
|
"app.Data package updated, refreshing decision chain...": "数据包已更新,正在刷新决策链路…",
|
|
1467
1467
|
"app.changelog_1_2_3_latent_issue_fixes": "修复一些潜在问题。",
|
|
1468
|
-
"app.changelog_1_2_3_runtime_data_auto_update_fix": "修复数据包无法按预期自动更新的问题。"
|
|
1468
|
+
"app.changelog_1_2_3_runtime_data_auto_update_fix": "修复数据包无法按预期自动更新的问题。",
|
|
1469
|
+
"app.Diagnostics": "诊断",
|
|
1470
|
+
"diagnostics.All known plugin-owned Poi config keys, including compatibility keys": "本插件全部已知 Poi 配置项(含兼容键)",
|
|
1471
|
+
"diagnostics.Caches cleared. Restarting plugin...": "缓存已清理,正在重启插件…",
|
|
1472
|
+
"diagnostics.Caches could not be cleared": "无法清理缓存。",
|
|
1473
|
+
"diagnostics.Cancel": "取消",
|
|
1474
|
+
"diagnostics.Choose save location": "选择保存位置",
|
|
1475
|
+
"diagnostics.Clear all caches and restart plugin": "清理全部缓存并重启插件",
|
|
1476
|
+
"diagnostics.Clear caches and restart": "清理缓存并重启",
|
|
1477
|
+
"diagnostics.Clearing caches...": "正在清理缓存…",
|
|
1478
|
+
"diagnostics.Clears derived and downloaded caches, then reloads this plugin window. Plans, inventory profiles, and settings are preserved.": "清理派生缓存和下载缓存,然后重新载入当前插件窗口。计划、库存资料和设置不会被删除。",
|
|
1479
|
+
"diagnostics.Close": "关闭",
|
|
1480
|
+
"diagnostics.Confirm clear and restart": "确认清理并重启",
|
|
1481
|
+
"diagnostics.Current effective equipment inventory used by the plugin": "插件当前实际使用的装备库存",
|
|
1482
|
+
"diagnostics.Current effective resources used by the plugin": "插件当前实际使用的基础资源库存",
|
|
1483
|
+
"diagnostics.Current effective ship inventory used by the plugin": "插件当前实际使用的舰船库存",
|
|
1484
|
+
"diagnostics.Current effective useitem inventory used by the plugin": "插件当前实际使用的道具库存",
|
|
1485
|
+
"diagnostics.Current persisted improvement-cost cache": "当前持久化改修成本缓存",
|
|
1486
|
+
"diagnostics.Diagnostic bundle exported": "诊断包已导出。",
|
|
1487
|
+
"diagnostics.Diagnostic bundle manifest": "诊断包文件清单",
|
|
1488
|
+
"diagnostics.Diagnostic bundle saved as %s": "诊断包已保存为 %s",
|
|
1489
|
+
"diagnostics.Export diagnostic bundle": "导出诊断包",
|
|
1490
|
+
"diagnostics.Exports the inventory and all plugin configuration needed to reproduce a problem.": "导出用于复现问题的库存数据和全部插件配置。",
|
|
1491
|
+
"diagnostics.Files included": "将打包以下文件",
|
|
1492
|
+
"diagnostics.Improvement-cost cache metadata": "改修成本缓存信息",
|
|
1493
|
+
"diagnostics.Persisted personal profile when present": "已保存的个人资料(存在时)",
|
|
1494
|
+
"diagnostics.Plugin-owned renderer localStorage values such as modal bounds": "本插件的本地界面配置,例如弹窗尺寸",
|
|
1495
|
+
"diagnostics.Plugin/runtime/data-package identity used for reproduction": "用于复现的插件、运行环境和数据包身份",
|
|
1496
|
+
"diagnostics.Previous persisted improvement-cost cache": "上一份持久化改修成本缓存",
|
|
1497
|
+
"diagnostics.Problem diagnostics": "问题诊断",
|
|
1498
|
+
"diagnostics.Runtime data package status and cache metadata": "运行时数据包状态与缓存信息",
|
|
1499
|
+
"diagnostics.Small Poi host config subset consumed by this plugin": "本插件读取的少量 Poi 宿主配置",
|
|
1500
|
+
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "诊断包包含库存数据和插件设置,分享前请确认内容。",
|
|
1501
|
+
"diagnostics.The diagnostic bundle could not be exported": "无法导出诊断包。",
|
|
1502
|
+
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "插件标准备份,包含计划、路线选择、装备分配、低优先装备和界面设置",
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修终点",
|
|
1504
|
+
"equipment.Improvement route": "改修路线",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修终点",
|
|
1506
|
+
"equipment.Standalone improvement": "独立改修"
|
|
1469
1507
|
}
|
package/i18n/zh-TW.json
CHANGED
|
@@ -1465,5 +1465,43 @@
|
|
|
1465
1465
|
"app.changelog_1_2_0_help_and_data": "內建圖文幫助,並顯示目前資料版本與更新時間;介面與幫助語言對接 Poi 的 i18n 設定。",
|
|
1466
1466
|
"app.Data package updated, refreshing decision chain...": "資料包已更新,正在重新整理決策鏈路…",
|
|
1467
1467
|
"app.changelog_1_2_3_latent_issue_fixes": "修復一些潛在問題。",
|
|
1468
|
-
"app.changelog_1_2_3_runtime_data_auto_update_fix": "修復資料包無法按預期自動更新的問題。"
|
|
1468
|
+
"app.changelog_1_2_3_runtime_data_auto_update_fix": "修復資料包無法按預期自動更新的問題。",
|
|
1469
|
+
"app.Diagnostics": "診斷",
|
|
1470
|
+
"diagnostics.All known plugin-owned Poi config keys, including compatibility keys": "此外掛全部已知 Poi 設定項(含相容鍵)",
|
|
1471
|
+
"diagnostics.Caches cleared. Restarting plugin...": "快取已清理,正在重啟外掛…",
|
|
1472
|
+
"diagnostics.Caches could not be cleared": "無法清理快取。",
|
|
1473
|
+
"diagnostics.Cancel": "取消",
|
|
1474
|
+
"diagnostics.Choose save location": "選擇儲存位置",
|
|
1475
|
+
"diagnostics.Clear all caches and restart plugin": "清理全部快取並重啟外掛",
|
|
1476
|
+
"diagnostics.Clear caches and restart": "清理快取並重啟",
|
|
1477
|
+
"diagnostics.Clearing caches...": "正在清理快取…",
|
|
1478
|
+
"diagnostics.Clears derived and downloaded caches, then reloads this plugin window. Plans, inventory profiles, and settings are preserved.": "清理派生快取與下載快取,然後重新載入目前外掛視窗。計畫、庫存資料與設定不會被刪除。",
|
|
1479
|
+
"diagnostics.Close": "關閉",
|
|
1480
|
+
"diagnostics.Confirm clear and restart": "確認清理並重啟",
|
|
1481
|
+
"diagnostics.Current effective equipment inventory used by the plugin": "外掛目前實際使用的裝備庫存",
|
|
1482
|
+
"diagnostics.Current effective resources used by the plugin": "外掛目前實際使用的基礎資源庫存",
|
|
1483
|
+
"diagnostics.Current effective ship inventory used by the plugin": "外掛目前實際使用的艦船庫存",
|
|
1484
|
+
"diagnostics.Current effective useitem inventory used by the plugin": "外掛目前實際使用的道具庫存",
|
|
1485
|
+
"diagnostics.Current persisted improvement-cost cache": "目前持久化改修成本快取",
|
|
1486
|
+
"diagnostics.Diagnostic bundle exported": "診斷包已匯出。",
|
|
1487
|
+
"diagnostics.Diagnostic bundle manifest": "診斷包檔案清單",
|
|
1488
|
+
"diagnostics.Diagnostic bundle saved as %s": "診斷包已儲存為 %s",
|
|
1489
|
+
"diagnostics.Export diagnostic bundle": "匯出診斷包",
|
|
1490
|
+
"diagnostics.Exports the inventory and all plugin configuration needed to reproduce a problem.": "匯出用於重現問題的庫存資料與全部外掛設定。",
|
|
1491
|
+
"diagnostics.Files included": "將打包以下檔案",
|
|
1492
|
+
"diagnostics.Improvement-cost cache metadata": "改修成本快取資訊",
|
|
1493
|
+
"diagnostics.Persisted personal profile when present": "已儲存的個人資料(存在時)",
|
|
1494
|
+
"diagnostics.Plugin-owned renderer localStorage values such as modal bounds": "此外掛的本機介面設定,例如視窗尺寸",
|
|
1495
|
+
"diagnostics.Plugin/runtime/data-package identity used for reproduction": "用於重現的外掛、執行環境與資料包身分",
|
|
1496
|
+
"diagnostics.Previous persisted improvement-cost cache": "上一份持久化改修成本快取",
|
|
1497
|
+
"diagnostics.Problem diagnostics": "問題診斷",
|
|
1498
|
+
"diagnostics.Runtime data package status and cache metadata": "執行時資料包狀態與快取資訊",
|
|
1499
|
+
"diagnostics.Small Poi host config subset consumed by this plugin": "此外掛讀取的少量 Poi 主程式設定",
|
|
1500
|
+
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "診斷包包含庫存資料與外掛設定,分享前請確認內容。",
|
|
1501
|
+
"diagnostics.The diagnostic bundle could not be exported": "無法匯出診斷包。",
|
|
1502
|
+
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "外掛標準備份,包含計畫、路線選擇、裝備分配、低優先裝備與介面設定",
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修終點",
|
|
1504
|
+
"equipment.Improvement route": "改修路線",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修終點",
|
|
1506
|
+
"equipment.Standalone improvement": "獨立改修"
|
|
1469
1507
|
}
|
package/package.json
CHANGED
|
@@ -254,7 +254,8 @@ class ItemInfoAreaComponent extends _react.Component {
|
|
|
254
254
|
masterData,
|
|
255
255
|
staticItems,
|
|
256
256
|
items,
|
|
257
|
-
routeAcquisitionIndex
|
|
257
|
+
routeAcquisitionIndex,
|
|
258
|
+
diagnosticInventory
|
|
258
259
|
} = this.props;
|
|
259
260
|
return _react.default.createElement("div", {
|
|
260
261
|
id: "item-improvement",
|
|
@@ -279,6 +280,7 @@ class ItemInfoAreaComponent extends _react.Component {
|
|
|
279
280
|
staticItems: staticItems,
|
|
280
281
|
itemCatalog: items,
|
|
281
282
|
routeAcquisitionIndex: routeAcquisitionIndex,
|
|
283
|
+
diagnosticInventory: diagnosticInventory,
|
|
282
284
|
improvementCostCache: improvementCostCache,
|
|
283
285
|
onShowHelp: this.handleShowHelp,
|
|
284
286
|
onDataImported: this.handleImportedData
|
|
@@ -314,7 +316,8 @@ Object.defineProperty(ItemInfoAreaComponent, "propTypes", {
|
|
|
314
316
|
runtimeDataRevision: _propTypes.default.number.isRequired,
|
|
315
317
|
staticItems: _propTypes.default.object.isRequired,
|
|
316
318
|
items: _propTypes.default.object.isRequired,
|
|
317
|
-
routeAcquisitionIndex: _propTypes.default.object.isRequired
|
|
319
|
+
routeAcquisitionIndex: _propTypes.default.object.isRequired,
|
|
320
|
+
diagnosticInventory: _propTypes.default.object.isRequired
|
|
318
321
|
}
|
|
319
322
|
});
|
|
320
323
|
const ItemInfoArea = (0, _reactRedux.connect)(_selectors.itemInfoViewModelSelector)(ItemInfoAreaComponent);
|
|
@@ -53,6 +53,8 @@ var _equipmentCategoryModel = require("../equipment/model/equipment-category-mod
|
|
|
53
53
|
|
|
54
54
|
var _dataTransferModal = require("../data/modals/data-transfer-modal");
|
|
55
55
|
|
|
56
|
+
var _problemDiagnosticsModal = require("../data/modals/problem-diagnostics-modal");
|
|
57
|
+
|
|
56
58
|
var _detailPanel = require("../shared/components/detail-panel");
|
|
57
59
|
|
|
58
60
|
var _densityControls = require("../shared/components/density-controls");
|
|
@@ -162,7 +164,7 @@ class NewInterfaceArea extends _react.Component {
|
|
|
162
164
|
this.exclusionRecommendationTaskId = 0;
|
|
163
165
|
this.state = {
|
|
164
166
|
mode: 'workbench',
|
|
165
|
-
query:
|
|
167
|
+
query: (0, _uiPreferences.getSearchQuery)(config),
|
|
166
168
|
selectedItemId: (0, _uiPreferences.getSelectedItemId)(config),
|
|
167
169
|
selectedWorkbenchKey: null,
|
|
168
170
|
uiDensity: (0, _uiPreferences.getFontScale)(config),
|
|
@@ -172,6 +174,7 @@ class NewInterfaceArea extends _react.Component {
|
|
|
172
174
|
selectedCategoryIds: (0, _uiPreferences.getEquipmentCategoryFilter)(config),
|
|
173
175
|
detailPanelLayouts: (0, _uiPreferences.getDetailPanelLayouts)(config),
|
|
174
176
|
showDataTransfer: false,
|
|
177
|
+
showProblemDiagnostics: false,
|
|
175
178
|
showEquipmentBlacklist: false,
|
|
176
179
|
showRecommendedExclusions: false,
|
|
177
180
|
showAddBlacklist: false,
|
|
@@ -260,7 +263,8 @@ class NewInterfaceArea extends _react.Component {
|
|
|
260
263
|
runtimeDataRevision,
|
|
261
264
|
equipLevels,
|
|
262
265
|
ownedShipMasterIds,
|
|
263
|
-
staticItems
|
|
266
|
+
staticItems,
|
|
267
|
+
diagnosticInventory
|
|
264
268
|
} = this.props;
|
|
265
269
|
const {
|
|
266
270
|
mode,
|
|
@@ -269,6 +273,7 @@ class NewInterfaceArea extends _react.Component {
|
|
|
269
273
|
uiDensity,
|
|
270
274
|
workbenchSort,
|
|
271
275
|
showDataTransfer,
|
|
276
|
+
showProblemDiagnostics,
|
|
272
277
|
showEquipmentBlacklist,
|
|
273
278
|
showRecommendedExclusions,
|
|
274
279
|
showAddBlacklist,
|
|
@@ -423,6 +428,9 @@ class NewInterfaceArea extends _react.Component {
|
|
|
423
428
|
bsSize: "small",
|
|
424
429
|
onClick: this.handleShowDataTransfer
|
|
425
430
|
}, __('Data')), _react.default.createElement(_reactBootstrap.Button, {
|
|
431
|
+
bsSize: "small",
|
|
432
|
+
onClick: this.handleShowProblemDiagnostics
|
|
433
|
+
}, __('Diagnostics')), _react.default.createElement(_reactBootstrap.Button, {
|
|
426
434
|
bsSize: "small",
|
|
427
435
|
onClick: onShowHelp
|
|
428
436
|
}, __('Help')))), runtimeDataDecisionRefreshPending && _react.default.createElement(_reactBootstrap.Alert, {
|
|
@@ -540,6 +548,10 @@ class NewInterfaceArea extends _react.Component {
|
|
|
540
548
|
show: showDataTransfer,
|
|
541
549
|
onHide: this.handleHideDataTransfer,
|
|
542
550
|
onImported: this.handleDataImported
|
|
551
|
+
}), _react.default.createElement(_problemDiagnosticsModal.ProblemDiagnosticsModal, {
|
|
552
|
+
show: showProblemDiagnostics,
|
|
553
|
+
inventory: diagnosticInventory,
|
|
554
|
+
onHide: this.handleHideProblemDiagnostics
|
|
543
555
|
}));
|
|
544
556
|
}
|
|
545
557
|
|
|
@@ -566,6 +578,7 @@ Object.defineProperty(NewInterfaceArea, "propTypes", {
|
|
|
566
578
|
staticItems: _propTypes.default.object.isRequired,
|
|
567
579
|
itemCatalog: _propTypes.default.object.isRequired,
|
|
568
580
|
routeAcquisitionIndex: _propTypes.default.object.isRequired,
|
|
581
|
+
diagnosticInventory: _propTypes.default.object.isRequired,
|
|
569
582
|
initialDay: _propTypes.default.number.isRequired,
|
|
570
583
|
onShowHelp: _propTypes.default.func.isRequired,
|
|
571
584
|
onDataImported: _propTypes.default.func.isRequired
|
|
@@ -1193,7 +1206,7 @@ var _initialiseProps = function () {
|
|
|
1193
1206
|
writable: true,
|
|
1194
1207
|
value: query => {
|
|
1195
1208
|
this.setState({
|
|
1196
|
-
query
|
|
1209
|
+
query: (0, _uiPreferences.setSearchQuery)(config, query)
|
|
1197
1210
|
});
|
|
1198
1211
|
}
|
|
1199
1212
|
});
|
|
@@ -1487,6 +1500,26 @@ var _initialiseProps = function () {
|
|
|
1487
1500
|
});
|
|
1488
1501
|
}
|
|
1489
1502
|
});
|
|
1503
|
+
Object.defineProperty(this, "handleShowProblemDiagnostics", {
|
|
1504
|
+
configurable: true,
|
|
1505
|
+
enumerable: true,
|
|
1506
|
+
writable: true,
|
|
1507
|
+
value: () => {
|
|
1508
|
+
this.setState({
|
|
1509
|
+
showProblemDiagnostics: true
|
|
1510
|
+
});
|
|
1511
|
+
}
|
|
1512
|
+
});
|
|
1513
|
+
Object.defineProperty(this, "handleHideProblemDiagnostics", {
|
|
1514
|
+
configurable: true,
|
|
1515
|
+
enumerable: true,
|
|
1516
|
+
writable: true,
|
|
1517
|
+
value: () => {
|
|
1518
|
+
this.setState({
|
|
1519
|
+
showProblemDiagnostics: false
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
});
|
|
1490
1523
|
Object.defineProperty(this, "handleDataImported", {
|
|
1491
1524
|
configurable: true,
|
|
1492
1525
|
enumerable: true,
|