Skip to content

Commit 197e2de

Browse files
committed
nvm, just comment out
1 parent 141b624 commit 197e2de

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

cabotage/client/static/main.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ BuildProgressTracker.prototype.complete = function () {
873873
stage = 'build' → wait for release, 'release' → wait for deploy. */
874874
function pollForNextStep(appId, stage) {
875875
// TODO(#180): re-enable when pipeline_status endpoint exists
876-
return;
876+
/* disabled – endpoint not yet implemented
877877
var url = '/applications/' + appId + '/pipeline_status';
878878
var attempts = 0;
879879
var maxAttempts = 40; // 40 × 3s = 2 min max wait
@@ -911,6 +911,7 @@ function pollForNextStep(appId, stage) {
911911
});
912912
}, 3000);
913913
})();
914+
*/
914915
}
915916

916917
/* Pipeline Tracker (Overview Page) */
@@ -1576,11 +1577,12 @@ function stopAllPollers() {
15761577

15771578
function initPipelineTracker() {
15781579
// TODO(#179/#180): re-enable when pipeline_status endpoint exists
1579-
return;
1580+
/* disabled – endpoint not yet implemented
15801581
var container = document.querySelector('[data-pipeline-tracker]');
15811582
if (container && !isLowDataMode()) {
15821583
window.pipelineTracker = new PipelineTracker(container);
15831584
}
1585+
*/
15841586
if (document.querySelector('time[data-timestamp]')) {
15851587
startTimestampTicker();
15861588
}
@@ -1694,14 +1696,15 @@ DashboardPipelinePoller.prototype.update = function (pipelines) {
16941696

16951697
function initDashboardPoller() {
16961698
// TODO(#179): re-enable when active_pipelines endpoint exists
1697-
return;
1699+
/* disabled – endpoint not yet implemented
16981700
if (isLowDataMode()) return;
16991701
var toastContainer = document.getElementById('pipeline-toasts');
17001702
if (!toastContainer) return;
17011703
var trackedAppId = null;
17021704
var trackerEl = document.querySelector('[data-pipeline-tracker]');
17031705
if (trackerEl) trackedAppId = trackerEl.getAttribute('data-application-id');
17041706
window.dashboardPoller = new DashboardPipelinePoller(trackedAppId);
1707+
*/
17051708
}
17061709

17071710
/* Observability Panel */
@@ -2086,11 +2089,12 @@ ObservabilityPanel.prototype.updateEvents = function (events) {
20862089

20872090
function initObservabilityPanel() {
20882091
// TODO(#180): re-enable when observability endpoint exists
2089-
return;
2092+
/* disabled – endpoint not yet implemented
20902093
if (isLowDataMode()) return;
20912094
var container = document.querySelector('[data-observability-panel]');
20922095
if (!container) return;
20932096
window.observabilityPanel = new ObservabilityPanel(container);
2097+
*/
20942098
}
20952099

20962100
/* Pipeline Metrics Panel */
@@ -2282,11 +2286,12 @@ PipelineMetricsPanel.prototype.renderBarChart = function (svgEl, history, avgSec
22822286

22832287
function initPipelineMetricsPanel() {
22842288
// TODO(#180): re-enable when pipeline-metrics endpoint exists
2285-
return;
2289+
/* disabled – endpoint not yet implemented
22862290
if (isLowDataMode()) return;
22872291
var container = document.querySelector('[data-pipeline-metrics-panel]');
22882292
if (!container) return;
22892293
window.pipelineMetricsPanel = new PipelineMetricsPanel(container);
2294+
*/
22902295
}
22912296

22922297
/* Live Status Mini (Overview tab) */
@@ -2449,7 +2454,7 @@ ObservabilityMini.prototype.renderSparkline = function (container, history, key,
24492454

24502455
function initLiveStatus() {
24512456
// TODO(#180): re-enable when observability endpoint exists
2452-
return;
2457+
/* disabled – endpoint not yet implemented
24532458
if (isLowDataMode()) return;
24542459
var container = document.querySelector('[data-live-status]');
24552460
if (!container) return;
@@ -2463,6 +2468,7 @@ function initLiveStatus() {
24632468
mini.activate();
24642469
}
24652470
}
2471+
*/
24662472
}
24672473

24682474
/* Build/Release Detail Page */

0 commit comments

Comments
 (0)