From 16c2839dc77c57fef407257c86c188d0a08318e3 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Thu, 1 May 2025 20:12:59 +1000 Subject: [PATCH] Remove portal spawn gameLog filter to prevent confusion --- src/app.js | 15 --------------- src/mixins/tabs/gameLog.pug | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/app.js b/src/app.js index 7450dc29..0baa0e3b 100644 --- a/src/app.js +++ b/src/app.js @@ -1684,21 +1684,6 @@ console.log(`isLinux: ${LINUX}`); } else if (json.title) { json.message = json.title; } - if (json.type === 'boop') { - if (!json.imageUrl && json.details?.emojiId?.startsWith('file_')) { - // JANK: create image url from fileId - json.imageUrl = `https://api.vrchat.cloud/api/1/file/${json.details.emojiId}/${json.details.emojiVersion}`; - } - - if (!json.details?.emojiId) { - json.message = `${json.senderUsername} Booped you! without an emoji`; - } else if (!json.details.emojiId.startsWith('file_')) { - // JANK: get emoji name from emojiId - json.message = `${json.senderUsername} Booped you! with ${$app.getEmojiName(json.details.emojiId)}`; - } else { - json.message = `${json.senderUsername} Booped you! with custom emoji`; - } - } this.$emit('NOTIFICATION', { json, params: { diff --git a/src/mixins/tabs/gameLog.pug b/src/mixins/tabs/gameLog.pug index d052a4de..93575a74 100644 --- a/src/mixins/tabs/gameLog.pug +++ b/src/mixins/tabs/gameLog.pug @@ -17,7 +17,7 @@ mixin gameLogTab style='flex: 1' :placeholder='$t("view.game_log.filter_placeholder")') el-option( - v-for='type in ["Location", "OnPlayerJoined", "OnPlayerLeft", "PortalSpawn", "VideoPlay", "Event", "External", "StringLoad", "ImageLoad"]' + v-for='type in ["Location", "OnPlayerJoined", "OnPlayerLeft", "VideoPlay", "Event", "External", "StringLoad", "ImageLoad"]' :key='type' :label='$t("view.game_log.filters." + type)' :value='type')