#CollapseChatButtons

1 messages · Page 1 of 1 (latest)

dusty wolf
lyric umbra
#

yummy artifact gif

dry roost
gentle pelican
#

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

lyric umbra
#

upload it to imgur then send that link here

gentle pelican
lyric umbra
lyric umbra
dusty wolf
#

insane I just tested it yesterday

#

oh wait, I didn't test it as a userplugin blobcatnom

dusty wolf
#

nvm it was something completely different

#

@gentle pelican fixed, give it a try

gentle pelican
#

failed to build

lyric umbra
#

@gentle pelican this seems like a user issue

#

How did you download it?

gentle pelican
lyric umbra
#

💀

#

you aren’t doing like a normal person

#

are your pressing download or run git clone?

gentle pelican
#

i put the plugin formated to go into the userplugins folder inside the userplugins folder

gentle pelican
#

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

lyric umbra
#

You are supposed to do
git clone https://github.com/coldcord/collapseChatButtons.git
then when someone updates their plugin you just run git pull

gentle pelican
#

i prefer doing it manually

#

sue me

#

jesus

gentle pelican
#

@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

gloomy flameBOT
zealous mulch
mossy sable
#

Can we get an option to still display the send message button but still hide all the others

deep ridge
sly bolt
mossy sable
#

But I do use the send message button often enough where I'd love to see it always visible while hiding the other buttons

dusty wolf
mossy sable
#

I Menlab its still usable so. I'll keep the plugin but it's a nice to have imo

#

Not drunk promisr

hoary parcel
#

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
dusty wolf
#

I will look into the first idea later on

hoary parcel
#

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; }
    }
  }
}
small locust
sturdy void
#

it's time to replace your eye icon code bombcatcozy2

glossy olive
#

btw this plugin is currently breaking discord

#

or vencord lol

#

but I kinda need it sooo pls fix

dawn bolt
#
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^

old hazel
#
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
inner oyster
#

umm its broken bc it shows errors while rebuilding so pls fix

glossy olive
glossy olive
inner oyster
inner oyster
dusty wolf
#

I should fixed this yesterday but i forgor

#

hopefully today

inner oyster
dusty wolf
#

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

inner oyster
#

successfully build --dev no errors

glossy olive
#

it works without --dev btw

#

life savor mod fr

inner oyster
glossy olive
junior ocean
#

holy fork this should be official

dusty wolf
glad helm
#

uh

#

o wait i cant send images here

dawn bolt
dusty wolf
#

I migh test it when I go back to fixing broken plugins

worldly ingot
#

it looks like this plugin broke a while back

grave latch
#

it was working for me until recently

dusty wolf
#

noted, I will take a look tomorrow

dusty wolf
#

tomorrow is not coming ig, there is a lot on my back. so someone remind me after 2 weeks

bright osprey
#

CatAppear I do not use this, but it has been 2 weeks. @dusty wolf

dusty wolf
#

Will check it in a bjt

#

Ty

dusty wolf
#

fixed

worldly ingot
#

thank you for fixing it! googleblueheart

worldly ingot
#

seems like it broke again...

dusty wolf
#

also consider pinging me

worldly ingot
dusty wolf
#

@worldly ingot should be fixed now, mind testing it?

worldly ingot
#

alright, let me try

#

I'm surprised this isn't part of the main Vencord build still