#CollapseChatButtons
1 messages · Page 1 of 1 (latest)
yummy artifact gif

poggers
@dusty wolf um... it says "oh no!" in the bottom right after pressing to open
i would send an image but i CANT
MODS
upload it to imgur then send that link here
can you give open the dev tools and show the error it gives
oh no
insane I just tested it yesterday
oh wait, I didn't test it as a userplugin 
aight let me update it
@dusty wolf https://imgur.com/a/hNvT5sr
failed to build
like a normal person
https://imgur.com/a/DqKxdjO
💀
you aren’t doing like a normal person
are your pressing download or run git clone?
i put the plugin formated to go into the userplugins folder inside the userplugins folder
download
then unpack in the folder
IT MAKES NO DIFFERENCE IVE ALREADY TRIED
it has the same files
its formatted to go in there so i put it in there
You are supposed to do
git clone https://github.com/coldcord/collapseChatButtons.git
then when someone updates their plugin you just run git pull
@lyric umbra you fuckin suck as a human being, you're doing the equivalent of saying someone is wrong for using an alternate method that leads to the EXACT SAME RESULT
You're telling someone it's bad for them to walk 10 min to a gas station instead of biking for 6, just to full a Jerry can
Suck a fat one
vban
Done! 
Banned gabankillasta05 (@gentle pelican)
- if your car runs out of gas youre an idiot
- why bike when you can drive, so you are an idiot
- haha youre banned
Can we get an option to still display the send message button but still hide all the others

More like configurable settings for the plugin itself
If you mean choose buttons which are always visible, I recon it'd be somewhat hard to take into account custom buttons introduced by mods
But I do use the send message button often enough where I'd love to see it always visible while hiding the other buttons
will put that into my TODO list. reaching it may take a while so disable/remove the plugin while waiting
I Menlab its still usable so. I'll keep the plugin but it's a nice to have imo
Not drunk promisr
would it be possible to have the following options:
- show the buttons on hover instead of click
- custom icon instead of the eye? or maybe something cuter lol
custom icon is something I believe can done with css, that one of the reasons the buttons has custom classes
I will look into the first idea later on
btw this is also possible with css. here is an implementation with hover
/* Collapsible chat bar buttons/icons */
[class^=textArea_] {
margin-right: 24px;
+[class^=buttons_] {
position: absolute;
right: 0;
background-color: #141414;
backdrop-filter: blur(3px);
border-radius: 8px;
&:not(:hover)>:not(:last-child) {
display: none;
}
/* Fix send message button */
&:not(:hover)>[class^=separator_] {
margin-left: 0;
&::before { display: none; }
button>div { margin-left: 8px; }
}
}
}
(this css only is for hover btw, not quite the same as the plugin)
(video of it: #1304647342284214282 message)
it's time to replace your eye icon code 
btw this plugin is currently breaking discord
or vencord lol
but I kinda need it sooo pls fix
From: Anirudh Gupta <anirudhgupta109@gmail.com>
Date: Thu, 30 Jan 2025 10:57:06 +0530
Subject: [PATCH] hax fix
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
---
index.tsx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/index.tsx b/index.tsx
index 955492f..b2e965b 100644
--- a/index.tsx
+++ b/index.tsx
@@ -9,9 +9,11 @@ import { definePluginSettings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType, StartAt } from "@utils/types";
-import { Icons, useMemo, useState } from "@webpack/common";
+import { findComponentByCodeLazy } from "@webpack";
+import { useMemo, useState } from "@webpack/common";
import { MouseEventHandler } from "react";
+const CopyIcon = findComponentByCodeLazy(" 1-.5.5H10a6");
let collapsechatbuttonsopen: boolean | undefined;
const settings = definePluginSettings({
@@ -42,8 +44,8 @@ function CollapseToggleButton(props: { open: boolean | undefined, onClick: Mouse
style={{ scale: "1.096", translate: "0 -1px" }}
>
{props.open ?
- <Icons.EyeSlashIcon /> :
- <Icons.EyeIcon />
+ <CopyIcon /> :
+ <CopyIcon />
}
</svg>
</ChatBarButton>);
--
2.47.1.windows.1```
a fix so that it builds and works without a relevant icon^
From 9b56e962df0a68871454713432722972ccba5e4a Mon Sep 17 00:00:00 2001
From: Anirudh Gupta <anirudhgupta109@gmail.com>
Date: Thu, 30 Jan 2025 10:57:06 +0530
Subject: [PATCH] hax fix
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
---
index.tsx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/index.tsx b/index.tsx
index 955492f..b2e965b 100644
--- a/index.tsx
+++ b/index.tsx
@@ -9,9 +9,11 @@ import { definePluginSettings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import definePlugin, { OptionType, StartAt } from "@utils/types";
-import { Icons, useMemo, useState } from "@webpack/common";
+import { findComponentByCodeLazy } from "@webpack";
+import { useMemo, useState } from "@webpack/common";
import { MouseEventHandler } from "react";
+const CopyIcon = findComponentByCodeLazy(" 1-.5.5H10a6");
let collapsechatbuttonsopen: boolean | undefined;
const settings = definePluginSettings({
@@ -42,8 +44,8 @@ function CollapseToggleButton(props: { open: boolean | undefined, onClick: Mouse
style={{ scale: "1.096", translate: "0 -1px" }}
>
{props.open ?
- <Icons.EyeSlashIcon /> :
- <Icons.EyeIcon />
+ <CopyIcon /> :
+ <CopyIcon />
}
</svg>
</ChatBarButton>);
--
2.47.1.windows.1
umm its broken bc it shows errors while rebuilding so pls fix
srry but I'm not sure I understand. What should I change in the tsx file?
def didnt steal ur name
bruh
now u didnt
thx lol
uh mb. does anyone remember where discord uses the EyeSlashIcon Icon?
yeah fixed it, stupid me I forgot that I had the old version
someone should test if it works
works lol
successfully build --dev no errors
Yea but I use --Dev lol
y
holy fork this should be official
done, added in settings that you could control which buttons to be excluded, the submit button is by default excluded
should probably disable overflow-x from it since its adding a scrollbar for me
I haven't encountered that in testing so I assume it's theme shenanigans
#chat-bar-buttons-menu {
overflow-x: visible;
}
I migh test it when I go back to fixing broken plugins
it looks like this plugin broke a while back
it was working for me until recently
noted, I will take a look tomorrow
tomorrow is not coming ig, there is a lot on my back. so someone remind me after 2 weeks
I do not use this, but it has been 2 weeks. @dusty wolf
fixed
thank you for fixing it! 
seems like it broke again...
got to try it right now; it doesn't seem to work and also gets rid of other plugins' icons
I will fix it tonight
@worldly ingot should be fixed now, mind testing it?