#👾-core-development

1 messages · Page 270 of 1

austere talon
#

not all are mana

austere talon
charred monolithBOT
austere talon
#

i remade the component from scratch

#

vtest dev

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
austere talon
#

omg lint broke

#

I remade the component and signature kinda changed

#

have fun migrating equicord code

#
switch.children -> switch.title
switch.note -> switch.description
#

rest is same

gritty iris
charred monolithBOT
gritty iris
#

thank you for giving me a heads up thumbs_up

charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.13.1
austere talon
austere talon
#

i remade FormSwitch and FormDivider now, cause FormSwitch is gone and FormDivider is so simple

#

FormText remake is pr

#

we could also remake Button and Clickable

#

and anything else settings uses

austere talon
#

Select is hard

#

but used here

#

maybe we could just wrap the hard to remake discord component bits in individual ErrorBoundaries

limber skiff
#

Button is also kinda hard

austere talon
#

not really

limber skiff
#

because of css classes and styling

#

we cant just use our styles

#

or else themes wont match

austere talon
#

the only thing we need is Discord css variables

#

it's not that bad if they break

#

just degraded ui

limber skiff
#

we can have fallbacks

austere talon
#

yeah

gritty iris
fossil inlet
# charred monolith

you should add a middle stage for when the mouse is down but before it is released

dusk blaze
austere talon
#

pr

gritty iris
#

didnt take more than like 5 minutes to migrate Joe_Shrug

#

thank you for making it easy YIPPIEEEE

gritty iris
elder plinth
#

did V ever reply to this ;P

austere talon
#

it's not intentional

#

it should subscribe only to the plugin's keys

elder plinth
#

does it need to sub to all plugins.PluginName.key or just plugins.PluginName

austere talon
#

the former

elder plinth
#

fun

austere talon
#

however if we adress this ^, it will be able to plugins.PluginName.*

charred monolithBOT
pine topaz
#

i might be insane

#

misread

dusk blaze
#

Regex probably broke for the 500th time

dusk blaze
#

this is so unreliable we should either use iTunes API or last fm

pine topaz
#

wait are we parsing html with regex???

dusk blaze
#

yes

#

it’s genuinely deranged

gritty iris
#

findByProps("timestampTooltip", "blockquoteContainer") timestampTooltip was removed so findByProps("timestamp", "blockquoteContainer") and removing timestampTooltip works fine
["0g8Xd3"]),allowOverflow: allowOverflow was removed so ["0g8Xd3"]),text: would work now

#

If you want I can pr fixes thumbs_up

austere talon
#

go for it

gritty iris
#

not sure if bettersessions would look okay on stable as they removed that tooltip

#

showhiddenthings wont

gritty iris
gritty iris
#

they removed timestamp tooltip

#

so not sure how it will look

austere talon
#

<t:1759532550>

#

its still there for me

gritty iris
#

for sessions?

austere talon
#

idk what u mean

gritty iris
#

they removed the classname

austere talon
#

it should be fine probably

gritty iris
#

alr

#

im getting a web ss if I can

austere talon
#

this isnt stable compatible right

gritty iris
#

nope

#

I can try if you would like

#

looks fine

#

left is stable right is canary

#

could use 93S+lJ

#

so #{intl::GUILD_MEMBER_MOD_VIEW_HIGHEST_ROLE}),children:

dusk blaze
gritty iris
austere talon
austere talon
dusk blaze
#

i'm not even sure how it detects

#

still works!

#

i ran like 40 times

austere talon
grave mangoBOT
# austere talon is this the part that broke https://github.com/Vendicated/Vencord/blob/main/src/...

native.ts: Lines 32-45

let cachedToken: string | undefined = undefined;

const getToken = async () => {
    if (cachedToken) return cachedToken;

    const html = await fetch("https://music.apple.com/").then(r => r.text());
    const bundleUrl = new URL(html.match(APPLE_MUSIC_BUNDLE_REGEX)![1], "https://music.apple.com/");

    const bundle = await fetch(bundleUrl).then(r => r.text());
    const token = bundle.match(APPLE_MUSIC_TOKEN_REGEX)![2];

    cachedToken = token;
    return token;
};
dusk blaze
#

yeah

#

i'm rewriting to use the iTunes api

#

since it's the same catalog

#

and to also fix the issue where it pulls wrong album art

austere talon
#

how would it solve that

#

isn't it still gonna have the same issue

dusk blaze
#

