diff --git a/app/web/src/App.vue b/app/web/src/App.vue index 69265afa8e..96494075a2 100644 --- a/app/web/src/App.vue +++ b/app/web/src/App.vue @@ -17,12 +17,6 @@ diff --git a/app/web/src/store/actions.store.ts b/app/web/src/store/actions.store.ts index 0d900ff99c..2968d8a5b5 100644 --- a/app/web/src/store/actions.store.ts +++ b/app/web/src/store/actions.store.ts @@ -1,7 +1,6 @@ import { defineStore } from "pinia"; import * as _ from "lodash-es"; import { addStoreHooks, ApiRequest } from "@si/vue-lib/pinia"; -import JSConfetti from "js-confetti"; import { Resource } from "@/api/sdf/dal/resource"; import { useWorkspacesStore } from "@/store/workspaces.store"; import { DefaultMap } from "@/utils/defaultmap"; @@ -101,16 +100,6 @@ export type FuncRunId = string; // END STUFF -let jsConfetti: JSConfetti; -const confettis = [ - { emojis: ["๐ŸŽ‰"] }, - { emojis: ["๐Ÿฟ"] }, - { emojis: ["๐Ÿค˜", "๐Ÿค˜๐Ÿป", "๐Ÿค˜๐Ÿผ", "๐Ÿค˜๐Ÿฝ", "๐Ÿค˜๐Ÿพ", "๐Ÿค˜๐Ÿฟ"] }, - { emojis: ["โค๏ธ", "๐Ÿงก", "๐Ÿ’›", "๐Ÿ’š", "๐Ÿ’™", "๐Ÿ’œ"] }, - { emojis: ["๐Ÿพ", "๐Ÿท", "๐Ÿธ", "๐Ÿน", "๐Ÿบ", "๐Ÿฅ‚", "๐Ÿป"] }, - { emojis: ["๐Ÿณ๏ธโ€๐ŸŒˆ", "๐Ÿณ๏ธโ€โšง๏ธ", "โšก๏ธ", "๐ŸŒˆ", "โœจ", "๐Ÿ”ฅ", "๐Ÿ‡ง๐Ÿ‡ท"] }, -]; - export const useActionsStore = () => { const workspacesStore = useWorkspacesStore(); const workspaceId = workspacesStore.selectedWorkspacePk; @@ -280,13 +269,6 @@ export const useActionsStore = () => { visibility_change_set_pk: changeSetId, }, onSuccess: (response) => { - if ( - this.actions.length > 0 && - response.length === 0 && - changeSetsStore.headSelected - ) - jsConfetti.addConfetti(_.sample(confettis)); - this.actions = response; }, }); @@ -379,11 +361,6 @@ export const useActionsStore = () => { }, }, onActivated() { - jsConfetti = new JSConfetti({ - canvas: - (document.getElementById("confetti") as HTMLCanvasElement) || - undefined, - }); if (!changeSetId) return; this.LOAD_ACTIONS();