From 75a2506c51993c7e44be8d53cd0055264ae65eab Mon Sep 17 00:00:00 2001 From: Etorix <92535668+EtorixDev@users.noreply.github.com> Date: Tue, 2 Sep 2025 09:42:17 -0700 Subject: [PATCH 1/6] ViewRaw: Adjust icon size to match other icons (#3605) --- src/plugins/viewRaw/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/viewRaw/index.tsx b/src/plugins/viewRaw/index.tsx index e6781784d..1dcef31b2 100644 --- a/src/plugins/viewRaw/index.tsx +++ b/src/plugins/viewRaw/index.tsx @@ -32,7 +32,7 @@ import { Button, ChannelStore, Forms, GuildRoleStore, Menu, Text } from "@webpac const CopyIcon = () => { - return {nick}; - if (settings.store.mode === "nick-user") + if (mode === "nick-user") return <>{prefix}{nick} {username}; return <>{prefix}{username}; diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 7c7488b68..705b1451d 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -197,9 +197,9 @@ export const Devs = /* #__PURE__*/ Object.freeze({ name: "sunnie", id: 406028027768733696n }, - axyie: { - name: "'ax", - id: 929877747151548487n, + rae: { + name: "rae", + id: 1398136199503282277n }, pointy: { name: "pointy", From 8789973bf5ee233a68318e80e9223c853ddc86b3 Mon Sep 17 00:00:00 2001 From: sadan4 <117494111+sadan4@users.noreply.github.com> Date: Tue, 2 Sep 2025 21:41:46 -0400 Subject: [PATCH 4/6] WhoReacted: remove ugly more users tooltip (#3640) Co-authored-by: Vendicated --- src/plugins/whoReacted/index.tsx | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/src/plugins/whoReacted/index.tsx b/src/plugins/whoReacted/index.tsx index af6d8fdbf..2faedfa28 100644 --- a/src/plugins/whoReacted/index.tsx +++ b/src/plugins/whoReacted/index.tsx @@ -24,7 +24,7 @@ import { useForceUpdater } from "@utils/react"; import definePlugin from "@utils/types"; import { CustomEmoji, Message, ReactionEmoji, User } from "@vencord/discord-types"; import { findByPropsLazy } from "@webpack"; -import { ChannelStore, Constants, FluxDispatcher, React, RestAPI, Tooltip, useEffect, useLayoutEffect, UserSummaryItem } from "@webpack/common"; +import { ChannelStore, Constants, FluxDispatcher, React, RestAPI, useEffect, useLayoutEffect, UserSummaryItem } from "@webpack/common"; const AvatarStyles = findByPropsLazy("moreUsers", "emptyUser", "avatarContainer", "clickableAvatar"); let Scroll: any = null; @@ -73,24 +73,6 @@ function getReactionsWithQueue(msg: Message, e: ReactionEmoji, type: number) { return cache.users; } -function makeRenderMoreUsers(users: User[]) { - return function renderMoreUsers(_label: string, _count: number) { - return ( - u.username).join(", ")} > - {({ onMouseEnter, onMouseLeave }) => ( -
- +{users.length - 4} -
- )} -
- ); - }; -} - function handleClickAvatar(event: React.UIEvent) { event.stopPropagation(); } @@ -163,7 +145,7 @@ export default definePlugin({
-
+
From 65c85a522202bdd090f9fcf7bd7702b2c5eba165 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 3 Sep 2025 04:26:33 +0200 Subject: [PATCH 5/6] CallTimer: fix overflow when using aligned chat input Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com> Co-Authored-By: God --- src/plugins/callTimer/alignedChatInputFix.css | 4 ++++ src/plugins/callTimer/index.tsx | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/plugins/callTimer/alignedChatInputFix.css diff --git a/src/plugins/callTimer/alignedChatInputFix.css b/src/plugins/callTimer/alignedChatInputFix.css new file mode 100644 index 000000000..9bb4a039e --- /dev/null +++ b/src/plugins/callTimer/alignedChatInputFix.css @@ -0,0 +1,4 @@ +.align-chat-input [class*="panels"] [class*="inner_"], +.align-chat-input [class*="rtcConnectionStatus_"] { + height: fit-content; +} \ No newline at end of file diff --git a/src/plugins/callTimer/index.tsx b/src/plugins/callTimer/index.tsx index dcab05516..ae98a7878 100644 --- a/src/plugins/callTimer/index.tsx +++ b/src/plugins/callTimer/index.tsx @@ -23,6 +23,8 @@ import { useTimer } from "@utils/react"; import definePlugin, { OptionType } from "@utils/types"; import { React } from "@webpack/common"; +import alignedChatInputFix from "./alignedChatInputFix.css"; + function formatDuration(ms: number) { // here be dragons (moment fucking sucks) const human = Settings.plugins.CallTimer.format === "human"; @@ -50,6 +52,7 @@ export default definePlugin({ name: "CallTimer", description: "Adds a timer to vcs", authors: [Devs.Ven], + managedStyle: alignedChatInputFix, startTime: 0, interval: void 0 as NodeJS.Timeout | undefined, From 9700ec9cd289e67a5af5398a2ceaf74737e1b5ef Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 3 Sep 2025 04:37:38 +0200 Subject: [PATCH 6/6] fix minor bugs --- src/plugins/_api/badges/fixDiscordBadgePadding.css | 8 ++++---- src/plugins/_api/badges/index.tsx | 1 - src/plugins/callTimer/index.tsx | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/_api/badges/fixDiscordBadgePadding.css b/src/plugins/_api/badges/fixDiscordBadgePadding.css index eb1d60d5c..7e7702a37 100644 --- a/src/plugins/_api/badges/fixDiscordBadgePadding.css +++ b/src/plugins/_api/badges/fixDiscordBadgePadding.css @@ -1,5 +1,5 @@ /* the profile popout badge container(s) */ -[class*="biteSize_"] [class*="tags_"] [class*="container_"] { - /* Discord has padding set to 2px instead of 1px, which causes the 12th badge to wrap to a new line. */ - padding: 0 1px; -} +[class*="profile_"] [class*="tags_"] [class*="container_"] { + /* Discord has gap set to 2px instead of 1px, which causes the 12th badge to wrap to a new line. */ + gap: 1px; +} \ No newline at end of file diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx index 4118435af..8742a4bd3 100644 --- a/src/plugins/_api/badges/index.tsx +++ b/src/plugins/_api/badges/index.tsx @@ -57,7 +57,6 @@ async function loadBadges(noCache = false) { let intervalId: any; function BadgeContextMenu({ badge }: { badge: ProfileBadge & BadgeUserArgs; }) { - console.log(badge); return (