From 4904cd059a19405f0ecd26c3cdd67caa7afeecf1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 Nov 2024 21:30:52 +0100 Subject: [PATCH] Add visibility icon to repo list (#4460) --- web/src/components/atomic/Icon.vue | 9 ++++++++- web/src/components/repo/RepoItem.vue | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/web/src/components/atomic/Icon.vue b/web/src/components/atomic/Icon.vue index eda7c10ae..b4aa185cd 100644 --- a/web/src/components/atomic/Icon.vue +++ b/web/src/components/atomic/Icon.vue @@ -52,6 +52,9 @@ + + + @@ -102,6 +105,8 @@ import { mdiGithub, mdiGitlab, mdiHelpCircleOutline, + mdiLockOpenOutline, + mdiLockOutline, mdiMinusCircleOutline, mdiPackageVariant, mdiPause, @@ -176,7 +181,9 @@ export type IconNames = | 'attention' | 'spinner' | 'error' - | 'remove'; + | 'remove' + | 'visibility-private' + | 'visibility-internal'; defineProps<{ name: IconNames; diff --git a/web/src/components/repo/RepoItem.vue b/web/src/components/repo/RepoItem.vue index 11d9aa429..5557077a7 100644 --- a/web/src/components/repo/RepoItem.vue +++ b/web/src/components/repo/RepoItem.vue @@ -6,8 +6,19 @@ >
{{ `${repo.owner} / ${repo.name}` }}
-
- +
+
+ +
+
+ +
@@ -34,7 +45,6 @@