diff --git a/VFXReviewConnector.jsx b/VFXReviewConnector.jsx index aa618df..e6dffde 100644 --- a/VFXReviewConnector.jsx +++ b/VFXReviewConnector.jsx @@ -32,7 +32,7 @@ var SETTINGS_KEY = "cfg"; // Bump on every change deployed to a workstation. The panel reports this to // the server on load, so Pipeline → Machines shows which version each machine // is actually running and flags the ones left behind. -var PANEL_VERSION = "2.6.1"; +var PANEL_VERSION = "2.6.2"; (function VFXReviewConnector(thisObj) { var uiState = { @@ -4420,8 +4420,13 @@ var PANEL_VERSION = "2.6.1"; // catching mask slips, export glitches and metadata faults at full res, so // selecting a queue entry imports the real sequence. + // The queue endpoint defaults to 50 rows and refuses anything above 200, so + // ask for the ceiling: a busy project can have well over 50 exports sitting + // in READY_FOR_QC, and the panel silently showed only the oldest 50. + var QC_QUEUE_LIMIT = 200; + function loadQCQueue() { - var url = CONFIG.baseUrl + "/api/ext/qc/queue"; + var url = CONFIG.baseUrl + "/api/ext/qc/queue?limit=" + QC_QUEUE_LIMIT; var data; var entries; var i; @@ -4432,7 +4437,7 @@ var PANEL_VERSION = "2.6.1"; return; } if (CURRENT_PROJECT) { - url += "?projectCode=" + encodeURIComponent(CURRENT_PROJECT.code); + url += "&projectCode=" + encodeURIComponent(CURRENT_PROJECT.code); } setQCStatus("Loading QC queue..."); @@ -4457,7 +4462,8 @@ var PANEL_VERSION = "2.6.1"; if (entries.length) { uiState.qcList.selection = 0; - setQCStatus(entries.length + " export(s) awaiting QC"); + setQCStatus(entries.length + " export(s) awaiting QC" + + (entries.length >= QC_QUEUE_LIMIT ? " (list is capped — QC some and reload)" : "")); } else { setQCStatus("Nothing waiting for QC"); }