feat: [AH-1020]: update artifact list actions column and remove artifact modification event from webhooks (#3557)

* feat: [AH-1020]: remove artifact modification from webhooks
* feat: [AH-1020]: remove artifact and version actions for non oci types
This commit is contained in:
Shivanand Sonnad 2025-03-14 11:14:18 +00:00 committed by Harness
parent 51ebb0784a
commit 709077b51a
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@ import {
ArtifactListPullCommandCell, ArtifactListPullCommandCell,
ArtifactListVulnerabilitiesCell, ArtifactListVulnerabilitiesCell,
ArtifactNameCell, ArtifactNameCell,
ArtifactVersionActions,
LatestArtifactCell LatestArtifactCell
} from './ArtifactListTableCell' } from './ArtifactListTableCell'
import css from './ArtifactListTable.module.scss' import css from './ArtifactListTable.module.scss'
@ -111,7 +112,7 @@ export default function ArtifactListTable(props: ArtifactListTableProps): JSX.El
{ {
Header: '', Header: '',
accessor: 'actions', accessor: 'actions',
Cell: LatestArtifactCell, Cell: ArtifactVersionActions,
disableSortBy: true disableSortBy: true
} }
].filter(Boolean) as unknown as Column<ArtifactMetadata>[] ].filter(Boolean) as unknown as Column<ArtifactMetadata>[]

View File

@ -25,6 +25,6 @@ interface TriggerLabelOption {
export const TriggerLabelOptions: TriggerLabelOption[] = [ export const TriggerLabelOptions: TriggerLabelOption[] = [
{ label: 'webhookList.triggers.artifactCreation', value: 'ARTIFACT_CREATION' }, { label: 'webhookList.triggers.artifactCreation', value: 'ARTIFACT_CREATION' },
{ label: 'webhookList.triggers.artifactDeletion', value: 'ARTIFACT_DELETION' }, { label: 'webhookList.triggers.artifactDeletion', value: 'ARTIFACT_DELETION' }
{ label: 'webhookList.triggers.artifactModification', value: 'ARTIFACT_MODIFICATION' } // { label: 'webhookList.triggers.artifactModification', value: 'ARTIFACT_MODIFICATION' }
] ]