feat: [AH-562]: update icons for registry and artifacts (#2864)

* 

feat: [AH-562]: update icons for registry and artifacts
pull/3576/head
Shivanand Sonnad 2024-10-25 11:54:12 +00:00 committed by Harness
parent 35b7745b65
commit 505d8fa702
5 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@
"@codemirror/state": "^6.2.0",
"@codemirror/view": "^6.9.6",
"@harnessio/design-system": "^2.1.1",
"@harnessio/icons": "^2.1.8",
"@harnessio/icons": "^2.1.9",
"@harnessio/react-har-service-client": "^0.0.23",
"@harnessio/react-ssca-manager-client": "^0.65.0",
"@harnessio/uicore": "^4.1.2",

View File

@ -192,7 +192,7 @@ function ArtifactListPage(): JSX.Element {
noData={{
when: () => !responseData?.artifacts?.length,
// image: getEmptyStateIllustration(hasFilter, module),
icon: 'container',
icon: 'store-artifact-bundle',
messageTitle: hasFilter ? getString('noResultsFound') : getString('artifactList.table.noArtifactsTitle'),
button: hasFilter ? (
<Button text={getString('clearFilters')} variation={ButtonVariation.LINK} onClick={handleClearAllFilters} />

View File

@ -131,7 +131,7 @@ function RegistryArtifactListPage({ pageBodyClassName }: RegistryArtifactListPag
noData={{
when: () => !responseData?.artifacts?.length,
// image: getEmptyStateIllustration(hasFilter, module),
icon: 'container',
icon: 'store-artifact-bundle',
messageTitle: hasFilter ? getString('noResultsFound') : getString('artifactList.table.noArtifactsTitle'),
button: hasFilter ? (
<Button text={getString('clearFilters')} variation={ButtonVariation.LINK} onClick={handleClearAllFilters} />

View File

@ -130,7 +130,7 @@ function RepositoryListPage(): JSX.Element {
retryOnError={() => refetch()}
noData={{
when: () => !responseData?.registries?.length, // TODO: change to itemCount once BE fixes the issue with paginated response
icon: 'thinner-code-repos',
icon: 'registry',
// image: getEmptyStateIllustration(hasFilter, module),
messageTitle: hasFilter ? getString('noResultsFound') : getString('repositoryList.table.noRepositoriesTitle'),
button: hasFilter ? (

View File

@ -1649,10 +1649,10 @@
resolved "https://registry.npmjs.org/@harnessio/design-system/-/design-system-2.1.1.tgz#2da3036602ed9b9446d8139c72009e6dc1e25642"
integrity sha512-ZwAGM1srOZ49/6YkwyjkczUv4v91CN0rCecRYnV3/g+xdSV5ycrUvkJjl9nHub6jw2eCGC0GdyNgAtAJnLmGfQ==
"@harnessio/icons@^2.1.8":
version "2.1.8"
resolved "https://registry.yarnpkg.com/@harnessio/icons/-/icons-2.1.8.tgz#0724964b440fb87383331b218c9fbe20b21e20fd"
integrity sha512-fWGdvIQq6TDZomIfb8sLjbP1QEFK6ygZlzqS1g14IxQCG5JHVD24pZjOcNOyItNcXcxpG8+/TXVUoYtlZ9Q0Cw==
"@harnessio/icons@^2.1.9":
version "2.1.10"
resolved "https://registry.yarnpkg.com/@harnessio/icons/-/icons-2.1.10.tgz#2a849fbf41a00e2b0dac016bec74f9166e6e6fa2"
integrity sha512-LArSZWVxYUqkOM228t/fHUnws3PtVayBbqx+4zKODsbCpr4GdFDX/CIel6hpKREknk4YdfZvjeSBjvuLOw+KjQ==
"@harnessio/react-har-service-client@^0.0.23":
version "0.0.23"