feat: package rollback support (#161)

* implement support of rollback handler

* react interface for the rollback
This commit is contained in:
2026-03-22 00:36:48 +02:00
committed by GitHub
parent 96684d7ddd
commit d7984c12f0
41 changed files with 1014 additions and 252 deletions

View File

@@ -21,6 +21,7 @@ import { Box, Dialog, DialogContent, Tab, Tabs } from "@mui/material";
import { skipToken, useQuery, useQueryClient } from "@tanstack/react-query";
import { ApiError } from "api/client/ApiError";
import DialogHeader from "components/common/DialogHeader";
import ArtifactsTab from "components/package/ArtifactsTab";
import BuildLogsTab from "components/package/BuildLogsTab";
import ChangesTab from "components/package/ChangesTab";
import EventsTab from "components/package/EventsTab";
@@ -194,6 +195,12 @@ export default function PackageInfoDialog({
{activeTab === "events" && localPackageBase && currentRepository &&
<EventsTab packageBase={localPackageBase} repository={currentRepository} />
}
{activeTab === "artifacts" && localPackageBase && currentRepository &&
<ArtifactsTab
packageBase={localPackageBase}
repository={currentRepository}
currentVersion={pkg.version} />
}
</>
}
</DialogContent>