first issue:

  • itunes api doesn't use auth
    second issue:
  • instead of results[0] -> results.find(song => song.collectionName === album) || results[0]
austere talon
#

Also what does it do if there's no image

#

maybe scrape lastfm ykyk

dusk blaze
#

there shouldn't be no image unless you're playing a local file that isn't on AM

austere talon
#

yes that's what I mean

dusk blaze
#

yeah maybe run a lastfm search

#

i thought of that

austere talon
#

the lastfm api doesn't give album covers you have to scrape

dusk blaze
#

oh my god

austere talon
#

you can check like musicbrainz, lastfm, google/bing

dusk blaze
#

oooor musicbrainz

limber skiff
#

they have a weird prop now

#

called

#

__unsupportedReactNodeAsText

gritty iris
#

I know its weird as hell

austere talon
#

wait no the lastfm does give album cover

#

it only doesn't give artist image

#

iirc

#

okay yeah it gives cover I'm dumb

#

ignore what I said

limber skiff
#

I think they are deprecating react nodes as tooltip text?

dusk blaze
austere talon
#

but you have to provide an api key

dusk blaze
#

okay works

austere talon
limber skiff
#

let me confirm it

gritty iris
#

they better not

dusk blaze
limber skiff
#

I mean

limber skiff
austere talon
#

see where we pass react nodes as tooltip

#

is there a new way

limber skiff
#

It still works passing a component to text

gritty iris
#

Probably didn't add a thing for it yet

limber skiff
#

god these images look so shit

gritty iris
#

I know it for sure works for now because I already fixed something that uses it

dusk blaze
#

rate limiting is IP based afaik

austere talon
#

erm idk

#

maybe we could ig

dusk blaze
#

ig :snackstare:

#

maybe at least for amrpc since relying on lfm fallback shouldn’t happen thaaaat much

austere talon
#

just don't add fallback tbh

#

who cares

#

local file listeners are used to it

#

same thing happens with official Spotify presence

dusk blaze
#

truee

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

This PR adds a new plugin: MessageRecall.

  • Lets you recall your previously sent messages into the text box
  • Default keybinds: Shift+ArrowUp / Shift+ArrowDown
  • Keybinds can be customized via plugin settings
  • Works across DMs, groups, and servers
  • Resets recall when you send a new message (so you always start from the latest)

This is useful for quickly reusing or past messages without needing to copy them manually.

Made for this plugin request: https://github.com/Vencord/plugi...

charred monolithBOT
bleak blaze
hollow musk
#

i mean it would be useful if you talk in different servers and want to recall a message from a different server to send in another server
a bit niche, but it reminds me of the chat history stuff that certain tuis use for vIbEcOdInG

austere talon
austere talon
#

nina woke

charred monolithBOT
austere talon
#

just drop it tbh no one cares about that

dusk blaze
#

or add as option

#

either show nothing or apple music or artist pfp ykyk

#

if it breaks less people notice ykyk

austere talon
#

you should add cache tbh

#

i love fetching same shit from itunes api every 15s

dusk blaze
#

i think it has cache but until you restart client

austere talon
#

oh yeah im blind

dusk blaze
#

she’s like only other documented amrpc user

austere talon
#

amrp removed soon

dusk blaze
#

DIE

#

just rewrite vencord with cursor @austere talon

dusk blaze
dusk blaze
#

either option or i remove and make a plugin to monkeypatch it back in

#

oh i forgot discord supported custom RPC links now

#

@astral birch how did you do on gramophone rpc

astral birch
fossil inlet
#

just send the source

#

So lazy

astral birch
#

idk where the source is

#

lol

#

im using a locally edited version of the extension

fossil inlet
#

I mean it has a source map attached so just get the information from it?

astral birch
#

do it urself I'm tryna game here

fossil inlet
astral birch
#

also like you can just look at the code here

#

the presence url stuff isn't transpiled

fossil inlet
#

I can't wait for typescript to finally become a second class citizen in node so I can stop using es build for everything

fossil inlet
#

(decorators my beloved)

austere talon
fossil inlet
austere talon
fossil inlet
austere talon
#

wrong type alert

#

in browser it's just a number

fossil inlet
austere talon
fossil inlet
charred monolithBOT
charred monolithBOT
dusk blaze
dusk blaze
#

rare good PR

charred monolithBOT
#

Adds CleanCord, a Vencord plugin that cleans up Discord’s UI by hiding all the flashy stuff you might not care about.

