style(release): 移除旧封存关联与文档级发布区域
build / build (push) Successful in 1m58s

This commit is contained in:
姚章浩
2026-11-17 14:12:00 +08:00
parent 040b7285d7
commit e4342fa05b
3 changed files with 1 additions and 56 deletions
-47
View File
@@ -410,53 +410,6 @@ export function ModulePage({
return (
<div className="release-module">
<ReleaseTargets />
<details className="release-legacy">
<summary>文档级发布(旧流程,折叠保留):单篇文档发布成功不等于整库发布成功</summary>
<ReleaseManagement
reviewPage={reviewPage}
reviewLoading={reviewLoading}
reviewError={reviewError}
reviewingId={reviewingId}
batchPage={batchPage}
batchDetail={batchDetail}
batchLoading={batchLoading}
batchError={batchError}
mutatingBatchId={mutatingBatchId}
onReview={onReview}
onBatchReview={onBatchReview}
reviewBatchMessage={reviewBatchMessage}
onReviewRefresh={onReviewRefresh}
onCreateBatch={onCreateBatch}
onSealBatch={onSealBatch}
onSelectBatch={onSelectBatch}
onBatchRefresh={onBatchRefresh}
releaseCapabilities={releaseCapabilities}
releasePlan={releasePlan}
releaseChangeSet={releaseChangeSet}
changeSetBusy={changeSetBusy}
changeSetError={changeSetError}
onGenerateChangeSet={onGenerateChangeSet}
onConfirmChangeSet={onConfirmChangeSet}
selectedDeleteIDs={selectedDeleteIDs}
onToggleDelete={onToggleDelete}
executionPage={executionPage}
executionDetail={executionDetail}
executionChain={executionChain}
executionLoading={executionLoading}
executionError={executionError}
onSelectExecution={onSelectExecution}
onExecutionRefresh={onExecutionRefresh}
pendingReleaseAction={pendingReleaseAction}
releaseActionPhrase={releaseActionPhrase}
releaseActionBusy={releaseActionBusy}
releaseActionError={releaseActionError}
releaseActionMessage={releaseActionMessage}
onStartReleaseAction={onStartReleaseAction}
onReleaseActionPhrase={onReleaseActionPhrase}
onSubmitReleaseAction={onSubmitReleaseAction}
onCancelReleaseAction={onCancelReleaseAction}
/>
</details>
</div>
)
}
-8
View File
@@ -1,4 +1,3 @@
import { LegacySourceAssociation } from './LegacySourceAssociation'
import { useCallback, useEffect, useRef, useState } from 'react'
import {
createLibraryRestoreAuthorization,
@@ -2536,13 +2535,6 @@ export function ReleaseTargets() {
onCapture={() => void startCapture()}
onRecover={(windowJobID) => void recover(windowJobID)}
/>
<LegacySourceAssociation
key={scope}
scope={scope}
snapshots={page?.snapshots ?? []}
admin={role === 'admin'}
onBound={() => load()}
/>
</>
)
}