panopticon-cli 0.4.22 → 0.4.23
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/dist/dashboard/server.js +12 -1
- package/package.json +1 -1
package/dist/dashboard/server.js
CHANGED
|
@@ -85390,6 +85390,17 @@ var IssueDataService = class {
|
|
|
85390
85390
|
for (const tracker of ["github", "linear", "rally"]) {
|
|
85391
85391
|
const cached = this.cache.getStale(tracker, "issues");
|
|
85392
85392
|
if (cached?.data) {
|
|
85393
|
+
if (tracker === "rally") {
|
|
85394
|
+
cached.data = cached.data.map((issue) => {
|
|
85395
|
+
if (typeof issue.rawTrackerState === "object" && issue.rawTrackerState !== null) {
|
|
85396
|
+
return {
|
|
85397
|
+
...issue,
|
|
85398
|
+
rawTrackerState: issue.rawTrackerState.Name || issue.rawTrackerState._refObjectName || "Defined"
|
|
85399
|
+
};
|
|
85400
|
+
}
|
|
85401
|
+
return issue;
|
|
85402
|
+
});
|
|
85403
|
+
}
|
|
85393
85404
|
this.trackers[tracker].lastFetchedIssues = cached.data;
|
|
85394
85405
|
this.trackers[tracker].lastFetchedAt = cached.lastFetchedAt;
|
|
85395
85406
|
}
|
|
@@ -85745,7 +85756,7 @@ var IssueDataService = class {
|
|
|
85745
85756
|
updatedAt: issue.updatedAt,
|
|
85746
85757
|
parentRef: issue.parentRef,
|
|
85747
85758
|
artifactType: issue.artifactType,
|
|
85748
|
-
rawTrackerState: issue.rawState,
|
|
85759
|
+
rawTrackerState: typeof issue.rawState === "object" && issue.rawState !== null ? issue.rawState.Name || issue.rawState._refObjectName || "Defined" : issue.rawState,
|
|
85749
85760
|
project: projectInfo,
|
|
85750
85761
|
source: "rally"
|
|
85751
85762
|
};
|