Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: new filled star icon to toggle favorite history entry (#3164)
Liyas Thomasb2af35394116
diff --git a/packages/hoppscotch-common/assets/icons/star-off.svg b/packages/hoppscotch-common/assets/icons/star-off.svgnew file mode 100644index 000000000..3d542a9c1--- /dev/null+++ b/packages/hoppscotch-common/assets/icons/star-off.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-star"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>diff --git a/packages/hoppscotch-common/src/components/history/graphql/Card.vue b/packages/hoppscotch-common/src/components/history/graphql/Card.vueindex 600cfca49..4b7e1bac5 100644--- a/packages/hoppscotch-common/src/components/history/graphql/Card.vue+++ b/packages/hoppscotch-common/src/components/history/graphql/Card.vue@@ -63,7 +63,7 @@ import { GQLHistoryEntry } from "~/newstore/history"import { shortDateTime } from "~/helpers/utils/date"import IconStar from "~icons/lucide/star"-import IconStarOff from "~icons/lucide/star-off"+import IconStarOff from "~icons/hopp/star-off"import IconTrash from "~icons/lucide/trash"import IconMinimize2 from "~icons/lucide/minimize-2"import IconMaximize2 from "~icons/lucide/maximize-2"diff --git a/packages/hoppscotch-common/src/components/history/rest/Card.vue b/packages/hoppscotch-common/src/components/history/rest/Card.vueindex dc5348aaf..19cd4b3ec 100644--- a/packages/hoppscotch-common/src/components/history/rest/Card.vue+++ b/packages/hoppscotch-common/src/components/history/rest/Card.vue@@ -55,7 +55,7 @@ import { RESTHistoryEntry } from "~/newstore/history"import { shortDateTime } from "~/helpers/utils/date"import IconStar from "~icons/lucide/star"-import IconStarOff from "~icons/lucide/star-off"+import IconStarOff from "~icons/hopp/star-off"import IconTrash from "~icons/lucide/trash"const props = defineProps<{