Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

refactor(frontend): replace all heroicons use SVG Icon Component (#135)

Yunwei Xiao5a29692d1262
diff --git a/frontend/.vscode/extensions.json b/frontend/.vscode/extensions.json
index 35c9d7c5a3..aab1eb7cc4 100644
--- a/frontend/.vscode/extensions.json
+++ b/frontend/.vscode/extensions.json
@@ -2,5 +2,6 @@
"recommendations": [
"johnsoncodehk.volar",
"lokalise.i18n-ally",
+ "antfu.iconify"
]
}
\ No newline at end of file
diff --git a/frontend/components.d.ts b/frontend/components.d.ts
index 4a007ddf2d..5f00923479 100644
--- a/frontend/components.d.ts
+++ b/frontend/components.d.ts
@@ -52,8 +52,73 @@ declare module 'vue' {
EnvironmentSelect: typeof import('./src/components/EnvironmentSelect.vue')['default']
EnvironmentTabFilter: typeof import('./src/components/EnvironmentTabFilter.vue')['default']
EnvironmentTable: typeof import('./src/components/EnvironmentTable.vue')['default']
+ 'HeroiconsOutline:archive': typeof import('virtual:vite-icons/heroicons-outline/archive')['default']
+ 'HeroiconsOutline:ban': typeof import('virtual:vite-icons/heroicons-outline/ban')['default']
'HeroiconsOutline:bell': typeof import('virtual:vite-icons/heroicons-outline/bell')['default']
+ 'HeroiconsOutline:check': typeof import('virtual:vite-icons/heroicons-outline/check')['default']
+ 'HeroiconsOutline:checkCircle': typeof import('virtual:vite-icons/heroicons-outline/check-circle')['default']
+ 'HeroiconsOutline:chevronDoubleDown': typeof import('virtual:vite-icons/heroicons-outline/chevron-double-down')['default']
+ 'HeroiconsOutline:chevronLeft': typeof import('virtual:vite-icons/heroicons-outline/chevron-left')['default']
+ 'HeroiconsOutline:chevronRight': typeof import('virtual:vite-icons/heroicons-outline/chevron-right')['default']
+ 'HeroiconsOutline:clipboard': typeof import('virtual:vite-icons/heroicons-outline/clipboard')['default']
+ 'HeroiconsOutline:code': typeof import('virtual:vite-icons/heroicons-outline/code')['default']
+ 'HeroiconsOutline:collection': typeof import('virtual:vite-icons/heroicons-outline/collection')['default']
+ 'HeroiconsOutline:cube': typeof import('virtual:vite-icons/heroicons-outline/cube')['default']
+ 'HeroiconsOutline:database': typeof import('virtual:vite-icons/heroicons-outline/database')['default']
+ 'HeroiconsOutline:duplicate': typeof import('virtual:vite-icons/heroicons-outline/duplicate')['default']
+ 'HeroiconsOutline:exclamation': typeof import('virtual:vite-icons/heroicons-outline/exclamation')['default']
+ 'HeroiconsOutline:exclamationCircle': typeof import('virtual:vite-icons/heroicons-outline/exclamation-circle')['default']
+ 'HeroiconsOutline:externalLink': typeof import('virtual:vite-icons/heroicons-outline/external-link')['default']
+ 'HeroiconsOutline:eye': typeof import('virtual:vite-icons/heroicons-outline/eye')['default']
+ 'HeroiconsOutline:eyeOff': typeof import('virtual:vite-icons/heroicons-outline/eye-off')['default']
+ 'HeroiconsOutline:hand': typeof import('virtual:vite-icons/heroicons-outline/hand')['default']
+ 'HeroiconsOutline:home': typeof import('virtual:vite-icons/heroicons-outline/home')['default']
+ 'HeroiconsOutline:inbox': typeof import('virtual:vite-icons/heroicons-outline/inbox')['default']
+ 'HeroiconsOutline:informationCircle': typeof import('virtual:vite-icons/heroicons-outline/information-circle')['default']
+ 'HeroiconsOutline:lightningBolt': typeof import('virtual:vite-icons/heroicons-outline/lightning-bolt')['default']
+ 'HeroiconsOutline:menu': typeof import('virtual:vite-icons/heroicons-outline/menu')['default']
+ 'HeroiconsOutline:minus': typeof import('virtual:vite-icons/heroicons-outline/minus')['default']
+ 'HeroiconsOutline:minusCircle': typeof import('virtual:vite-icons/heroicons-outline/minus-circle')['default']
+ 'HeroiconsOutline:minusSm': typeof import('virtual:vite-icons/heroicons-outline/minus-sm')['default']
+ 'HeroiconsOutline:pencil': typeof import('virtual:vite-icons/heroicons-outline/pencil')['default']
+ 'HeroiconsOutline:pencilAlt': typeof import('virtual:vite-icons/heroicons-outline/pencil-alt')['default']
+ 'HeroiconsOutline:play': typeof import('virtual:vite-icons/heroicons-outline/play')['default']
+ 'HeroiconsOutline:plusSm': typeof import('virtual:vite-icons/heroicons-outline/plus-sm')['default']
+ 'HeroiconsOutline:questionMarkCircle': typeof import('virtual:vite-icons/heroicons-outline/question-mark-circle')['default']
+ 'HeroiconsOutline:refresh': typeof import('virtual:vite-icons/heroicons-outline/refresh')['default']
+ 'HeroiconsOutline:reply': typeof import('virtual:vite-icons/heroicons-outline/reply')['default']
+ 'HeroiconsOutline:search': typeof import('virtual:vite-icons/heroicons-outline/search')['default']
+ 'HeroiconsOutline:selector': typeof import('virtual:vite-icons/heroicons-outline/selector')['default']
+ 'HeroiconsOutline:shieldExclamation': typeof import('virtual:vite-icons/heroicons-outline/shield-exclamation')['default']
+ 'HeroiconsOutline:switchHorizontal': typeof import('virtual:vite-icons/heroicons-outline/switch-horizontal')['default']
+ 'HeroiconsOutline:template': typeof import('virtual:vite-icons/heroicons-outline/template')['default']
+ 'HeroiconsOutline:thumbUp': typeof import('virtual:vite-icons/heroicons-outline/thumb-up')['default']
'HeroiconsOutline:translate': typeof import('virtual:vite-icons/heroicons-outline/translate')['default']
+ 'HeroiconsOutline:trash': typeof import('virtual:vite-icons/heroicons-outline/trash')['default']
+ 'HeroiconsOutline:user': typeof import('virtual:vite-icons/heroicons-outline/user')['default']
+ 'HeroiconsOutline:userAdd': typeof import('virtual:vite-icons/heroicons-outline/user-add')['default']
+ 'HeroiconsOutline:users': typeof import('virtual:vite-icons/heroicons-outline/users')['default']
+ 'HeroiconsOutline:x': typeof import('virtual:vite-icons/heroicons-outline/x')['default']
+ 'HeroiconsSolid:arrowCircleLeft': typeof import('virtual:vite-icons/heroicons-solid/arrow-circle-left')['default']
+ 'HeroiconsSolid:arrowCircleRight': typeof import('virtual:vite-icons/heroicons-solid/arrow-circle-right')['default']
+ 'HeroiconsSolid:arrowNarrowRight': typeof import('virtual:vite-icons/heroicons-solid/arrow-narrow-right')['default']
+ 'HeroiconsSolid:bell': typeof import('virtual:vite-icons/heroicons-solid/bell')['default']
+ 'HeroiconsSolid:chatAlt': typeof import('virtual:vite-icons/heroicons-solid/chat-alt')['default']
+ 'HeroiconsSolid:check': typeof import('virtual:vite-icons/heroicons-solid/check')['default']
+ 'HeroiconsSolid:checkCircle': typeof import('virtual:vite-icons/heroicons-solid/check-circle')['default']
+ 'HeroiconsSolid:chevronRight': typeof import('virtual:vite-icons/heroicons-solid/chevron-right')['default']
+ 'HeroiconsSolid:dotsVertical': typeof import('virtual:vite-icons/heroicons-solid/dots-vertical')['default']
+ 'HeroiconsSolid:home': typeof import('virtual:vite-icons/heroicons-solid/home')['default']
+ 'HeroiconsSolid:informationCircle': typeof import('virtual:vite-icons/heroicons-solid/information-circle')['default']
+ 'HeroiconsSolid:minus': typeof import('virtual:vite-icons/heroicons-solid/minus')['default']
+ 'HeroiconsSolid:pencil': typeof import('virtual:vite-icons/heroicons-solid/pencil')['default']
+ 'HeroiconsSolid:plus': typeof import('virtual:vite-icons/heroicons-solid/plus')['default']
+ 'HeroiconsSolid:plusSm': typeof import('virtual:vite-icons/heroicons-solid/plus-sm')['default']
+ 'HeroiconsSolid:save': typeof import('virtual:vite-icons/heroicons-solid/save')['default']
+ 'HeroiconsSolid:search': typeof import('virtual:vite-icons/heroicons-solid/search')['default']
+ 'HeroiconsSolid:selector': typeof import('virtual:vite-icons/heroicons-solid/selector')['default']
+ 'HeroiconsSolid:star': typeof import('virtual:vite-icons/heroicons-solid/star')['default']
+ 'HeroiconsSolid:x': typeof import('virtual:vite-icons/heroicons-solid/x')['default']
InboxList: typeof import('./src/components/InboxList.vue')['default']
IndexTable: typeof import('./src/components/IndexTable.vue')['default']
InstanceEngineIcon: typeof import('./src/components/InstanceEngineIcon.vue')['default']
diff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vue
index 998b5356ed..4824219140 100644
--- a/frontend/src/bbkit/BBAlert.vue
+++ b/frontend/src/bbkit/BBAlert.vue
@@ -79,22 +79,8 @@
sm:mx-0 sm:h-10 sm:w-10
"
>
- <!-- Heroicon name: outline/exclamation -->
- <svg
- class="h-6 w-6 text-success"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 13l4 4L19 7"
- />
- </svg>
+ <!-- Heroicons name: outline/exclamation -->
+ <heroicons-outline:exclamation class="h-6 w-6 text-success" />
</div>
<div
v-else-if="style == 'WARN'"
@@ -110,22 +96,8 @@
sm:mx-0 sm:h-10 sm:w-10
"
>
- <!-- Heroicon name: outline/exclamation -->
- <svg
- class="h-6 w-6 text-yellow-600"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
+ <!-- Heroicons name: outline/exclamation -->
+ <heroicons-outline:exclamation class="h-6 w-6 text-yellow-600" />
</div>
<div
v-else-if="style == 'CRITICAL'"
@@ -141,22 +113,8 @@
sm:mx-0 sm:h-10 sm:w-10
"
>
- <!-- Heroicon name: outline/exclamation -->
- <svg
- class="h-6 w-6 text-red-600"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- />
- </svg>
+ <!-- Heroicons name: outline/exclamation -->
+ <heroicons-outline:exclamation class="h-6 w-6 text-red-600" />
</div>
<div
v-else
@@ -172,22 +130,8 @@
sm:mx-0 sm:h-10 sm:w-10
"
>
- <!-- Heroicon name: outline/exclamation -->
- <svg
- class="h-6 w-6 text-blue-600"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <!-- Heroicons name: outline/exclamation -->
+ <heroicons-outline:exclamation class="h-6 w-6 text-blue-600" />
</div>
<h3
id="modal-headline"
diff --git a/frontend/src/bbkit/BBAttention.vue b/frontend/src/bbkit/BBAttention.vue
index e6d73ec3e8..a18c313232 100644
--- a/frontend/src/bbkit/BBAttention.vue
+++ b/frontend/src/bbkit/BBAttention.vue
@@ -2,50 +2,22 @@
<div class="rounded-md p-4" :class="`bg-${color}-50`">
<div class="flex">
<div class="flex-shrink-0">
- <!-- Heroicon name: solid/exclamation -->
- <svg
+ <!-- Heroicon name: solid/information -->
+ <heroicons-solid:information-circle
v-if="style == 'INFO'"
class="w-5 h-5"
:class="`text-${color}-400`"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"
- clip-rule="evenodd"
- ></path>
- </svg>
- <svg
+ />
+ <heroicons-solid:information-circle
v-else-if="style == 'WARN'"
class="h-5 w-5"
:class="`text-${color}-400`"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
- clip-rule="evenodd"
- />
- </svg>
- <svg
+ />
+ <heroicons-solid:information-circle
v-else-if="style == 'CRITICAL'"
class="w-5 h-5"
:class="`text-${color}-400`"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ />
</div>
<div class="ml-3">
<h3 class="text-sm font-medium" :class="`text-${color}-800`">
diff --git a/frontend/src/bbkit/BBButtonAdd.vue b/frontend/src/bbkit/BBButtonAdd.vue
index 3756aa4fd1..2c1760ec1f 100644
--- a/frontend/src/bbkit/BBButtonAdd.vue
+++ b/frontend/src/bbkit/BBButtonAdd.vue
@@ -3,20 +3,7 @@
class="items-center flex justify-center btn-icon-primary"
@click.prevent="$emit('add')"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 6v6m0 0v6m0-6h6m-6 0H6"
- ></path>
- </svg>
+ <heroicons-solid:plus class="w-6 h-6" />
</button>
</template>
diff --git a/frontend/src/bbkit/BBButtonConfirm.vue b/frontend/src/bbkit/BBButtonConfirm.vue
index 66e6f0cae7..2fa5846c7d 100644
--- a/frontend/src/bbkit/BBButtonConfirm.vue
+++ b/frontend/src/bbkit/BBButtonConfirm.vue
@@ -11,57 +11,12 @@
}
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- v-if="style == 'DELETE'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- ></path>
- <path
- v-if="style == 'ARCHIVE'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"
- ></path>
- <path
- v-if="style == 'RESTORE'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6"
- ></path>
-
- <path
- v-if="style == 'DISABLE'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- <path
- v-if="style == 'EDIT'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
- ></path>
- <path
- v-if="style == 'CLONE'"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
- ></path>
- </svg>
+ <heroicons-outline:trash v-if="style == 'DELETE'" class="w-4 h-4" />
+ <heroicons-outline:archive v-if="style == 'ARCHIVE'" class="w-4 h-4" />
+ <heroicons-outline:reply v-if="style == 'RESTORE'" class="w-4 h-4" />
+ <heroicons-outline:minus-circle v-if="style == 'DISABLE'" class="w-4 h-4" />
+ <heroicons-outline:pencil v-if="style == 'EDIT'" class="w-4 h-4" />
+ <heroicons-outline:duplicate v-if="style == 'CLONE'" class="w-4 h-4" />
<span v-if="buttonText" class="ml-1">{{ buttonText }}</span>
</button>
<BBAlert
diff --git a/frontend/src/bbkit/BBModal.vue b/frontend/src/bbkit/BBModal.vue
index e3f3a998be..c5b1d6af3c 100644
--- a/frontend/src/bbkit/BBModal.vue
+++ b/frontend/src/bbkit/BBModal.vue
@@ -38,22 +38,8 @@
@click.prevent="close"
>
<span class="sr-only">Close</span>
- <!-- Heroicon name: x -->
- <svg
- class="h-6 w-6"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M6 18L18 6M6 6l12 12"
- />
- </svg>
+ <!-- Heroicons name: x -->
+ <heroicons-solid:x class="w-6 h-6" />
</button>
</div>
<div class="pt-4 px-0.5 max-h-screen overflow-auto w-full">
diff --git a/frontend/src/bbkit/BBNotification.vue b/frontend/src/bbkit/BBNotification.vue
index caeefe9437..dac970e71d 100644
--- a/frontend/src/bbkit/BBNotification.vue
+++ b/frontend/src/bbkit/BBNotification.vue
@@ -41,69 +41,16 @@
<div class="flex items-start">
<div class="flex-shrink-0">
<template v-if="notification.style == 'SUCCESS'">
- <svg
- class="h-6 w-6 text-success"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
+ <heroicons-outline:check-circle class="h-6 w-6 text-success" />
</template>
<template v-else-if="notification.style == 'WARN'">
- <svg
- class="w-6 h-6 text-yellow-600"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
+ <heroicons-outline:exclamation class="h-6 w-6 text-yellow-600" />
</template>
<template v-else-if="notification.style == 'CRITICAL'">
- <svg
- class="w-6 h-6 text-red-600"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:exclamation-circle class="h-6 w-6 text-red-600" />
</template>
<template v-else>
- <svg
- class="w-6 h-6 text-blue-600"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:information-circle class="w-6 h-6 text-blue-600" />
</template>
</div>
<div class="ml-3 w-0 flex-1 pt-0.5">
@@ -167,19 +114,7 @@
>
<span class="sr-only">Close</span>
<!-- Heroicon name: solid/x -->
- <svg
- class="h-5 w-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:x class="h-5 w-5" />
</button>
</div>
</div>
diff --git a/frontend/src/bbkit/BBOutline.vue b/frontend/src/bbkit/BBOutline.vue
index c7ea0ad2a4..e6b57ffbfc 100644
--- a/frontend/src/bbkit/BBOutline.vue
+++ b/frontend/src/bbkit/BBOutline.vue
@@ -73,20 +73,7 @@
class="focus:outline-none"
@click.prevent="$emit('delete-index', index)"
>
- <svg
- class="w-4 h-4 hover:text-control-hover"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M6 18L18 6M6 6l12 12"
- ></path>
- </svg>
+ <heroicons-solid:x class="w-4 h-4 hover:text-control-hover" />
</button>
</router-link>
<span v-else class="pl-1 py-1 truncate">{{ item.name }}</span>
diff --git a/frontend/src/bbkit/BBSelect.vue b/frontend/src/bbkit/BBSelect.vue
index 31b508fa48..032c1c675e 100644
--- a/frontend/src/bbkit/BBSelect.vue
+++ b/frontend/src/bbkit/BBSelect.vue
@@ -39,19 +39,7 @@
"
>
<!-- Heroicon name: solid/selector -->
- <svg
- class="h-5 w-5 text-control-light"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:selector class="h-5 w-5 text-control-light" />
</span>
</button>
@@ -126,19 +114,7 @@
class="absolute inset-y-0 right-0 flex items-center pr-4"
>
<!-- Heroicon name: solid/check -->
- <svg
- class="h-5 w-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="h-5 w-5" />
</span>
</li>
</ul>
diff --git a/frontend/src/bbkit/BBStepBar.vue b/frontend/src/bbkit/BBStepBar.vue
index bf6a8a94a1..3880e5f2b1 100644
--- a/frontend/src/bbkit/BBStepBar.vue
+++ b/frontend/src/bbkit/BBStepBar.vue
@@ -32,20 +32,7 @@
step.status == `PENDING_APPROVAL_ACTIVE`
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
- ></path>
- </svg>
+ <heroicons-outline:user class="w-4 h-4" />
</template>
<template v-else-if="step.status == `RUNNING`">
<span
@@ -57,19 +44,7 @@
></span>
</template>
<template v-else-if="step.status == `DONE`">
- <svg
- class="w-5 h-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-outline:check class="w-5 h-5" />
</template>
<template v-else-if="step.status == `FAILED`">
<span
@@ -87,36 +62,10 @@
>
</template>
<template v-else-if="step.status == `CANCELED`">
- <svg
- class="w-5 h-5"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- aria-hidden="true"
- >
- >
- <path
- fill-rule="evenodd"
- d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:minus class="w-5 h-5" />
</template>
<template v-else-if="step.status == `SKIPPED`">
- <svg
- class="w-4 h-4"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- aria-hidden="true"
- >
- >
- <path
- fill-rule="evenodd"
- d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:minus class="w-4 h-4" />
</template>
</div>
</li>
diff --git a/frontend/src/bbkit/BBStepTab.vue b/frontend/src/bbkit/BBStepTab.vue
index 03d38859dd..265fdfd7bb 100644
--- a/frontend/src/bbkit/BBStepTab.vue
+++ b/frontend/src/bbkit/BBStepTab.vue
@@ -44,19 +44,7 @@
select-none
"
>
- <svg
- class="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="w-4 h-4" />
</div>
</div>
</div>
@@ -86,20 +74,9 @@
class="btn-normal"
@click.prevent="changeStep(state.currentStep - 1)"
>
- <svg
+ <heroicons-outline:chevron-left
class="-ml-1 mr-1 h-5 w-5 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 19l-7-7 7-7"
- ></path>
- </svg>
+ />
<span>Back</span>
</button>
<button
diff --git a/frontend/src/bbkit/BBTab.vue b/frontend/src/bbkit/BBTab.vue
index bf2a5f7ece..22822bb0b7 100644
--- a/frontend/src/bbkit/BBTab.vue
+++ b/frontend/src/bbkit/BBTab.vue
@@ -43,18 +43,7 @@
}
"
>
- <svg
- class="w-6 h-6"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm.707-10.293a1 1 0 00-1.414-1.414l-3 3a1 1 0 000 1.414l3 3a1 1 0 001.414-1.414L9.414 11H13a1 1 0 100-2H9.414l1.293-1.293z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:arrow-circle-left class="w-6 h-6" />
</button>
<div v-else class="pl-6"></div>
{{ item.title }}
@@ -79,18 +68,7 @@
}
"
>
- <svg
- class="w-6 h-6"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:arrow-circle-right class="w-6 h-6" />
</button>
<div v-else class="pr-6"></div>
</a>
@@ -110,20 +88,7 @@
:class="addTabClass()"
@click.prevent="$emit('create')"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 6v6m0 0v6m0-6h6m-6 0H6"
- ></path>
- </svg>
+ <heroicons-solid:plus class="w-6 h-6" />
</button>
</nav>
</div>
diff --git a/frontend/src/bbkit/BBTable/BBTableSearch.vue b/frontend/src/bbkit/BBTable/BBTableSearch.vue
index 765946b99c..91426d278b 100644
--- a/frontend/src/bbkit/BBTable/BBTableSearch.vue
+++ b/frontend/src/bbkit/BBTable/BBTableSearch.vue
@@ -15,19 +15,7 @@
aria-hidden="true"
>
<!-- Heroicon name: solid/search -->
- <svg
- class="mr-3 h-4 w-4 text-control"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:search class="mr-3 h-4 w-4 text-control" />
</div>
<input
id="search"
diff --git a/frontend/src/bbkit/test.svg b/frontend/src/bbkit/test.svg
new file mode 100644
index 0000000000..e99b03111c
--- /dev/null
+++ b/frontend/src/bbkit/test.svg
@@ -0,0 +1,51 @@
+<svg
+ class="w-4 h-4"
+ fill="none"
+ stroke="currentColor"
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ v-if="style == 'DELETE'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ ></path>
+ <path
+ v-if="style == 'ARCHIVE'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"
+ ></path>
+ <path
+ v-if="style == 'RESTORE'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M3 10h10a8 8 0 018 8v2M3 10l6 6m-6-6l6-6"
+ ></path>
+
+ <path
+ v-if="style == 'DISABLE'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"
+ ></path>
+ <path
+ v-if="style == 'EDIT'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
+ ></path>
+ <path
+ v-if="style == 'CLONE'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
+ ></path>
+ </svg>
\ No newline at end of file
diff --git a/frontend/src/components/ActivityTable.vue b/frontend/src/components/ActivityTable.vue
index be242807ef..b444d15568 100644
--- a/frontend/src/components/ActivityTable.vue
+++ b/frontend/src/components/ActivityTable.vue
@@ -23,36 +23,10 @@
"
>
<template v-if="activity.level === `WARN`">
- <svg
- class="text-warning"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:information-circle class="text-warning" />
</template>
<template v-else-if="activity.level === `ERROR`">
- <svg
- class="text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:exclamation-circle class="text-error" />
</template>
</span>
<span>{{ activityName(activity.type) }}</span>
@@ -64,20 +38,7 @@
class="normal-link flex flex-row items-center"
>
<span>{{ activityTypeLink(activity).title }}</span>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</a>
<router-link
v-else
@@ -100,20 +61,7 @@
class="normal-link flex flex-row items-center"
>
<span>{{ activityCommentLink(activity).title }}</span>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</a>
<router-link
v-else
diff --git a/frontend/src/components/AlterSchemaPrepForm.vue b/frontend/src/components/AlterSchemaPrepForm.vue
index 206b5e11e9..009914f155 100644
--- a/frontend/src/components/AlterSchemaPrepForm.vue
+++ b/frontend/src/components/AlterSchemaPrepForm.vue
@@ -9,20 +9,7 @@
</template>
<template v-else>
<div class="flex flex-row space-x-2">
- <svg
- class="w-8 h-8 text-control -mt-1.5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
- ></path>
- </svg>
+ <heroicons-outline:collection class="w-8 h-8 text-control -mt-1.5" />
<p class="textlabel">
indicates the project has enabled version control. Selecting database
belonging to such project will navigate you to the corresponding Git
diff --git a/frontend/src/components/AnomalyTable.vue b/frontend/src/components/AnomalyTable.vue
index fba991d475..4a32f46372 100644
--- a/frontend/src/components/AnomalyTable.vue
+++ b/frontend/src/components/AnomalyTable.vue
@@ -20,51 +20,18 @@
</template>
<template #body="{ rowData: anomaly }">
<BBTableCell :left-padding="4">
- <svg
+ <heroicons-outline:information-circle
v-if="anomaly.severity == 'MEDIUM'"
class="w-6 h-6 text-info"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
- <svg
+ />
+ <heroicons-outline:exclamation
v-else-if="anomaly.severity == 'HIGH'"
class="w-6 h-6 text-warning"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
- <svg
+ />
+ <heroicons-outline:exclamation-circle
v-else-if="anomaly.severity == 'CRITICAL'"
class="w-6 h-6 text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ />
</BBTableCell>
<BBTableCell>
{{ typeName(anomaly.type) }}
diff --git a/frontend/src/components/BackupTable.vue b/frontend/src/components/BackupTable.vue
index 8cd9992300..af3053c234 100644
--- a/frontend/src/components/BackupTable.vue
+++ b/frontend/src/components/BackupTable.vue
@@ -40,19 +40,7 @@
</span>
</template>
<template v-else-if="backup.status == 'DONE'">
- <svg
- class="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-outline:check class="w-4 h-4" />
</template>
<template v-else-if="backup.status == 'FAILED'">
<span
diff --git a/frontend/src/components/Breadcrumb.vue b/frontend/src/components/Breadcrumb.vue
index 72ca6cf0b5..ad650971e1 100644
--- a/frontend/src/components/Breadcrumb.vue
+++ b/frontend/src/components/Breadcrumb.vue
@@ -9,33 +9,13 @@
active-class="link"
exact-active-class="link"
>
- <!-- Heroicon name: home -->
- <svg
- class="flex-shrink-0 h-4 w-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"
- />
- </svg>
+ <!-- Heroicon name: solid/home -->
+ <heroicons-solid:home class="flex-shrink-0 h-4 w-4" />
<span class="sr-only">Home</span>
</router-link>
- <svg
+ <heroicons-solid:chevron-right
class="ml-2 flex-shrink-0 h-4 w-4 text-control-light"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<router-link
v-if="item.path"
:to="item.path"
@@ -53,30 +33,14 @@
type="button"
@click.prevent="toggleBookmark"
>
- <svg
+ <heroicons-solid:star
v-if="isBookmarked"
class="h-5 w-5 text-yellow-400 hover:text-yellow-600"
- x-description="Heroicon name: star"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path
- d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
- ></path>
- </svg>
- <svg
+ />
+ <heroicons-solid:star
v-else
class="h-5 w-5 text-control-light hover:text-control-light-hover"
- x-description="Heroicon name: star"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path
- d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
- ></path>
- </svg>
+ />
</button>
</div>
</div>
diff --git a/frontend/src/components/DataSourceConnectionPanel.vue b/frontend/src/components/DataSourceConnectionPanel.vue
index f86f9fcbe5..c6bc8c999d 100644
--- a/frontend/src/components/DataSourceConnectionPanel.vue
+++ b/frontend/src/components/DataSourceConnectionPanel.vue
@@ -10,42 +10,11 @@
class="btn-icon"
@click.prevent="state.showPassword = !state.showPassword"
>
- <svg
+ <heroicons-outline:eye-off
v-if="state.showPassword"
class="w-5 h-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"
- ></path>
- </svg>
- <svg
- v-else
- class="w-5 h-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
- ></path>
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
- ></path>
- </svg>
+ />
+ <heroicons-outline:eye v-else class="w-5 h-5" />
</button>
</dt>
<dd class="mt-2 text-sm text-main">
@@ -103,20 +72,7 @@
"
@click.prevent="copyText(connection)"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
</div>
</div>
diff --git a/frontend/src/components/DataSourceCreateForm.vue b/frontend/src/components/DataSourceCreateForm.vue
index f6f858c77e..145382332b 100644
--- a/frontend/src/components/DataSourceCreateForm.vue
+++ b/frontend/src/components/DataSourceCreateForm.vue
@@ -86,42 +86,11 @@
class="btn-icon"
@click.prevent="state.showPassword = !state.showPassword"
>
- <svg
+ <heroicons-outline:eye-off
v-if="state.showPassword"
class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"
- ></path>
- </svg>
- <svg
- v-else
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
- ></path>
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
- ></path>
- </svg>
+ />
+ <heroicons-outline:eye v-else class="w-6 h-6" />
</button>
</div>
<input
diff --git a/frontend/src/components/DataSourceTable.vue b/frontend/src/components/DataSourceTable.vue
index d2ddc27586..f3cfae86c9 100644
--- a/frontend/src/components/DataSourceTable.vue
+++ b/frontend/src/components/DataSourceTable.vue
@@ -13,42 +13,11 @@
class="btn-icon"
@click.prevent="state.showPassword = !state.showPassword"
>
- <svg
+ <heroicons-outline:eye-off
v-if="state.showPassword"
class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"
- ></path>
- </svg>
- <svg
- v-else
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
- ></path>
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
- ></path>
- </svg>
+ />
+ <heroicons-outline:eye v-else class="w-6 h-6" />
</button>
<BBTableSearch
ref="searchField"
diff --git a/frontend/src/components/DatabaseBackupPanel.vue b/frontend/src/components/DatabaseBackupPanel.vue
index 92108a1ed4..845d73e896 100644
--- a/frontend/src/components/DatabaseBackupPanel.vue
+++ b/frontend/src/components/DatabaseBackupPanel.vue
@@ -41,20 +41,7 @@
class="normal-link inline-flex flex-row items-center"
>
Learn more.
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</a>
</div>
<input
diff --git a/frontend/src/components/DatabaseOverviewPanel.vue b/frontend/src/components/DatabaseOverviewPanel.vue
index bd90fa2c45..cafb7c4d12 100644
--- a/frontend/src/components/DatabaseOverviewPanel.vue
+++ b/frontend/src/components/DatabaseOverviewPanel.vue
@@ -15,20 +15,7 @@
class="text-lg leading-6 font-medium text-main mb-4 flex flex-row"
>
No anomalies detected
- <svg
- class="ml-1 w-6 h-6 text-success"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:check-circle class="ml-1 w-6 h-6 text-success" />
</div>
<!-- Description list -->
@@ -156,16 +143,9 @@
@click.prevent="saveEditDataSource"
>
<!-- Heroicon name: solid/save -->
- <svg
+ <heroicons-solid:save
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z"
- ></path>
- </svg>
+ />
<span>Save</span>
</button>
</template>
@@ -176,16 +156,9 @@
@click.prevent="editDataSource(ds)"
>
<!-- Heroicon name: solid/pencil -->
- <svg
+ <heroicons-solid:pencil
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- ></path>
- </svg>
+ />
<span>Edit</span>
</button>
</template>
diff --git a/frontend/src/components/DatabaseTable.vue b/frontend/src/components/DatabaseTable.vue
index 6b057d8f73..c6fa385c64 100644
--- a/frontend/src/components/DatabaseTable.vue
+++ b/frontend/src/components/DatabaseTable.vue
@@ -20,20 +20,7 @@
>Last sync status {{ database.syncStatus }} at
{{ humanizeTs(database.lastSuccessfulSyncTs) }}</span
>
- <svg
- class="w-5 h-5 text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:exclamation-circle class="w-5 h-5 text-error" />
</div>
</div>
</BBTableCell>
@@ -51,20 +38,9 @@
></svg>
<template v-else-if="database.project.workflowType == 'VCS'">
<span class="tooltip">Version control enabled</span>
- <svg
+ <heroicons-outline:collection
class="w-4 h-4 text-control hover:text-control-hover"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
- ></path>
- </svg>
+ />
</template>
</div>
</div>
@@ -91,20 +67,7 @@
window.open(databaseConsoleLink(database.name), '_blank')
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</button>
</BBTableCell>
</template>
diff --git a/frontend/src/components/InboxList.vue b/frontend/src/components/InboxList.vue
index 00591e01fe..5bbcc11cd1 100644
--- a/frontend/src/components/InboxList.vue
+++ b/frontend/src/components/InboxList.vue
@@ -34,37 +34,14 @@
</template>
<span> {{ actionSentence(inbox.activity) }}</span>
<template v-if="inbox.activity.level == 'WARN'">
- <svg
+ <heroicons-outline:exclamation
class="ml-1 h-6 w-6 text-warning"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
+ />
</template>
<template v-else-if="inbox.activity.level == 'ERROR'">
- <svg
+ <heroicons-outline:exclamation-circle
class="ml-1 w-6 h-6 text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ />
</template>
</h3>
<p class="text-sm text-control whitespace-nowrap">
diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vue
index cf07eb3f83..c0cfa878d9 100644
--- a/frontend/src/components/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm.vue
@@ -185,20 +185,7 @@
window.open(urlfy(instanceLink(state.instance)), '_blank')
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</button>
</label>
<template v-if="state.instance.engine == 'SNOWFLAKE'">
@@ -335,20 +322,7 @@
"
@click.prevent="copyGrantStatement"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
</div>
</div>
diff --git a/frontend/src/components/InstanceTable.vue b/frontend/src/components/InstanceTable.vue
index 599d089885..738981e788 100644
--- a/frontend/src/components/InstanceTable.vue
+++ b/frontend/src/components/InstanceTable.vue
@@ -28,20 +28,7 @@
class="btn-icon"
@click.stop="window.open(urlfy(instanceLink(instance)), '_blank')"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</button>
</BBTableCell>
<BBTableCell class="w-16">
diff --git a/frontend/src/components/IssueActivityPanel.vue b/frontend/src/components/IssueActivityPanel.vue
index b056fd9592..b2c3e98cae 100644
--- a/frontend/src/components/IssueActivityPanel.vue
+++ b/frontend/src/components/IssueActivityPanel.vue
@@ -76,18 +76,7 @@
justify-center
"
>
- <svg
- class="w-5 h-5 text-control"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:plus-sm class="w-5 h-5 text-control" />
</div>
</div>
</template>
@@ -105,16 +94,7 @@
justify-center
"
>
- <svg
- class="w-4 h-4 text-control"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- ></path>
- </svg>
+ <heroicons-solid:pencil class="w-4 h-4 text-control" />
</div>
</div>
</template>
@@ -132,26 +112,7 @@
justify-center
"
>
- <svg
- class="w-6 h-6 text-control"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"
- ></path>
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:play class="w-6 h-6 text-control" />
</div>
</div>
</template>
@@ -169,20 +130,9 @@
justify-center
"
>
- <svg
+ <heroicons-outline:thumb-up
class="w-5 h-5 text-control"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M14 10h4.764a2 2 0 011.789 2.894l-3.5 7A2 2 0 0115.263 21h-4.017c-.163 0-.326-.02-.485-.06L7 20m7-10V5a2 2 0 00-2-2h-.095c-.5 0-.905.405-.905.905 0 .714-.211 1.412-.608 2.006L7 11v9m7-10h-2M7 20H5a2 2 0 01-2-2v-6a2 2 0 012-2h2.5"
- ></path>
- </svg>
+ />
</div>
</div>
</template>
@@ -200,20 +150,7 @@
justify-center
"
>
- <svg
- class="w-5 h-5 text-control"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M20 12H4"
- ></path>
- </svg>
+ <heroicons-outline:minus class="w-5 h-5 text-control" />
</div>
</div>
</template>
@@ -231,20 +168,9 @@
justify-center
"
>
- <svg
+ <heroicons-outline:exclamation-circle
class="w-6 h-6 text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ />
</div>
</div>
</template>
@@ -262,20 +188,9 @@
justify-center
"
>
- <svg
+ <heroicons-outline:check-circle
class="w-6 h-6 text-success"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ />
</div>
</div>
</template>
@@ -293,20 +208,7 @@
justify-center
"
>
- <svg
- class="w-5 h-5 text-control"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"
- ></path>
- </svg>
+ <heroicons-outline:code class="w-5 h-5 text-control" />
</div>
</div>
</template>
@@ -425,40 +327,14 @@
}
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- ></path>
- </svg>
+ <heroicons-outline:trash class="w-4 h-4" />
</button>
<!-- Edit Comment Button-->
<button
class="btn-icon"
@click.prevent="onUpdateComment(activity)"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
- ></path>
- </svg>
+ <heroicons-outline:pencil class="w-4 h-4" />
</button>
</div>
</div>
@@ -500,20 +376,7 @@
target="__blank"
class="normal-link flex flex-row items-center"
>View commit
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</a>
</template>
</div>
@@ -540,19 +403,9 @@
"
>
<!-- Heroicon name: solid/chat-alt -->
- <svg
+ <heroicons-solid:chat-alt
class="h-3.5 w-3.5 text-control-light"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z"
- clip-rule="evenodd"
- />
- </svg>
+ />
</span>
</div>
</div>
diff --git a/frontend/src/components/IssueDescriptionPanel.vue b/frontend/src/components/IssueDescriptionPanel.vue
index fb0620fb49..3dae2c2a14 100644
--- a/frontend/src/components/IssueDescriptionPanel.vue
+++ b/frontend/src/components/IssueDescriptionPanel.vue
@@ -11,17 +11,7 @@
>
<!-- Heroicon name: solid/pencil -->
<!-- Use h-5 to avoid flickering when show/hide icon -->
- <svg
- class="h-5 w-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- />
- </svg>
+ <heroicons-solid:pencil class="h-5 w-5" />
</button>
<!-- mt-0.5 is to prevent jiggling between switching edit/none-edit -->
<button
diff --git a/frontend/src/components/IssueOutputPanel.vue b/frontend/src/components/IssueOutputPanel.vue
index 876bde74a7..b0f1e9455f 100644
--- a/frontend/src/components/IssueOutputPanel.vue
+++ b/frontend/src/components/IssueOutputPanel.vue
@@ -67,20 +67,7 @@
"
@click.prevent="copyText(field)"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
<button
tabindex="-1"
@@ -104,20 +91,7 @@
"
@click.prevent="goToLink(fieldValue(field))"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-6 h-6" />
</button>
</div>
</template>
diff --git a/frontend/src/components/IssueStagePanel.vue b/frontend/src/components/IssueStagePanel.vue
index 9dfabbfef6..ae9e60d36e 100644
--- a/frontend/src/components/IssueStagePanel.vue
+++ b/frontend/src/components/IssueStagePanel.vue
@@ -2,19 +2,10 @@
<div class="space-y-4">
<div v-for="(task, index) in stage.taskList" :key="index">
<div class="flex flex-row items-center space-x-1">
- <svg
+ <heroicons-solid:arrow-narrow-right
v-if="stage.taskList.length > 1 && activeTask.id == task.id"
class="w-5 h-5 text-info"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ />
<div v-if="stage.taskList.length > 1" class="textlabel">
<span v-if="stage.taskList.length > 1"> Step {{ index + 1 }} - </span>
{{ task.name }}
diff --git a/frontend/src/components/IssueStatusIcon.vue b/frontend/src/components/IssueStatusIcon.vue
index 7ea69ff792..ab943f8a3b 100644
--- a/frontend/src/components/IssueStatusIcon.vue
+++ b/frontend/src/components/IssueStatusIcon.vue
@@ -23,35 +23,10 @@
></span>
</template>
<template v-else-if="issueStatus === `DONE`">
- <svg
- class="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="w-4 h-4" />
</template>
<template v-else-if="issueStatus === `CANCELED`">
- <svg
- class="w-5 h-5"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- aria-hidden="true"
- >
- >
- <path
- fill-rule="evenodd"
- d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:minus class="w-5 h-5" />
</template>
</span>
</template>
diff --git a/frontend/src/components/IssueStatusTransitionButtonGroup.vue b/frontend/src/components/IssueStatusTransitionButtonGroup.vue
index b2ce0405de..95b94a2f47 100644
--- a/frontend/src/components/IssueStatusTransitionButtonGroup.vue
+++ b/frontend/src/components/IssueStatusTransitionButtonGroup.vue
@@ -36,20 +36,7 @@
@click.prevent="$refs.menu.toggle($event)"
@contextmenu.capture.prevent="$refs.menu.toggle($event)"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"
- ></path>
- </svg>
+ <heroicons-solid:dots-vertical class="w-6 h-6" />
</button>
<BBContextMenu ref="menu" class="origin-top-right mt-10 w-42">
<template
diff --git a/frontend/src/components/IssueSubscriberPanel.vue b/frontend/src/components/IssueSubscriberPanel.vue
index 1a2019631c..befa00ed7a 100644
--- a/frontend/src/components/IssueSubscriberPanel.vue
+++ b/frontend/src/components/IssueSubscriberPanel.vue
@@ -44,24 +44,16 @@
@click.prevent="toggleSubscription"
>
<span class="w-full">
- <svg
+ <heroicons-outline:ban
+ v-if="isCurrentUserSubscribed"
class="h-5 w-5 text-control inline -mt-0.5 mr-1"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- v-if="isCurrentUserSubscribed"
- fill-rule="evenodd"
- d="M13.477 14.89A6 6 0 015.11 6.524l8.367 8.368zm1.414-1.414L6.524 5.11a6 6 0 018.367 8.367zM18 10a8 8 0 11-16 0 8 8 0 0116 0z"
- clip-rule="evenodd"
- ></path>
- <path
- v-else
- d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"
- ></path></svg
- >{{ isCurrentUserSubscribed ? "Unsubscribe" : "Subscribe" }}</span
- >
+ />
+ <heroicons-solid:bell
+ v-else
+ class="h-5 w-5 text-control inline -mt-0.5 mr-1"
+ />
+ {{ isCurrentUserSubscribed ? "Unsubscribe" : "Subscribe" }}
+ </span>
</button>
</div>
</template>
diff --git a/frontend/src/components/IssueTaskStatementPanel.vue b/frontend/src/components/IssueTaskStatementPanel.vue
index d54f09e385..660520271d 100644
--- a/frontend/src/components/IssueTaskStatementPanel.vue
+++ b/frontend/src/components/IssueTaskStatementPanel.vue
@@ -36,17 +36,7 @@
>
<!-- Heroicon name: solid/pencil -->
<!-- Use h-5 to avoid flickering when show/hide icon -->
- <svg
- class="h-5 w-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- />
- </svg>
+ <heroicons-solid:pencil class="h-5 w-5" />
</button>
<!-- mt-0.5 is to prevent jiggling betweening switching edit/none-edit -->
<button
diff --git a/frontend/src/components/MemberAddOrInvite.vue b/frontend/src/components/MemberAddOrInvite.vue
index a00de1df78..8f13a6c301 100644
--- a/frontend/src/components/MemberAddOrInvite.vue
+++ b/frontend/src/components/MemberAddOrInvite.vue
@@ -96,36 +96,8 @@
:disabled="!hasValidUserOnly()"
@click.prevent="addOrInvite"
>
- <svg
- v-if="isAdd"
- class="h-5 w-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 6v6m0 0v6m0-6h6m-6 0H6"
- ></path>
- </svg>
- <svg
- v-else
- class="mr-2 h-5 w-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
- ></path>
- </svg>
+ <heroicons-solid:plus v-if="isAdd" class="h-5 w-5" />
+ <heroicons-outline:mail v-else class="mr-2 h-5 w-5" />
{{ isAdd ? "Add" : "Send Invites" }}
</button>
</div>
diff --git a/frontend/src/components/MemberTable.vue b/frontend/src/components/MemberTable.vue
index 4d612ac088..4393d0c40a 100644
--- a/frontend/src/components/MemberTable.vue
+++ b/frontend/src/components/MemberTable.vue
@@ -126,18 +126,7 @@
</BBTable>
<div v-if="showUpgradeInfo" class="mt-6 border-t pt-4 border-block-border">
<div class="flex flex-row items-center space-x-1">
- <svg
- class="w-6 h-6 text-accent"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:sparkles class="w-6 h-6 text-accent" />
<router-link to="/setting/plan" class="text-lg accent-link"
>Upgrade to unlock Owner and DBA roles</router-link
>
diff --git a/frontend/src/components/MigrationHistoryStatusIcon.vue b/frontend/src/components/MigrationHistoryStatusIcon.vue
index b682bb728a..eaeef7644f 100644
--- a/frontend/src/components/MigrationHistoryStatusIcon.vue
+++ b/frontend/src/components/MigrationHistoryStatusIcon.vue
@@ -11,19 +11,7 @@
></span>
</template>
<template v-else-if="status === `DONE`">
- <svg
- class="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="w-4 h-4" />
</template>
<template v-else-if="status === `FAILED`">
<span
diff --git a/frontend/src/components/PricingTable.vue b/frontend/src/components/PricingTable.vue
index 13b55928ff..baeab73737 100644
--- a/frontend/src/components/PricingTable.vue
+++ b/frontend/src/components/PricingTable.vue
@@ -102,19 +102,9 @@
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main whitespace-nowrap"
>100 issues (excluding archived)</span
>
@@ -122,91 +112,41 @@
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited members</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited environments</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited instances</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited data sources</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Slack integration</span>
</li>
@@ -306,127 +246,57 @@
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited issues</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited members</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited environments</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited instances </span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited data sources</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Slack integration</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">DBA and Owner roles</span>
</li>
@@ -500,199 +370,89 @@
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited issues </span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited members</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited environments</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited instances</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Unlimited data sources</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Slack integration</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">DBA and Owner roles</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">SSO</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Custom branding</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Audit log</span>
</li>
<li class="flex space-x-3">
<!-- Heroicon name: solid/check -->
- <svg
+ <heroicons-solid:check
class="flex-shrink-0 h-5 w-5 text-green-500"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ />
<span class="text-sm text-main">Roadmap sharing</span>
</li>
</ul>
diff --git a/frontend/src/components/ProjectMemberPanel.vue b/frontend/src/components/ProjectMemberPanel.vue
index 1831b78b47..c18403d22d 100644
--- a/frontend/src/components/ProjectMemberPanel.vue
+++ b/frontend/src/components/ProjectMemberPanel.vue
@@ -55,20 +55,7 @@
:disabled="!hasValidMember"
@click.prevent="addMember"
>
- <svg
- class="mr-2 w-5 h-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"
- ></path>
- </svg>
+ <heroicons-outline:user-add class="mr-2 w-5 h-5" />
Add member
</button>
</div>
diff --git a/frontend/src/components/ProjectMigrationHistoryPanel.vue b/frontend/src/components/ProjectMigrationHistoryPanel.vue
index 36416b80db..7a5304ddc9 100644
--- a/frontend/src/components/ProjectMigrationHistoryPanel.vue
+++ b/frontend/src/components/ProjectMigrationHistoryPanel.vue
@@ -14,20 +14,7 @@
<template v-else>
<!-- This example requires Tailwind CSS v2.0+ -->
<div class="text-center">
- <svg
- class="mx-auto w-16 h-16 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"
- ></path>
- </svg>
+ <heroicons-outline:inbox class="mx-auto w-16 h-16 text-control-light" />
<h3 class="mt-2 text-sm font-medium text-main">
Do not find migration history from any database in this project.
</h3>
diff --git a/frontend/src/components/ProjectVersionControlPanel.vue b/frontend/src/components/ProjectVersionControlPanel.vue
index 6aa414160d..b98b828874 100644
--- a/frontend/src/components/ProjectVersionControlPanel.vue
+++ b/frontend/src/components/ProjectVersionControlPanel.vue
@@ -80,20 +80,7 @@
@click.prevent="enterWizard(true)"
>
Configure version control
- <svg
- class="ml-1 w-5 h-5"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5l7 7-7 7"
- ></path>
- </svg>
+ <heroicons-outline:chevron-right class="ml-1 w-5 h-5" />
</button>
</div>
</template>
diff --git a/frontend/src/components/ProjectWebhookPanel.vue b/frontend/src/components/ProjectWebhookPanel.vue
index 7db767cfad..e3f8ae94a5 100644
--- a/frontend/src/components/ProjectWebhookPanel.vue
+++ b/frontend/src/components/ProjectWebhookPanel.vue
@@ -20,20 +20,9 @@
</div>
<template v-else>
<div class="text-center">
- <svg
+ <heroicons-outline:inbox
class="mx-auto w-16 h-16 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"
- ></path>
- </svg>
+ />
<h3 class="mt-2 text-sm font-medium text-main">
No webhook configured for this project.
</h3>
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vue
index 684ae886f4..701f0d16f4 100644
--- a/frontend/src/components/QuickActionPanel.vue
+++ b/frontend/src/components/QuickActionPanel.vue
@@ -8,20 +8,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="createInstance">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 6v6m0 0v6m0-6h6m-6 0H6"
- ></path>
- </svg>
+ <heroicons-outline:plus-sm class="w-6 h-6" />
</button>
<h3 class="mt-1 text-base font-normal text-main tracking-tight">
Add Instance
@@ -33,20 +20,7 @@
class="flex flex-col items-center w-28"
>
<router-link to="/setting/member" class="btn-icon-primary p-3">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"
- ></path>
- </svg>
+ <heroicons-outline:users class="w-6 h-6" />
</router-link>
<h3
class="mt-1 text-center text-base font-normal text-main tracking-tight"
@@ -60,20 +34,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
- ></path>
- </svg>
+ <heroicons-outline:search class="w-6 h-6" />
</button>
<h3
class="mt-1 text-center text-base font-normal text-main tracking-tight"
@@ -87,20 +48,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
- ></path>
- </svg>
+ <heroicons-outline:pencil-alt class="w-6 h-6" />
</button>
<h3
class="mt-1 text-center text-base font-normal text-main tracking-tight"
@@ -114,20 +62,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="createDatabase">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"
- ></path>
- </svg>
+ <heroicons-outline:database class="w-6 h-6" />
</button>
<h3
class="mt-1 text-base text-center font-normal text-main tracking-tight"
@@ -141,20 +76,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="requestDatabase">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"
- ></path>
- </svg>
+ <heroicons-outline:database class="w-6 h-6" />
</button>
<h3
class="mt-1 text-base text-center font-normal text-main tracking-tight"
@@ -168,20 +90,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="alterSchema">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"
- ></path>
- </svg>
+ <heroicons-outline:pencil-alt class="w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
Alter Schema
@@ -193,20 +102,7 @@
class="flex flex-col items-center w-28"
>
<router-link to="/issue/new" class="btn-icon-primary p-3">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M7 11.5V14m0-2.5v-6a1.5 1.5 0 113 0m-3 6a1.5 1.5 0 00-3 0v2a7.5 7.5 0 0015 0v-5a1.5 1.5 0 00-3 0m-6-3V11m0-5.5v-1a1.5 1.5 0 013 0v1m0 0V11m0-5.5a1.5 1.5 0 013 0v3m0 0V11"
- ></path>
- </svg>
+ <heroicons-outline:hand class="w-6 h-6" />
</router-link>
<h3 class="mt-1 text-center text-base font-normal text-main">
Troubleshoot
@@ -218,20 +114,7 @@
class="flex flex-col items-center w-36"
>
<button class="btn-icon-primary p-3" @click.prevent="createEnvironment">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 6v6m0 0v6m0-6h6m-6 0H6"
- ></path>
- </svg>
+ <heroicons-outline:plus-sm class="w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
Add Environment
@@ -246,20 +129,7 @@
class="btn-icon-primary p-3"
@click.prevent="reorderEnvironment"
>
- <svg
- class="transform rotate-90 w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M8 9l4-4 4 4m0 6l-4 4-4-4"
- ></path>
- </svg>
+ <heroicons-outline:selector class="transform rotate-90 w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
Reorder
@@ -271,20 +141,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="createProject">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M4 5a1 1 0 011-1h14a1 1 0 011 1v2a1 1 0 01-1 1H5a1 1 0 01-1-1V5zM4 13a1 1 0 011-1h6a1 1 0 011 1v6a1 1 0 01-1 1H5a1 1 0 01-1-1v-6zM16 13a1 1 0 011-1h2a1 1 0 011 1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-6z"
- ></path>
- </svg>
+ <heroicons-outline:template class="w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
New Project
@@ -296,20 +153,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="goDefaultProject">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
- ></path>
- </svg>
+ <heroicons-outline:cube class="w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
Default Project
@@ -321,20 +165,7 @@
class="flex flex-col items-center w-28"
>
<button class="btn-icon-primary p-3" @click.prevent="transferDatabase">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 13l-7 7-7-7m14-8l-7 7-7-7"
- ></path>
- </svg>
+ <heroicons-outline:chevron-double-down class="w-6 h-6" />
</button>
<h3 class="mt-1 text-center text-base font-normal text-main">
Transfer in DB
diff --git a/frontend/src/components/Quickstart.vue b/frontend/src/components/Quickstart.vue
index 5a6e7e572b..140445b734 100644
--- a/frontend/src/components/Quickstart.vue
+++ b/frontend/src/components/Quickstart.vue
@@ -5,18 +5,7 @@
{{ $t("common.quickstart") }}
</div>
<button class="btn-icon" @click.prevent="hideQuickstart">
- <svg
- class="w-4 h-4"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:x class="w-4 h-4" />
</button>
</div>
<nav class="flex justify-center" aria-label="Progress">
@@ -38,24 +27,9 @@
>
<template v-if="intro.done">
<!-- Heroicon name: solid/check-circle -->
- <svg
- class="
- h-full
- w-full
- text-success
- group-hover:text-success-hover
- "
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check-circle
+ class="h-full w-full text-success group-hover:text-success-hover"
+ />
</template>
<template v-else-if="isTaskActive(index)">
<span
diff --git a/frontend/src/components/RepositorySelectionPanel.vue b/frontend/src/components/RepositorySelectionPanel.vue
index e5dde2f448..bf03744373 100644
--- a/frontend/src/components/RepositorySelectionPanel.vue
+++ b/frontend/src/components/RepositorySelectionPanel.vue
@@ -3,20 +3,7 @@
<div class="mt-4 space-y-2">
<div class="flex justify-between items-center">
<button class="btn-icon" @click.prevent="prepareRepositoryList">
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
- ></path>
- </svg>
+ <heroicons-outline:refresh class="w-6 h-6" />
</button>
<BBTableSearch
:placeholder="'Search repository'"
@@ -39,19 +26,7 @@
</div>
<div>
<!-- Heroicon name: solid/chevron-right -->
- <svg
- class="h-5 w-5 text-control"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:chevron-right class="h-5 w-5 text-control" />
</div>
</div>
</li>
diff --git a/frontend/src/components/TaskCheckBadgeBar.vue b/frontend/src/components/TaskCheckBadgeBar.vue
index 33901998c4..0f0482c93d 100644
--- a/frontend/src/components/TaskCheckBadgeBar.vue
+++ b/frontend/src/components/TaskCheckBadgeBar.vue
@@ -41,36 +41,14 @@
</template>
<template v-else-if="checkRun.status == 'DONE'">
<template v-if="taskCheckStatus(checkRun) == 'SUCCESS'">
- <svg
+ <heroicons-outline:check
class="-ml-1 mr-1.5 mt-0.5 h-4 w-4 text-success"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 13l4 4L19 7"
- ></path>
- </svg>
+ />
</template>
<template v-else-if="taskCheckStatus(checkRun) == 'WARN'">
- <svg
+ <heroicons-outline:exclamation
class="-ml-1 mr-1.5 mt-0.5 h-4 w-4 text-warning"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
+ />
</template>
<template v-else-if="taskCheckStatus(checkRun) == 'ERROR'">
<span class="mr-1.5 font-medium text-error" aria-hidden="true"
@@ -84,20 +62,9 @@
>
</template>
<template v-else-if="checkRun.status == 'CANCELED'">
- <svg
+ <heroicons-outline:ban
class="-ml-1 mr-1.5 mt-0.5 h-4 w-4 text-control"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"
- ></path>
- </svg>
+ />
</template>
{{ name(checkRun) }}
</button>
diff --git a/frontend/src/components/TaskCheckRunPanel.vue b/frontend/src/components/TaskCheckRunPanel.vue
index fd0b44e35c..45de6435f5 100644
--- a/frontend/src/components/TaskCheckRunPanel.vue
+++ b/frontend/src/components/TaskCheckRunPanel.vue
@@ -27,36 +27,10 @@
:class="statusIconClass(checkResult.status)"
>
<template v-if="checkResult.status == 'SUCCESS'">
- <svg
- class="w-4 h-4"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="w-4 h-4" />
</template>
<template v-if="checkResult.status == 'WARN'">
- <svg
- class="h-4 w-4"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path>
- </svg>
+ <heroicons-outline:exclamation class="h-4 w-4" />
</template>
<template v-else-if="checkResult.status == 'ERROR'">
<span
diff --git a/frontend/src/components/TaskRunTable.vue b/frontend/src/components/TaskRunTable.vue
index 9cc434db8d..3f6b904794 100644
--- a/frontend/src/components/TaskRunTable.vue
+++ b/frontend/src/components/TaskRunTable.vue
@@ -33,19 +33,7 @@
></span>
</template>
<template v-else-if="taskRun.status == 'DONE'">
- <svg
- class="w-5 h-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-outline:check class="w-5 h-5" />
</template>
<template v-else-if="taskRun.status == 'FAILED'">
<span class="text-white font-medium text-base" aria-hidden="true"
@@ -53,20 +41,8 @@
>
</template>
<template v-else-if="taskRun.status == 'CANCELED'">
- <svg
- class="w-5 h-5"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- aria-hidden="true"
- >
- >
- <path
- fill-rule="evenodd"
- d="M3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
- clip-rule="evenodd"
- ></path></svg
- ></template>
+ <heroicons-outline:minus-sm class="w-5 h-5" />
+ </template>
</div>
</div>
</BBTableCell>
diff --git a/frontend/src/components/VCSProviderOAuthPanel.vue b/frontend/src/components/VCSProviderOAuthPanel.vue
index 5010d6991d..057b82d720 100644
--- a/frontend/src/components/VCSProviderOAuthPanel.vue
+++ b/frontend/src/components/VCSProviderOAuthPanel.vue
@@ -57,20 +57,7 @@
"
@click.prevent="copyRedirectURI"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
</dd>
</div>
diff --git a/frontend/src/layouts/BodyLayout.vue b/frontend/src/layouts/BodyLayout.vue
index d0d6f57a3a..fdd39bc2ec 100644
--- a/frontend/src/layouts/BodyLayout.vue
+++ b/frontend/src/layouts/BodyLayout.vue
@@ -37,21 +37,7 @@
>
<span class="sr-only">Close sidebar</span>
<!-- Heroicon name: x -->
- <svg
- class="h-6 w-6 text-white"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M6 18L18 6M6 6l12 12"
- />
- </svg>
+ <heroicons-solid:x class="h-6 w-6 text-white" />
</button>
</div>
<!-- Mobile Sidebar -->
@@ -62,20 +48,7 @@
to="/archive"
class="outline-item group flex items-center px-4 pt-4 pb-2"
>
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"
- ></path>
- </svg>
+ <heroicons-outline:archive class="w-5 h-5 mr-2" />
{{ $t("common.archive") }}
</router-link>
<div
@@ -87,20 +60,7 @@
class="flex justify-between items-center w-full flex-shrink-0 text-main group"
>
<div class="flex items-center">
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:question-mark-circle class="w-5 h-5 mr-2" />
<span class="text-sm">{{ $t('common.help') }}</span>
</div>
<div class="text-sm">{{ version }}</div>
@@ -124,20 +84,7 @@
to="/archive"
class="outline-item group flex items-center px-4 pt-4 pb-2"
>
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"
- ></path>
- </svg>
+ <heroicons-outline:archive class="w-5 h-5 mr-2" />
{{ $t("common.archive") }}
</router-link>
<div
@@ -166,20 +113,7 @@
"
>
<div class="flex items-center py-1">
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path>
- </svg>
+ <heroicons-outline:question-mark-circle class="w-5 h-5 mr-2" />
<span class="text-sm">{{ $t("common.help") }}</span>
</div>
<div class="text-sm">{{ version }}</div>
@@ -221,21 +155,7 @@
>
<span class="sr-only">Open sidebar</span>
<!-- Heroicon name: menu -->
- <svg
- class="h-6 w-6"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M4 6h16M4 12h16M4 18h16"
- />
- </svg>
+ <heroicons-outline:menu class="h-6 w-6" />
</button>
</div>
<div v-if="showBreadcrumb" class="ml-4">
diff --git a/frontend/src/views/AnomalyCenterDashboard.vue b/frontend/src/views/AnomalyCenterDashboard.vue
index 6d8892facb..0a0c20f105 100644
--- a/frontend/src/views/AnomalyCenterDashboard.vue
+++ b/frontend/src/views/AnomalyCenterDashboard.vue
@@ -35,52 +35,22 @@
</dt>
<dd class="flex flex-row mt-1 text-xl text-main space-x-2">
<span class="flex flex-row items-center">
- <svg
+ <heroicons-outline:exclamation-circle
class="w-5 h-5 mr-1 text-error"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path></svg
- >{{ summary.criticalCount }}
+ />
+ {{ summary.criticalCount }}
</span>
<span class="flex flex-row items-center">
- <svg
+ <heroicons-outline:exclamation
class="w-5 h-5 mr-1 text-warning"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
- ></path></svg
- >{{ summary.highCount }}
+ />
+ {{ summary.highCount }}
</span>
<span class="flex flex-row items-center">
- <svg
+ <heroicons-outline:information-circle
class="w-5 h-5 mr-1 text-info"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- ></path></svg
- >{{ summary.mediumCount }}
+ />
+ {{ summary.mediumCount }}
</span>
</dd>
</div>
diff --git a/frontend/src/views/BannerDemo.vue b/frontend/src/views/BannerDemo.vue
index 90b93b3704..5f93514180 100644
--- a/frontend/src/views/BannerDemo.vue
+++ b/frontend/src/views/BannerDemo.vue
@@ -37,20 +37,7 @@
"
>
Deploy yours in 5 seconds
- <svg
- class="ml-1 w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M13 10V3L4 14h7v7l9-11h-7z"
- ></path>
- </svg>
+ <heroicons-outline:lightning-bolt class="ml-1 w-6 h-6" />
</a>
</div>
<div class="order-2 flex-shrink-0 sm:order-3 sm:ml-3">
@@ -69,21 +56,7 @@
>
<span class="sr-only">Dismiss</span>
<!-- Heroicon name: outline/x -->
- <svg
- class="h-6 w-6 text-white"
- xmlns="http://www.w3.org/2000/svg"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- aria-hidden="true"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M6 18L18 6M6 6l12 12"
- />
- </svg>
+ <heroicons-outline:x class="h-6 w-6 text-white" />
</button>
</div>
</div>
diff --git a/frontend/src/views/DashboardHeader.vue b/frontend/src/views/DashboardHeader.vue
index 0996006073..78150475d0 100644
--- a/frontend/src/views/DashboardHeader.vue
+++ b/frontend/src/views/DashboardHeader.vue
@@ -135,20 +135,7 @@
Menu open: "hidden", Menu closed: "block"
-->
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"
- ></path>
- </svg>
+ <heroicons-solid:dots-vertical class="w-6 h-6" />
</button>
</div>
</div>
diff --git a/frontend/src/views/DashboardSidebar.vue b/frontend/src/views/DashboardSidebar.vue
index def7595d0a..533e1d4da0 100644
--- a/frontend/src/views/DashboardSidebar.vue
+++ b/frontend/src/views/DashboardSidebar.vue
@@ -2,40 +2,14 @@
<!-- Navigation -->
<nav class="px-2">
<router-link to="/" class="outline-item group flex items-center px-2 py-2">
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
- ></path>
- </svg>
+ <heroicons-outline:home class="w-5 h-5 mr-2" />
{{ $t("common.home") }}
</router-link>
<router-link
to="/anomaly-center"
class="outline-item group flex items-center px-2 py-2"
>
- <svg
- class="w-5 h-5 mr-2"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M20.618 5.984A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016zM12 9v2m0 4h.01"
- ></path>
- </svg>
+ <heroicons-outline:shield-exclamation class="w-5 h-5 mr-2" />
{{ $t("anomaly-center") }}
</router-link>
<div>
diff --git a/frontend/src/views/DataSourceDetail.vue b/frontend/src/views/DataSourceDetail.vue
index ed64c34b97..1c8e1cec7b 100644
--- a/frontend/src/views/DataSourceDetail.vue
+++ b/frontend/src/views/DataSourceDetail.vue
@@ -112,16 +112,9 @@
@click.prevent="saveEdit"
>
<!-- Heroicon name: solid/save -->
- <svg
+ <heroicons-solid:save
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z"
- ></path>
- </svg>
+ />
<span>Save</span>
</button>
</template>
@@ -132,16 +125,9 @@
@click.prevent="editDataSource"
>
<!-- Heroicon name: solid/pencil -->
- <svg
+ <heroicons-solid:pencil
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- ></path>
- </svg>
+ />
<span>Edit</span>
</button>
</template>
diff --git a/frontend/src/views/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail.vue
index 590aeba779..f0a48caedc 100644
--- a/frontend/src/views/DatabaseDetail.vue
+++ b/frontend/src/views/DatabaseDetail.vue
@@ -99,20 +99,7 @@
window.open(urlfy(databaseConsoleLink), '_blank')
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</button>
</dd>
</dl>
@@ -125,20 +112,9 @@
@click.prevent="tryTransferProject"
>
<span>Transfer Project</span>
- <svg
+ <heroicons-outline:switch-horizontal
class="-mr-1 ml-2 h-5 w-5 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4"
- ></path>
- </svg>
+ />
</button>
<button
v-if="allowEdit"
@@ -147,21 +123,10 @@
@click.prevent="alterSchema"
>
<span>{{ alterSchemaText }}</span>
- <svg
+ <heroicons-outline:external-link
v-if="database.project.workflowType == 'VCS'"
class="-mr-1 ml-2 h-5 w-5 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ />
</button>
</div>
</div>
diff --git a/frontend/src/views/Inbox.vue b/frontend/src/views/Inbox.vue
index eda127d81b..f2d665032e 100644
--- a/frontend/src/views/Inbox.vue
+++ b/frontend/src/views/Inbox.vue
@@ -13,20 +13,9 @@
>
<div class="text-lg leading-6 font-medium text-main">Unread</div>
<button type="button" class="btn-normal" @click.prevent="markAllAsRead">
- <svg
+ <heroicons-outline:check
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M5 13l4 4L19 7"
- ></path>
- </svg>
+ />
<span>Mark all as read</span>
</button>
</div>
diff --git a/frontend/src/views/MigrationHistoryDetail.vue b/frontend/src/views/MigrationHistoryDetail.vue
index 6cdab46ec0..2f87ba21f6 100644
--- a/frontend/src/views/MigrationHistoryDetail.vue
+++ b/frontend/src/views/MigrationHistoryDetail.vue
@@ -102,20 +102,7 @@
class="btn-icon ml-1"
@click.prevent="copyStatement"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
</a>
<div v-highlight class="border px-2 whitespace-pre-wrap w-full">
@@ -132,20 +119,7 @@
class="btn-icon ml-1"
@click.prevent="copySchema"
>
- <svg
- class="w-6 h-6"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
- ></path>
- </svg>
+ <heroicons-outline:clipboard class="w-6 h-6" />
</button>
</a>
<div class="flex flex-row items-center space-x-2 mt-2">
diff --git a/frontend/src/views/PipelineSimpleFlow.vue b/frontend/src/views/PipelineSimpleFlow.vue
index fc1b062144..499d408681 100644
--- a/frontend/src/views/PipelineSimpleFlow.vue
+++ b/frontend/src/views/PipelineSimpleFlow.vue
@@ -42,20 +42,7 @@
></span>
</template>
<template v-else-if="item.taskStatus === 'PENDING_APPROVAL'">
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
- ></path>
- </svg>
+ <heroicons-outline:user class="w-4 h-4" />
</template>
<template v-else-if="item.taskStatus == 'RUNNING'">
<span
@@ -67,19 +54,7 @@
></span>
</template>
<template v-else-if="item.taskStatus == 'DONE'">
- <svg
- class="w-5 h-5"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
+ <heroicons-solid:check class="w-5 h-5" />
</template>
<template v-else-if="item.taskStatus == 'FAILED'">
<span
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index ae896dbd2d..aa5c2f1eab 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -25,20 +25,9 @@
<div class="mt-6 flex flex-row justify-stretch space-x-4">
<button v-if="false" type="button" class="btn-normal">
<!-- Heroicon name: solid/mail -->
- <svg
+ <heroicons-solid:mail
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- fill="currentColor"
- aria-hidden="true"
- >
- <path
- d="M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"
- />
- <path
- d="M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"
- />
- </svg>
+ />
<span>Message</span>
</button>
<template v-if="allowEdit">
@@ -57,16 +46,9 @@
@click.prevent="saveEdit"
>
<!-- Heroicon name: solid/save -->
- <svg
+ <heroicons-solid:save
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z"
- ></path>
- </svg>
+ />
<span>Save</span>
</button>
</template>
@@ -77,16 +59,9 @@
@click.prevent="editUser"
>
<!-- Heroicon name: solid/pencil -->
- <svg
+ <heroicons-solid:pencil
class="-ml-1 mr-2 h-5 w-5 text-control-light"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M13.586 3.586a2 2 0 112.828 2.828l-.793.793-2.828-2.828.793-.793zM11.379 5.793L3 14.172V17h2.828l8.38-8.379-2.83-2.828z"
- ></path>
- </svg>
+ />
<span>Edit</span>
</button>
</template>
diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vue
index 0f8fe52a4e..c4a5e64d15 100644
--- a/frontend/src/views/SettingSidebar.vue
+++ b/frontend/src/views/SettingSidebar.vue
@@ -18,27 +18,9 @@
"
@click.prevent="goBack"
>
- <svg
- class="
- mr-1
- h-6
- w-6
- text-gray-500
- group-hover:text-gray-500
- group-focus:text-gray-600
- "
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- >
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M15 19l-7-7 7-7"
- ></path>
- </svg>
+ <heroicons-outline:chevron-left
+ class="mr-1 h-6 w-6 text-gray-500 group-hover:text-gray-500 group-focus:text-gray-600"
+ />
Back
</button>
@@ -57,18 +39,7 @@
text-gray-700
"
>
- <svg
- class="mr-3 w-5 h-5"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:user-circle class="mr-3 w-5 h-5" />
Account
</div>
<div class="space-y-1">
@@ -95,18 +66,7 @@
text-gray-700
"
>
- <svg
- class="mr-3 w-5 h-5"
- fill="currentColor"
- viewBox="0 0 20 20"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- fill-rule="evenodd"
- d="M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z"
- clip-rule="evenodd"
- ></path>
- </svg>
+ <heroicons-solid:office-building class="mr-3 w-5 h-5" />
Workspace
</div>
<div class="space-y-1">
diff --git a/frontend/src/views/TableDetail.vue b/frontend/src/views/TableDetail.vue
index 131edca093..c4b45dfd24 100644
--- a/frontend/src/views/TableDetail.vue
+++ b/frontend/src/views/TableDetail.vue
@@ -85,20 +85,7 @@
window.open(urlfy(databaseConsoleLink), '_blank')
"
>
- <svg
- class="w-4 h-4"
- fill="none"
- stroke="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
- ></path>
- </svg>
+ <heroicons-outline:external-link class="w-4 h-4" />
</button>
</dd>
</dl>