With this plugin, you can:

  • Hide Nitro nameplates
  • Hide avatar decorations
  • Hide profile effects
  • Hide booster icons
  • Hide server tags
  • Hide role icons
  • Hide Super Reactions and their burst effects

Everything is toggleable in the settings, so you can hide as much or as little as you like.

austere talon
austere talon
charred monolithBOT
dusk blaze
#

listioning

prime dew
charred monolithBOT
dusk blaze
#

why is he still sneaking in his abandonware

bright island
#

gits and shiggles

odd heath
#

noblockedmessages -> noblockedusers

charred monolithBOT
brazen bone
#

NoBlockedMessages is so last gen, where's OnlyBlockedMessages

charred monolithBOT
austere talon
#

lol found a reporter bug

charred monolithBOT
#
[Vendicated/Vencord] New branch created: fix-fixImagesQuality
austere talon
#

does this look right @limber skiff

#

i just change this from webp to png

#

instead of removing the block

limber skiff
#

yeah

#

but does that still add format=png even when the extension is already png

austere talon
#

yes

#

also this is how I learn better gif alt text is bugged and adds it to all images not just gifs lmao

limber skiff
#

okay I think that's fine yeah

charred monolithBOT
#
[Vendicated/Vencord] branch deleted: fix-fixImagesQuality
#
[Vendicated/Vencord] branch deleted: fix-reporter
#
[Vendicated/Vencord] branch deleted: fix-types
desert cosmos
austere talon
#

i lbocked his ass

desert cosmos
#

isnt that like the 5th time they tried to pr that

#

poor guy

austere talon
#

2nd but yeah

#

and his 2nd pr broke a new rule

#

he clearly didnt read anything so I just blocked

#

breaking rules is fine but if I close your pr for breaking rules and then 10 minutes you open another pr thats breaking a second rule...

#

natural selection

kindred viper
#

MinecraftBedrockArabic

dusk blaze
#

vee on abandonware closing streak

dusk blaze
#

this broke ages ago

austere talon
#

I will try to fix circular dependencies in vencord soon

#

fixing them in vesktop was super easy

#

i think it's just removing any top level code in plugins/index.ts (and maybe some other files) and instead putting it into a init() function then calling the function from index

charred monolithBOT
brazen bone
#

Unless it dies of preventable diseases

odd heath
odd heath
#

anyway should i add hiding reactions from blocked users

fossil inlet
gritty iris
#

just 10 more years in the usa dont worry it will eventually happen thumbs_up

charred monolithBOT
bright island
#

3492 ffs

austere talon
grave mangoBOT
limber skiff
#

ngl this is pretty bad

#

why does our clone children function have to explicitly check for those

#

I dont even remember anymore

austere talon
limber skiff
#

lol

#

I should have at least left a comment explaining why

austere talon
brazen bone
#

Don't remember, but maybe cloning the control caused issues with state management or something

charred monolithBOT
desert cosmos
#

vencord translation releasing 2076

austere talon
#

ShowTimeoutDuration

charred monolithBOT
austere talon
#

vtest

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
gritty iris
#

well I mean technically it did 💀

#

anyways I get the point tonguecat

#

I prob forgot to revert some bettersettings changes so mine showed like that lol

scenic brook
#

aaaa

charred monolithBOT
austere talon
#

it should be like this

gritty iris
charred monolithBOT
olive aurora
#

