@cccarv82/freya 2.1.0 → 2.1.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.
- package/cli/web-ui.js +6 -0
- package/cli/web.js +7 -0
- package/package.json +1 -1
package/cli/web-ui.js
CHANGED
|
@@ -977,6 +977,9 @@
|
|
|
977
977
|
setOut(r.output);
|
|
978
978
|
setLast(null);
|
|
979
979
|
setPill('ok', 'health ok');
|
|
980
|
+
if (isHealthPage) {
|
|
981
|
+
refreshHealthChecklist();
|
|
982
|
+
}
|
|
980
983
|
} catch (e) {
|
|
981
984
|
setPill('err', 'health failed');
|
|
982
985
|
setOut(String(e && e.message ? e.message : e));
|
|
@@ -1010,6 +1013,9 @@
|
|
|
1010
1013
|
setLast(r.reportPath || null);
|
|
1011
1014
|
if (r.reportText) state.lastText = r.reportText;
|
|
1012
1015
|
await refreshReports({ selectLatest: true });
|
|
1016
|
+
if (isHealthPage) {
|
|
1017
|
+
refreshHealthChecklist();
|
|
1018
|
+
}
|
|
1013
1019
|
setPill('ok', name + ' ok');
|
|
1014
1020
|
} catch (e) {
|
|
1015
1021
|
setPill('err', name + ' failed');
|
package/cli/web.js
CHANGED
|
@@ -1275,6 +1275,13 @@ function buildHealthHtml(safeDefault, appVersion) {
|
|
|
1275
1275
|
</section>
|
|
1276
1276
|
|
|
1277
1277
|
<section class="reportsGrid" id="healthChecklist"></section>
|
|
1278
|
+
|
|
1279
|
+
<section class="panel" style="margin-top:16px">
|
|
1280
|
+
<div class="panelHead"><b>Saida</b></div>
|
|
1281
|
+
<div class="panelBody">
|
|
1282
|
+
<div id="reportPreview" class="log md" style="font-family: var(--sans);"></div>
|
|
1283
|
+
</div>
|
|
1284
|
+
</section>
|
|
1278
1285
|
</div>
|
|
1279
1286
|
</main>
|
|
1280
1287
|
|