@austere talon rate ```diff
diff --git a/src/plugins/webContextMenus.web/index.ts b/src/plugins/webContextMenus.web/index.ts
index be85e33c..c7c913ab 100644
--- a/src/plugins/webContextMenus.web/index.ts
+++ b/src/plugins/webContextMenus.web/index.ts
@@ -128,8 +128,8 @@ export default definePlugin({
replace: "false"
},
{

  •                match: /canCopyImage\(.+?(?=return"function"==typeof \i\.clipboard\.copyImage)/,
    
  •                replace: "$&return true;"
    
  •                match: /(?<=canCopyImage\(.{0,240}?)typeof \i\.clipboard\.copyImage/,
    
  •                replace: '"function"'
               }
           ]
       },
    
#

wait wrong diff

#

on stable its "function"==typeof x, but on canary right now its "function"!=typeof x and the branches changed

#

so this works for both

austere talon
#
{
    match: /(?<=canCopyImage\(.+?)typeof \i\.clipboard\.copyImage/,
    replace: '"function"'
}
#

mine

olive aurora
#

goood

charred monolithBOT
austere talon
#

vtest

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
charred monolithBOT
odd heath
#

@fossil inlet shouldnt it be user-companion in the when 😭

#

otherwise conflicts with the settings you have blabla

odd heath
#

GUH

#

okay

#

wait

#

should i change all of them or only the one in the when

fossil inlet
#

don't remove old ones, just add new ones for backwards compat

odd heath
#

sure

odd heath
#

slop code

#

im not even sure but i think with channelstream filtering the other code removing the groups might just be obsolete

#

too lazy to figure that out rn

austere talon
#

bro where is the reporter status thread

#

is the mobile app retarded or is it gone

odd heath
austere talon
#

yes one day

odd heath
#

Why is it a pumpkin 😭

odd heath
charred monolithBOT
#
[Vendicated/Vencord] New tag created: v1.13.2
austere talon
#

@limber skiff I fixed circular dependencies in Vencord

#

🤯

charred monolithBOT
#
[Vendicated/Vencord] New branch created: fix-circular-deps
austere talon
#

basically just moved all the top level code in plugins/index.ts to an init() function that's called from Vencord index

limber skiff
#

too many changes, PR rejected

austere talon
#

I also had to move this function to a different file so @utils/misc doesn't import webpack

limber skiff
#

wait where's the trol face

austere talon
limber skiff
#

the functions in util shouldnt use discord code

austere talon
#

yeah

#

exactly

#

this is the file that exports things like classes() function

#

which is used in ErrorBoundary indirectly

#

so ErrorBoundary was accidentally importing webpack commons

#

which it shouldn't

limber skiff
#

u should remove the comments about circular dependency too

austere talon
#

yeah ik

#

i did already

#

but havent pushed

grave mangoBOT
limber skiff
#

ohh okay

#

I'll review soon

charred monolithBOT
austere talon
#

i moved plugins/index.ts -> api/PluginManager

#

not related to fixing circular imports, I just thought it was better

limber skiff
#

yeah that's good

#

we should separate vencord apis from apis that wrap discord stuff

#

like Settings api shouldn't be in the same place as UserSettings api

#

makes it confusing to know what belongs to what

charred monolithBOT
austere talon
#

i dont think this changes anything

#

just making sure

charred monolithBOT
limber skiff
gritty iris
fossil inlet
austere talon
charred monolithBOT
charred monolithBOT
charred monolithBOT
gritty iris
#

Autodnd started a spark in some people 😭

charred monolithBOT
bright island
#

this guy

gritty iris
#

lmfao

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

What happens when the bug or crash occurs?

The preview message feature does not work in a forum channel

What is the expected behaviour?

The preview message button should appear inside forums

How do you recreate this bug or crash?

  1. Enable the PreviewMessage plugin
  2. Go inside a forum post
  3. Observe that the PreviewMessage button doesn't appear if you want to preview your message

Errors

Replace this text with your crash-log.

Request Agreement

  • [x] I am...
fossil inlet
scenic brook
#

I think they just mean general messages, not just the initial post

austere talon
#

vext

nimble pendantBOT
desert cosmos
#

veee 😭

jagged cloak
#

lol

charred monolithBOT
charred monolithBOT
charred monolithBOT
fossil inlet
#

@austere talon been thinking of making some custom eslint rules for a bit, is this something you would be intrested in/have any ideas for?

austere talon
#

sure yeah

fossil inlet
# austere talon sure yeah

id love to hear ideas

the only thing i have off the top of my head is forbidding imports

also thinging about something for prefering useStateFromStores and settings.use over their non-reactive counterparts

also something for warning if a setting is used in a predicate but does not need a restart

gritty iris
#

formsection gone

#

oh also both selects are dead

odd heath
gritty iris
#

nope its gone

#

technically

#

their using smth else

odd heath
#

awful

gritty iris
#

mana

odd heath
#

well i cba to compare stable and canary and make it work sooooooo

odd heath
#

sadan will fix

gritty iris
#

im looking rn

odd heath
#

enjoy

fossil inlet
#

We should probably move off of them

gritty iris
#

their moving to mana

fossil inlet
odd heath
austere talon
#

they've been remaking their settings ui for a while, moving away from the old form components

brazen bone
odd heath
#

yea i wanna know what exactly that is and how it changes things 😭

fossil inlet
#

With the previous one being void (I think)

brazen bone
#

Oh, new internal system, not an existing library

odd heath
#

ooh i see

fossil inlet
gritty iris
#

most components Im finding are with RadioGroup

gritty iris
#

mana-toggle-inputs goes back to on atleast one component RadioGroup is checked

#

whatever

#

search I did

austere talon
gritty iris
#

I dont have a fix for select yet

#

got one for searchable tho

odd heath
#

saved

#

all i care about blobcatcozy

gritty iris
#

619307 select
921349 searchable select

fossil inlet
#

i think we have to remake FormSection

limber skiff
#

what's the reason we are remaking form components

fossil inlet
#

discord removed

limber skiff
#

didnt we agree they sucked? 😭

fossil inlet
limber skiff
fossil inlet
charred monolithBOT
austere talon
#

not the time

charred monolithBOT
austere talon
#

FormSection literally useless idk why it was ever used

charred monolithBOT
austere talon
#

we should stop using all Form components

fossil inlet
#

yes

charred monolithBOT
austere talon
#

vtest

nimble pendantBOT
austere talon
#

i will merge into main like this for now

austere talon
nimble pendantBOT
nimble pendantBOT
austere talon
#

GUHHHHH

#

NOT STABLE COMPATIBLE

odd heath
#

knew thatd happen

#

fix

charred monolithBOT
austere talon
#

vtest

nimble pendantBOT
nimble pendantBOT
nimble pendantBOT
odd heath
#

amazing

charred monolithBOT
fossil inlet
#

I have a PR for the experiments patch

austere talon
#

who cares

#

later

#

🙏

fossil inlet
#

😭

austere talon
#

sorry i didnt mean to sound rude

#

i just mean it's very low priority cause it's just the error card

#

much more important to rush out a fix for the settings ui

#

and also make it future proof

fossil inlet
#

no, i understand

#

i didn't take it as rude

austere talon
#

cause they're gonna remove more and more formslop the coming week probably

#

first it was FormSwitch now it was FormSection

#

the other Form components are also dead afaik

#

i have replacements for the other Forms in that uikit pr

#

we should try to make Settings ui discord componentless

#

or if we really must use a discord component then it has to be inside an individual ErrorBoundary

fossil inlet
desert cosmos
charred monolithBOT
odd heath
#

@austere talon can we have something to disable hellish middle click paste please 😭

#

so annoying

austere talon
#

just disable it in ur system bruh

odd heath
#

electron doesnt CARE

austere talon
#

wrong

odd heath
#

how

austere talon
odd heath
#

im not using xorg

austere talon
odd heath
austere talon
#

yes you are

odd heath
#

no im not

austere talon
#

you are running Discord in Xwayland

odd heath
#

im running vesktop natively in wayland blobcatcozy

austere talon
#

then the setting would work

odd heath
#

it should be off in my config though

#

unless im getting trolled

#

nop @austere talon electron just blatantly ignores it

#

unless the config is just fucked

charred monolithBOT
#

🔒 Add PasscodeLock Plugin

📋 Descrição

Adiciona o plugin PasscodeLock que permite proteger o Discord com uma senha personalizada, oferecendo uma camada adicional de segurança para usuários que compartilham seus dispositivos.

✨ Funcionalidades

  • 🔐 Tela de Bloqueio: Protege o Discord com uma senha personalizada
  • ⚙️ Configurações Flexíveis:
    • Comprimento da senha (4-8 dígitos)
    • Tempo de auto-bloqueio por inatividade
    • Sistema de cooldown para tentativas falhad...
odd heath
#

its not my config thats fucked

#

cuz it works for apps that dont involve elctron

#

unless its just hyprland doing hyprland things

charred monolithBOT
odd heath
#

i think electron apps just genuinely dont care and electron has no flag override for it to my knowledge

#

husk

charred monolithBOT
dusk blaze
#

will this change break my abandonware

odd heath
limber skiff
charred monolithBOT
austere talon
#

i wanna merge that pr fast @limber skiff

#

it's ready now

#

it replaces FormText, FormDivider and FormTitle

limber skiff
austere talon
#

yeah

limber skiff
#

why so fast

austere talon
#

the migration should be a separate commit

austere talon
#

last week it was FormSwitch, today it was FormSection

#

soon the other ones will be gone too

limber skiff
#

yes but we can wait a day no?

austere talon
#

no

#

we need to bump browser

limber skiff
#

I'm free tomorrow afternoon

austere talon
#

and I wanna get this in the release

#

i mean you dont have to review really

#

we can merge now and check later

limber skiff
#

if ur sure of the changes then go ahead

#

I can review tomorrow and commit anything that needs changing

#

It's fine

charred monolithBOT
charred monolithBOT
austere talon
#

wtf is eyebrow variant

charred monolithBOT
limber skiff
charred monolithBOT
austere talon
#

i broke webpack so no finds work and main settings page doesnt error now

#

only plugins page errors still

#

cause of this shit

#

very useful class

#

oh i didnt break all webpack finds

#

but now I did (except react)

#

I caught two plugin crashes

charred monolithBOT
limber skiff
#

@austere talon make sure you dont merge with forced broken finds teef

#

vtest uikit

nimble pendantBOT
limber skiff
#

i wonder..

#

it's over vencord is patched

austere talon
#

don't do that 😭

limber skiff
austere talon
#

we should remake the Button and Clickable components

#

shouldn't be that hard

limber skiff
#

what else could we potentially remake

#

Select?

austere talon
#

select is kinda hard to make

#

and only minor things

#

imo just wrap in ErrorBoundary

limber skiff
#

we need like a popup for select right

austere talon
#

that's not the hard part

#

you either use the html select element but it's very limited and painful to style

or you remake it, but then you have to ensure it's accessible and has keyboard listeners, etc

limber skiff
#

ahh yeah

#

that's very annoying

turbid hatch
#

maybe you can borrow a component from react-aria?

#

just so you arent going from scratch

#

although aria integrates with its own components heavily so that would mean you'd have to either rewrite the aria component or use all of aria for this one thing

#

melt nevermind

austere talon
#

gonna add shadcn to vencord

turbid hatch
#

😭

#

i specifically picked aria because it would've been easiest to style forgetting that aria is kind of all or nothing

austere talon
#

anyway we don't need to remake everything

turbid hatch
#

which bits are gone atm?

austere talon
#

just to a point where settings are still usable in the worst case

austere talon
turbid hatch
#

ah got it

#

so basic form stuff

austere talon
#

the goal is to not crash even with all plugins

and for the settings ui to be usable

turbid hatch
#

oh that reminds me

#

i need ur input on translation PR, ill write a comment on github

charred monolithBOT
#

@Vendicated need some input, how should things like this be translated?

https://github.com/Vendicated/Vencord/blob/a3850c130e6b2bf776d515a2fabc3e80d2bd3d55/src/components/settings/tabs/vencord/NotificationSettings.tsx#L59-L65

i think the ideal way would be all in one go, but atm it's not possible to do so because <Translate> only translates direct string children (which lines up with how other translation libraries work right now), so we'd need to rewrite that component in a way that ...

charred monolithBOT
gritty iris
# charred monolith

New vencord working 100% no lie no virus 2025 not released leaks gamer discord

austere talon
#

making buttons now, based on mana buttons

austere talon
#

okay im done

charred monolithBOT
austere talon
#

still need some work

still maple
#

oh no the rebase gone wrong

#

wait it's not even an issue of mine, it's an upstream issue

austere talon
#

yeah mb

#

will be fixed soon

charred monolithBOT
austere talon
charred monolithBOT
austere talon
limber skiff
#

what about clicking a plugin settings?

#

most will work right?

austere talon
#

that uses Modal api

#

if modal api breaks they wont work

#

otherwise, I made every settings component individually use ErrorBoundary

#

so if say Select breaks, only select settigns wont be visible

limber skiff
#

will the authors section cause errors?

#

since it uses the avatars component

#

but that's pretty good

#

we can even use those components in plugins

charred monolithBOT
austere talon
#

I replaced all Forms, Text, Button and (Form)Switch with our own

limber skiff
#

nicee

austere talon
#

I didn't replace usages of the non deprecated components yet

#

I wanna do that in a separate commit

#

to keep the noise of that out of this commit

#

well it's still 62 changed files xD

limber skiff
#

is it still called FormSwitch

#

or just the compat

austere talon
#

what else should we call it

#

we have Switch that's just the switch

limber skiff
#

oh

austere talon
#

and then we have FormSwitch that's the settings component with title and description

#

this is FormSwitch

#

discord already axed FormSwitch a week ago so Vencord has been using our own FormSwitch component since a week ago xD

limber skiff
#

can keep it called FormSwitch then

gritty iris
#

switch trolley

limber skiff
austere talon
#

they made a new FormSwitch component lol

#

its basically the same

limber skiff
#

and they still dont center the button vertically

gritty iris
#

they really removed it just to readd it 😭

austere talon
#

look at the height

gritty iris
#

what the

austere talon
#

the ones that don't have the glow around them still use the old deprecated components

#

and are 2px higher

#

that glow feature was so useful for me ahahah cause it made it so easy to find redesign switches

gritty iris
#

those 2px are gonna break all the components

#

trust

austere talon
gritty iris
#

how did the buttons and such come out

#

any good?

#

looks amazing there

austere talon
#

i just made everything look the same as discord's components

gritty iris
#

cant wait to have to go through hell to port it all

austere talon
#

well for now there are Compat components

#

but they'll be removed soon

gritty iris
#

I already moved everything that was section

#

so at least thats done

gritty iris
#

oh btw I have a fix for reviewdb's patch but it needs a better find and I couldnt find the modal

#

like it patches but I couldnt find the modal to test it

gritty iris
austere talon
#

Discord components are so sane

gritty iris
#

we all like saturdays right

limber skiff
gritty iris
austere talon
gritty iris
#

welp

austere talon
#

should be ready now

limber skiff
gritty iris
charred monolithBOT
gritty iris
#

I kinda wanna go test it to see how good it looks

austere talon
gritty iris
#

what even caused it to brick

#

?

limber skiff
#

what

#

they meant they added an option to force e everything to fail

#

so you can see what crashes and what doesnt

gritty iris
#

That's cool helpful for debugging

#

I saw the webpack was dead earlier so I was wondering what caused it lol

limber skiff
#

it was intentional

gritty iris
#

We love that

austere talon
#

okay it works

#

but it requires modal api to not error

#

very useful

charred monolithBOT
odd heath
#

? await UserUtils.getUser(`${user.id}`)
why is it in the string

#

shouldnt user.id be a string already

austere talon
#

yes

#

idk i didnt write that code

odd heath
#

valid

austere talon
#

oh it's not a string

#

it's a bigint

gritty iris
#

isnt it using plugin author ids

limber skiff
#

this should be banned

#

nuke these margins classes

#

they just encourage bad code imo

gritty iris
#

who did that its terrible

odd heath
odd heath
#

least obvious comment

limber skiff
#

I genuinely hate everywhere that Margin.x is used

gritty iris
odd heath
#

<yea ik

gritty iris
odd heath
#

i just saw user.id and thought user was a discord object

gritty iris
#

isnt that just moving it right back to the same spot

#

😭

austere talon
limber skiff
austere talon
#

why

gritty iris
austere talon
#

so much effort if you just need margins

limber skiff
#

well

odd heath
#

trust

limber skiff
#

most places that use those can instead use a flex component with gap

odd heath
#

and push to stable without testing

gritty iris
limber skiff
#

which is way more clean than margin

odd heath
limber skiff
gritty iris
#

not framework but I remember someone pushed smth and it was just what the hell

#

either pushed early or some intern was like yup im done for today

#

I forgot which

#

possibly switch to rspack I honestly dont remember

austere talon
#

it's like tailwind kinda trolley

limber skiff
#

😭

austere talon
#

you would hate tailwind

limber skiff
#

I wouldnt

#

but I would rather pick one or another

#

not combine both

#

like right now

austere talon
#

tbh im lazy to always add a css file and come up with classNames

a lot of times I just need margins and nothing else. so the margin classes are very handy

limber skiff
#

iirc their build time was so long before it

gritty iris
#

I liked the rspack change

#

it made things interesting for me to find stuff because I was still learning patches and such

limber skiff
#

I still think they should somehow revive the aggressive tree shaking trol

limber skiff
#

not sure if I called it the right way

limber skiff
#

but it merged modules way ore hardly

austere talon
#

do you mean the shit that merged modules

limber skiff
#

yeah

austere talon
#

NO

limber skiff
#

it wasn't that bad

gritty iris
#

ven got scared

limber skiff
#

besides non exported things

austere talon
#

you love having to add patches to get functions & components 😭

limber skiff
gritty iris
#

nookies loves patching YESYES

limber skiff
#

or they have to at leaast fix this

#

have they ever looked at their own bundle to see how many times that's added

#

so much for minifying when u add that shit to all modules

#

the plugin that does that is genuinely so dumb

limber skiff
#

to see what we had to change

#

how to find...

#

do you remember any plugin that had to export a function?

austere talon
#

look at the pr first 😭

#

we really need to release browser extension

#

settings ui is broken

limber skiff
#

I forgot for a sec

#

these are our variants now right

austere talon
#

yes

limber skiff
#

okay so the comment can be nuked

austere talon
#

the other ones were all deprecated anyway (besides eyebrow)

austere talon
#

it's just there for now

limber skiff
#

ahh it's just compat

#

I didnt notice the file name

austere talon
#

our own text component uses two separate props

#

Old:

<Text variant="text-sm/normal" />

New:

<Paragraph size="sm" weight="normal" />
limber skiff
#

so just to confirm

#

we are gonna remove the text find

#

and text component typings

#

right?

austere talon
#

yes

austere talon
limber skiff
#

alr

austere talon
#

need to fix this

#

ah

#

it uses innerClassname

limber skiff
#

what's the fix me here

austere talon
#

it's been broken forever

limber skiff
#

lol

charred monolithBOT
austere talon
#

that code was just outdated and bad anyway lmao

limber skiff
#

what's this

#

I dont get the random comment

austere talon
#

oh

#

i put that there as a mental note

#

not needed

charred monolithBOT
limber skiff
#

is this compat?

austere talon
#

no

#

I just didnt wanna duplicate the css

#

ig we could make it a separate class

charred monolithBOT
austere talon
#

lol this is less code

#

css nesting is fire

#

the hover applies to both too

limber skiff
#

this is compat too right?

austere talon
#

yeaa

#

all of this is only temporary and will be removed very soon

limber skiff
#

yep

austere talon
#

anyway

#

i forgot that we have to remove these three props

#

and they're still in use

#

i think submitting is just disabled

limber skiff
#

should the divider potentially just accept all props that hr accepts

#

instead of style explicitly

austere talon
#

seems pointless

#

what else could you need

limber skiff
#

It's that only doing style seems a bit weird

austere talon
#

wait this is this right

limber skiff
#

yes

austere talon
#

thats hilarious

#

innerClassName isnt even used anymore

#

but it looks fine

#

so innerClassName is useless

charred monolithBOT
limber skiff
#

can you confirm this is even needed

#

seems pointless to keep if we are rewriting

#

Tag isnt defined in this scope trol

#

no wonder its not blue

#

you called it T, not Tag

austere talon
#

bruh was this always so misaligned

austere talon
#

not the generic

limber skiff
#

oh

austere talon
#

it needs to be upper case or react will think we are trying to create an element called tag

limber skiff
#

so typescrit allows u to do this

#

generic and rename have same name

austere talon
limber skiff
#

😭

austere talon
#

that svg is bad

#

i literally stole it from gh lol

#

the svg viewbox is 16x16 but the actual path is only 16x14

#

so to have it line up you have to translate it up 1px

#

wait no

#

it was our own style

#

wtf

limber skiff
#

what's the reason we export these here

#

I forgot again

#

I swear i asked already

austere talon
#

globals

limber skiff
#

should export the others then

charred monolithBOT
austere talon
#

if you mean the new components, yes

limber skiff
#

yeah

#

isnt this enough

austere talon
# limber skiff 😭

bro you don't know how hard it is to find crash reason if you make everything error

limber skiff
#

the log was temporary right

#

or do you actually want it sus

charred monolithBOT
austere talon
limber skiff
#

eyebrow made them uppercase

austere talon
#

it looks fine imo

limber skiff
#

but ig not even discord does it anymore

limber skiff
austere talon
#

but we do have to go through our headings and check

limber skiff
#

maybe a bit smaller?

austere talon
#

cause these are lower case now

limber skiff
#

or does it look weird

#

HORROR

#

fix those rn

austere talon
#

tbh I hate components transforming your text

#

but we have to make sure there are no lowercase headings now

#

how does this look normally

#

the heading here

#

also horror why is there :

limber skiff
#

does Button centers the component inside

austere talon
#

yea

#

should

limber skiff
#

alr good

austere talon
#

I'm gonna check each button manually anyway

#

cause the ReviewDB one was so ulgy

charred monolithBOT
limber skiff
#

check with those changes

#

to make sure i didnt break anything

#

lol our FormSwitch is using Text from webpack

austere talon
#

which is TextCompat anyway lmao

limber skiff
#

I'll change it to Span

austere talon
#

you broke this

#

the margin- needs to stay

limber skiff
#

uhhh

#

I'm confused why?