#๐Ÿ‘พ-core-development

1 messages ยท Page 228 of 1

rugged spire
#

wait

graceful grotto
#

that's what im saying

rugged spire
#

THIS IS YOUR PACKAGE fr

graceful grotto
#

๐Ÿ’€

rugged spire
#

so you can

#

@austere talon can't you just setup some ci job to automatically update that package

graceful grotto
#

why are we not using official electron typesccript declarations again

rugged spire
#

where is the repo for this even hosted @austere talon

graceful grotto
#

Btw I'll just mention that changing the file WILL break a hell lot of stuff especially for the plugins content

#

I changed it locally to test

rugged spire
#

vencord is full of typescript crimes

austere talon
#

and takes a while to install

#

obnoxious

rugged spire
austere talon
#
  1. install electron package in temp folder
  2. copy paste the typing file
  3. profit
rugged spire
#

make repo for it

#

use CI to update every week or something like that

graceful grotto
limber skiff
#

it's much better actually

graceful grotto
#

a lot

rugged spire
#

just not worth it?

charred monolithBOT
graceful grotto
austere talon
#

new dev tools?

fossil inlet
austere talon
#

the horror

rugged spire
#

what do you mean the horror

#

just paste from: _sadan. has:video in: ๐Ÿงฉ-plugin-development in: ๐Ÿ‘พ-core-development in discord search

#

see how it works for yourself

graceful grotto
#

am I allowed to commit more typescript crimes to hide unupdated code

rugged spire
graceful grotto
jolly egret
#

seems like you are better trying to update upstream before you attempt this

#

thats the ideal solution

fossil inlet
austere talon
#

bruh just wait for me to upgrade the package and quit yapping

rugged spire
#

it's weird being busy in this channel at this time after so long not lurking in this channel at this time of day

graceful grotto
#

damn what the hell

graceful grotto
#

i think a null check should solve all these

#

@austere talon can you please just update (copy paste) the new types? It only needs a null checker for frame by doing frame?.method instead of frame.method

#

that's it, nothing else's broken

rugged spire
graceful grotto
#

i did

#

just omw to make a pr

#

but i need it updated over there or the ci fails

dusk blaze
graceful grotto
dusk blaze
#

recieve @fossil inlet

fossil inlet
#

@limber skiff

#

is there a reason why loadLazyChunks is behind is_dev here

grave mangoBOT
limber skiff
#

to not include in normal builds

#

loadLazyChunks code is only included in dev builds and reporter

fossil inlet
#

yea, but is there a reason for that or is it just people would get confused by it

limber skiff
#

I dont see why a normal user would use

fossil inlet
#

true

limber skiff
#

mainly to reduce the size of the builds

fossil inlet
#

ah

rugged spire
limber skiff
#

nop

rugged spire
#

then why is it like that

#

imo the dev check should be removed

#

i bet it's still included in normal builds somehow unless idk

austere talon
#

why are u constantly yapping without really knowing what youre talking about

graceful grotto
#

how do i test the builds locally

#

i tried building the installer for myself but it's just stuck

#

when i try to build it

fossil inlet
graceful grotto
jolly egret
fossil inlet
#

tree-shaking

brazen bone
#

Tree shaking is such a funny way to say dead code removal

graceful grotto
#

got acrylic working damn

#

mica

austere talon
#

oh right its supported on vesktop but not vencord lol

graceful grotto
#

which it should be

austere talon
#

just copy the code over from vesktop shrug

#

or better yet move the code over

#

remove it from vesktop

graceful grotto
#

no use now

charred monolithBOT
#

This PR introduces the following background material elements for windows 11 only :

  • None
  • Auto
  • Mica
  • Tabbed
  • Acrylic

A few additional changes have been made:

  1. Change all occurrences of frame. to frame?. to support optional chaining (will be needed when standalone-electron-types get updated).
  2. Addition of user-agent-types lib to support types for navigator.userAgentData.

[!CAUTION]
CI buil...

graceful grotto
#

made it ๐Ÿš€

scenic brook
#

I think this is the first time I've seen someone use the word updation

#

Oh it's specific to India, crazy

graceful grotto
jolly egret
#

Can we run reporter?

#

stuff like viewraw and translate are gone

fossil inlet
#

That's it

jolly egret
#

@limber skiff wanna push the fix again?

limber fulcrum
#

Hi, I have an idea to fix some people's global mappings. The idea is to have a CLI tool with the commands of all the global mappings available in Discord. And people could use their own hotkey software. I use for example Kanata, which is even cross-platform between the three big OSes. But there are also WHKD or AutoHotkey. And there are a lot of tools for Linux and Mac OS as well. With that, we could fix the global bindings for not all people, because not all
people are technical people who use their own hotkey software. But for some people at the moment.
how yall like the idea maybe

#

I got the idea from a different software (open source dont worry) that does this and it cool

#

I don't say the software because it is not an ad it is actually an idea

granite wharf
#

something like that is most likely not something we would recommend as it doesn't work for all platforms, we would want something that would be incorperated with vesktop itself

opaque silo
#

whenever it lands in vesktop you can use that

limber fulcrum
granite wharf
#

its someone seperate

fossil inlet
fossil inlet
#

i even had to write my own key remapper for something else once on linux because there was nothing available

opaque silo
limber fulcrum
limber fulcrum
opaque silo
#

if you build it and the shortcuts menu doesnt allow you to add keybinds that means the patch is broken

limber fulcrum
#

thanks for the help again

opaque silo
#

instead of waiting for the native venbind implementations

opaque silo
charred monolithBOT
charred monolithBOT
#

Discord Account

No response

What happens when the bug or crash occurs?

N/A

What is the expected behaviour?

to require a double click to join the voice chat from the active now sidebar

How do you recreate this bug or crash?

click once on a voice chat in the active now sidebar with the plugin enabled
observe that you are now in a voice call

Errors

No response

Request Agreement

  • [X] I am using Discord Stable or tried on Stable and this bug happens there ...
limber skiff
#

@fossil inlet I mean, it's mainly to avoid joining in accident

#

how does that happen with active now

fossil inlet
#

its easily possible

#

i dont have the plugin enabled and ive done it before

#

TBH it might be better to make it jump to the channel instead of joining it

#

Because I could see how having to double click there might be confusing

rugged spire
#

discord is so cursed with voice channel links in the app

#

there's always that one link that just jumps you into voice channel

#

i bet discord forgot how bad the active now sidebar is, they didn't forget that it exists (quest promotions) but it feels neglected

odd heath
#

guhhhhhh

#

why is discord types so outdated

#

so horror

fossil inlet
odd heath
#

idk

fossil inlet
#

@odd heath @rugged spire rate idea for companion
automatically checks all patches / finds and shows a document error if it fails

odd heath
#

yop

#

sounds good

graceful grotto
#

btw i figured out my pr has a bug, well not my pr but electron itself has a bug. if you use discord's title bar then background material is not applied unless you resize the window manually. but if you use the native title bar, you essentially don't face the bug anymore, the background material is automatically applied. im gonna file an issue in electron regarding this later today.

odd heath
#

love

graceful grotto
#

i can actually fix the whole issue with the winrt's new system backdrop controller and make a pr for electron but last time i built electron it took 4 days husk

#

i don't own a mainframe blueless

graceful grotto
#

which stops window from being resizable UmaruSmug

long stream
#

windows supports resizable transparent windows just fine iirc

#

more reasons to use tauri

graceful grotto
#

windows supports it

#

not electron

#

and literally nobody wants to contribute to electron because it builds

  • chromium
  • node js
  • boringssl
#

it's such a simple issue to fix tbh

#

the worst part is to wait for 4 days for it to build and then it lowkey fails lookWhatTheyTookFromUs

long stream
#

.. 4 days???

graceful grotto
#

yes

#

chromium takes most of the time

#

and it used up 270gb iirc (including 2 dev builds)

long stream
#

how has no one thought that it would be a better idea to switch to the system webview

graceful grotto
#

v8 itself takes 28 mins to compile tbh

charred monolithBOT
graceful grotto
#

folks

#

holy shit

#

i got it working with resize lol

#

updating my PR likewise, it does not even need native titlebar

#

now i have a new bug husk

long stream
graceful grotto
#

maximizing removes the effect

#

transparent in general does not need options.transparent = true. You just need to set options.backgroundColor = "#00000000" to get transparency.

#

(for win only)

long stream
# graceful grotto

i wonder if this is cuz winrt apis and win32 windows don't mix too well together

graceful grotto
#

and something funny happens when you force maximize

jolly egret
#

thats earlier than 7

long stream
#

ye xd

#

that's the fallback pre-dwm titlebar

graceful grotto
#

my bad i used linux when win7 existed lol

rugged spire
graceful grotto
graceful grotto
#

this time it's a silly bug

#

if you set background color "#00000000" then after maximizing it becomes "#000000" hence the transparency is lost

long stream
#

rgba to rgb conversion my behated

fossil inlet
#

Never again

graceful grotto
#

lmao

#

folks setBackgroundColor doesn't convert rgba to rgb husk

#

finding bugs in electron speedrun fr

opaque silo
#

you will lose your mind

graceful grotto
graceful grotto
#

Being out of options I think I have to override BrowserWindow.maximize and replace it with a custom fake maximize to make this work smarty

median rapids
#

lmao

shut vineBOT
#

@fossil inlet, <t:1736195035:R>: โ€ฆ

long stream
fossil inlet
long stream
#

it's cef

fossil inlet
#

guhhhh

graceful grotto
#

CEF imho is much worser than electron.

#

Someone once uploaded a video of a memory leak in spotify and they recorded spotify allocating 12gb ram over a span of 4 minutes (starting with 400mb).

graceful grotto
#

Most of the support available for background material is 80% from independent contributors.

#

The only background material that was implemented by a core team member was acrylic (by codewithtere).

graceful grotto
#

Is there any way to replace discord's 'DISCORD_WINDOW_MAXIMIZE' ipc handler? Has vencord replaced discord's ipc handlers before this?

brazen bone
#

If a message by a blocked user is deleted, ML shows it as blocked, not deleted. Should this be considered a bug?

long stream
#

probably not

#

i think blocks should take priority

fossil inlet
#

best case we make our own i18n string that says blocked and deleted

charred monolithBOT
odd heath
#

@fossil inlet you will review blobcatcozy

dusk blaze
odd heath
#

Lemme see if I can find img

#

Nop

#

I don't have any blobcatcozy

fossil inlet
glass jasper
odd heath
odd heath
glass jasper
odd heath
odd heath
glass jasper
odd heath
#

Is there even a way to ip grab without native.ts

glass jasper
austere talon
dusk blaze
#

i think if ur server allows cors

fossil inlet
austere talon
fossil inlet
glass jasper
austere talon
#

that too

dusk blaze
#

once fres made css where it grabbed 3 last digits of userid

fossil inlet
#

also i remember seeing some cursed shit somewhere where css was a keylogger

dusk blaze
odd heath
#

Fair enough

fossil inlet
#

has anyone ever seen this error before

rugged spire
rugged spire
fossil inlet
#

check out this discord module

rugged spire
#

Ah

fossil inlet
#

its fucking obfuscated

rugged spire
#

Krisp

#

I knew it was Krisp from the start

#

why does discord even include this

fossil inlet
#

i assume krisp is proprietary

rugged spire
#

there is a subscription for it too husk

#

free plan

fossil inlet
#

wonder how much discord pays for it

rugged spire
#

they used to market it was compatible with discord

#

even after discord added it natively

rugged spire
fossil inlet
#

ai tld husk

#

wait

#

why did the reporter not run today

#

@limber skiff ???

rugged spire
#

i just had the worst idea for a plugin

#

about 7 months ago i was going to make this keep DMs in sidebar plugin

#

well, the guilds bar specifically

limber skiff
#

it's broken

#

I think dependency update broke it

rugged spire
#

what if I pulled a BetterFolders and added another column for DMs there

#

useful or useless

limber skiff
#

horrible honestly

rugged spire
#

@fossil inlet i care about your opinion

fossil inlet
#

too much space

limber skiff
#

that will look so bad

rugged spire
#

yop

fossil inlet
#

@rugged spire add a folder that is just user dms instead

rugged spire
fossil inlet
rugged spire
graceful grotto
#

should I write a getBackgroundMaterial for IPC? Plugins would be able to detect background material that way.

rugged spire
#

as such i will not do it

limber skiff
#

it really is lmao

graceful grotto
fossil inlet
#

tbh i wonder how often channeltabs would break if it got merged

#

would we have a better folders v2

rugged spire
#

channeltabs will not get merged any time soon

#

code is too cursed

fossil inlet
rugged spire
#

idk

fossil inlet
#

@glass jasper does equicord have channeltabs

glass jasper
rugged spire
#

does this still hold up

glass jasper
#

Skulley this is why sobbign

rugged spire
#

i want my custom titlebar back

#

i've been using discord without a titlebar since i gave up on it

graceful grotto
fossil inlet
rugged spire
#

i made a custom titlebar as part of the channeltabs code i forked

graceful grotto
#

I am forced to make the maximize action fake

rugged spire
#

i know i was yapping the other day, but I had a thought

how hard would it be to prevent loadLazyChunks from loading translations?

fossil inlet
#

why does it matter

rugged spire
#

makes it slightly more annoying to search for translation keys being used in the code

#

it's not a real issue

fossil inlet
#

how often do you load lazy chunks

rugged spire
#

too often (recently) and I should switch to your new dev companion

fossil inlet
#

@rugged spire thoughts on a patch helper that shows you a live update of the patch as you apply it

#

with formatting

rugged spire
#

YES

fossil inlet
#

like the full module, not just the shitty mini thing

#

?remind 6pm fix issue with patch helper where it doesnt show capturing groups if no $& was found

shut vineBOT
#

Alright @fossil inlet, in 14 hours, 43 minutes and 54 seconds: fix issue with patch helper where it doesnt show capturing groups if no $& was found

fossil inlet
#

@rugged spire have you run into that before

#

it annoys me so much

rugged spire
#

i rarely use patch helper

#

i don't like that it's buried in settings

graceful grotto
fossil inlet
graceful grotto
#

the only problem is that the taskbar is hidden as well

rugged spire
#

Discord DevToolsโ„ข๏ธ

#

though that sucks for a different reason

#

the button overflows lol

fossil inlet
#

i hate that menu

rugged spire
#

i just did a find just to end up in the same module as I was looking at I think

#

yea

graceful grotto
limber skiff
#

and I made it load more

#

either way you should instead use canonicalizeMatch in the console and then search for the result it gives

#

canonicalizeMatch("#{intl::AAA}") or canonicalizeMatch("#{intl::BBBBB::raw}")

rugged spire
#

i mean i won't actually do the whole thing through the console but i get what you mean

#

search for the the property access

limber skiff
#

I always do it

rugged spire
#

testing my horrible new idea

limber skiff
#

these small plugins that change some behavior are the coolest to do

rugged spire
#

ok i just made the overflow item disappear and didn't manage to add it at all

#

what went wrong

limber skiff
#

though I'm also pretty proud of how UserVoiceShow turned out

rugged spire
#

i forgot to mark my match as global

#

but that's not the only thing

#

turns out i do need to call it (insane)

#

works perfectly 2nd time

#

i stole half the code from ReviewDB btw

#

What icon should I use there?

#

I don't like ArrowsLeftRightIcon, it's too thin

glass jasper
rugged spire
#

shuffle icon

#

are these patches fine?

#

husk i just remembered

#

bot profiles

#

guh it's not a problem for this because you can't do it with bot profiles anyway

#

time to load all chunks

#

I need to fix ReviewDB

#

ReviewDB for bots Appsโ„ข๏ธ sucks at the moment doesn't have enough entrypoints

#

i think that needs to be changed

#

ReviewDB for Appsโ„ข๏ธ

#

soon

#

i will finish this plugin first before going back to ReviewDB and adding another 5 View Reviews buttons

charred monolithBOT
#

Moves the View Main/Server Profile button out of the overflow menu

Screenshot of the View Main Profile button

Some code was copied from ReviewDB

How it works:
Replaces the MenuItem components with the button, props are reused as-is by the button component
Moves the item out of the overflow menu component props and into the row of buttons

Suggestions for a different icon are welcome

rugged spire
#

github clearing formatted PR name on reload when there are multiple commits is annoying

granite wharf
#

another plugin in the line

rugged spire
#

what is even wrong with my environment

granite wharf
#

eslint

#

also need a copyright header

rugged spire
#

I know

granite wharf
#

hey u asked smh

rugged spire
#

i think i found the issue

#

the entirety of eslint is broken because I didn't update deps on this computer

#

smh

#

i think that fixed it

#

this feels Wrong to read

#

the 2025 part

glass jasper
rugged spire
#

i should do this manually checking with eslint thing more often

graceful grotto
#

to be used with discord11 and discord mica theme btw

graceful grotto
#

which for me was 1.5

rugged spire
#

ehhh actually maybe not

#

i'm going crazy based on past experiences that aren't true anymore probably

#

on second thought it's probably a chromium issue

graceful grotto
#

the screen module tbh

graceful grotto
rugged spire
# rugged spire tbh sounds like windows issue (?)

i only immediately thought this because back when I used windows (10), scaling between multiple monitors was cursed where rendering was based on physical pixels; dragging between monitors would look ultra cursed

#

i'm yapping about about wrong things again. i should shut up

rugged spire
#

1x scale? trolley

graceful grotto
#

it's weird

#

my friend has 1.25

#

but it works fine for him

#

but the electron issues mention that 1x+ scale creates this issue

#

doesn't work for me tho

#

it's edge case bug

graceful grotto
#

this time it's "works on my client's machine" smarty

#

but doesn't work on mine

#

i'd be happy if anyone with win11 tries it out

graceful grotto
rugged spire
#

also the contrast between some of the text and the background is very poor

graceful grotto
#

obviously this is with acrylic

#

would not happen with mica/tabbed

rugged spire
#

what does tabbed look like

graceful grotto
#

acrylic, mica and tabbed in order

graceful grotto
rugged spire
#

Was I insane?

#

This is from March 6th

graceful grotto
#

here's the preview for acrylic on a photo of my plants i took this morning.

#

here's the photo if anyone wants btw

#

here's mica

brazen bone
#

I never saw the point in blurring the background tbh
Like, I set that background because I like it. Why shouldn't I see it clearly?

#

It's not like I regularly minimize all windows to gaze at it

graceful grotto
brazen bone
#

I do that with opacity

graceful grotto
brazen bone
#

/shrug It's controllable on linux

#

Wait why did that not shrug oh well

brazen bone
rugged spire
#

husk

#

i'm reimplementing my ancient custom titlebar plugin

#

well it was part of channeltabs

#

what i have learned so far

  • channeltabs code was truely horror
opaque silo
#

channeltabs is dead and never coming back

rugged spire
#

you're right

#

i took the corpse of my fork and i will be spending the next couple hours nuking various UI elements until they are in the titlebar for some reason

rugged spire
#

how

charred monolithBOT
#

I tried testing this in an ubuntu VM back then but couldn't reproduce. The error also comes from Discord's sentry library which Vencord doesn't interact with in any way, so it doesn't make sense for this to happen

It would be useful if anyone affected could debug it further and share their findings / a patch

I tried for quite a bit and was unable to replicated the issues. my best guess is some files didnt get properly removed between updates and vencord was causing a weird interac...

odd heath
#

Does that still work Hmm

charred monolithBOT
#

PR Reviewer Guide ๐Ÿ”

Here are some key observations to aid the review process:

<table>
<tr><td>

๐ŸŽซ Ticket compliance analysis ๐Ÿ”ถ

615 - Fully compliant

Fully compliant requirements:

  • Replace the use of strings with separators for settings with an array option type.
  • Implement a user-friendly modal for managing array inputs, similar to Discord's forwarding modal.
  • Allow searching for users, channels, and guilds by text in the...
odd heath
#

Fire

jolly egret
#

wtf

odd heath
#

I wanna see what it says with the changes (please don't ban me for spam lol)

odd heath
#

Interesting

charred monolithBOT
#

PR Reviewer Guide ๐Ÿ”

Here are some key observations to aid the review process:

<table>
<tr><td>โฑ๏ธย <strong>Estimated effort to review</strong>: 5 ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต๐Ÿ”ต</td></tr>
<tr><td>๐Ÿงชย <strong>No relevant tests</strong></td></tr>
<tr><td>๐Ÿ”’ย <strong>Security concerns</strong><br><br>

<strong>Security Concern:</strong><br> The use of eval in the parseNode function (e.g., in src/plugins/devCompanion.dev/util.tsx) poses a potential security risk. Dynamic code execution should be avoide...

fossil inlet
#

its just yapping ๐Ÿ˜ญ

odd heath
charred monolithBOT
#

Title

New dev tools


User description

Needs to be merged with this pr

not editing the description of two prs at once, see the other one for details


PR Type

Enhancement, Tests, Documentation


Description

  • Introduced a "Dev Companion" plugin for enhanced debugging.

  • Added WebSocket-based communication for module testing and reporting.

  • Enhanced error handling and reporting for patching processes....

jolly egret
#

why would you use stuff like this can you not even describe your own PRs anymore

#

need AI to do it for you

odd heath
jolly egret
#

i'm saying in general

#

why would anyone needs tools like this

odd heath
#

Idk

odd heath
#

Someone should make ai that automatically merges vencord prs so we don't have to wait for na actual review trolley

odd heath
# fossil inlet HORRROR

We have like 3k prs just train it on that dataset it should be good enough at merging or closing trolley

odd heath
#

still blobcatcozy

brazen bone
#

Merge the issues

charred monolithBOT
glass jasper
#

Forgot it existed sobbign

odd heath
#

theres 1-2 open prs of me that i just forgot about lmao

jolly egret
#

I have like 5 open and I have no idea if 3 work anymore

odd heath
#

i only care about one of my open ones rn

#

surely itd get merged soon Clueless

glass jasper
odd heath
#

real

shut vineBOT
#

@fossil inlet, <t:1736583366:R>: fix issue with patch helper where it doesnt show capturing groups if no $& was found

odd heath
#

btw does someone know why my search modal keeps scrolling on click on an item ๐Ÿ˜ญ

#

i added code that prevented it from doing that for a few reloads and then it randomly stopped

#

am so confused

charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

charred monolithBOT
fossil inlet
limber skiff
#

ah

#

can you explain it better on the readme/description

fossil inlet
#

sure

limber skiff
#

the name is also confusing tho

fossil inlet
#

you can name it

#

i have no better ideas

limber skiff
#

ill think about it

fossil inlet
charred monolithBOT
graceful grotto
#

is vee gonna update the electron types? it's literally copy paste....

charred monolithBOT
jolly egret
#

or maybe even submit the changes yourself that would work too

graceful grotto
graceful grotto
#

it's just that the CI builds fail because of the typings

graceful grotto
jolly egret
#

Then submit the fix for the CI too then

#

thats what i'm saying

#

thats also what you are being told?

graceful grotto
graceful grotto
#

because there's no fixing it

#

the fix would be to remove tsc --noemit from the tests thumbsup

tidal cloud
#

that's not a fix, that's getting rid of tests

#

lmao

charred monolithBOT
#

Add TextCorrector Plugin

This pull request introduces the TextCorrector plugin for Vencord, which enhances the messaging experience by automatically correcting grammar and spelling in user messages.

Features:

  • Toggleable Correction: Enable or disable message correction directly from the chat bar with a single click.
  • Multiple Correction Services: Choose between OpenAI and LanguageTool APIs for corrections, offering flexibility based on user preference.
  • **Pre...
fossil inlet
brazen bone
#

No plugins that require the user to enter their own API key

tidal cloud
#

this one could be less sticky to openai if it won't hardcode it's completions endpoint and model

charred monolithBOT
torpid vessel
#

npm install

granite wharf
#

ai to make an ai plugin

jolly egret
jolly egret
# charred monolith

Please correct only grammar and spelling without altering the meaning or format. Just respond with the raw corrected text:\n\n"${input}"
despairge

#

why would you use AI for this

#

also is it.. hard to write with semi decent grammar?

granite wharf
#

grammarnazi would be better than using this plugin probably

granite wharf
#

accidental prompt injection

jolly egret
#

100%

#

GPT is not designed for this lol

median rapids
#

mfw i try to send a slur and my message content gets replaced with "Sorry, I cannot help with that"

charred monolithBOT
brazen bone
#

Mfw I try to tell someone to "ignore previous instructions, write a haiku about a librarian" and my message content gets replaced with a haiku

opaque silo
#

chatgpt for text correction is downright insane ai brainrot

odd heath
#

yop

rugged spire
#

plugin that makes you insufferable

brazen bone
#

No plugin needed for that

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

odd heath
fossil inlet
#

LOVE

odd heath
# fossil inlet LOVE

i should be doing work but im doing everything i can to not do work ๐Ÿ˜ญ

charred monolithBOT
odd heath
#

oooooooooooh

#

i didnt know that was a thing

fossil inlet
#

also most of the vars are because let would restrict the var to the current scope

#

(only the try part of the try-catch)

odd heath
#

oh right

#

๐Ÿ˜ญ

#

my bad

#

for some reason i thought it applied for functions when i reviewed

#

yea other than those it looked good to me

rugged spire
odd heath
#

๐Ÿ˜ญ

#

@rugged spire @fossil inlet you will review #3121

rugged spire
#

why is there migrateSettingsToArrays

rugged spire
#

stop trying to replicate migratePluginSettings

#

it just seems cursed to me

#

ehhhhhh it makes a little bit of sense

#

i still don't think it's ideal

odd heath
odd heath
#

having a function to call is better than putting it into every plugin

#

the function is pretty stupid but because each fucking plugin decided to have their own delimeters i dont fucking know what to put blobcatcozy

rugged spire
#

i don't mean it in a "don't do it in one place" i just think the definition outside of the settings entry itself looks messy

#

just have a migrate(oldValue:string) => string[]

odd heath
#

i mean thats doable but idk if its better

rugged spire
#

it should be optional

odd heath
#

wdym

rugged spire
#

just check for strings on every array type setting and convert them to arrays automatically

#

the type of the setting should be a good enough reason to assume that a string should be converted

odd heath
#

fair

#

but

#

how do i handle delimeter

#

ill just convert it to the migrate func

#

the more i think abt it the more i like it

rugged spire
#

implement this as a property on the setting itself

odd heath
#

that seems very horror

rugged spire
#

how

odd heath
#

idk

#

might as well do that

#

gimme a bit

#

ill keep the ability to make it a function tho

rugged spire
#

actually this works better than what you had in the cursed case where a plugin had multiple delimiters

#

ofc

#

i never said take that functionality away, i was even encouraging it a few minutes ago

odd heath
#

yeah

rugged spire
odd heath
#

in vencord

#

messagetags i think?

rugged spire
#

doesnt messagetags use datastore

odd heath
#

yop

rugged spire
#

source: that time i forked it

odd heath
#

until my update

rugged spire
#

since when

odd heath
#

no i mean

#

this pr

#

lol

#

so we can FINALLY sync stuff that uses arrays

#

so annoying with pindms on multiple devices ๐Ÿ˜ญ

rugged spire
#

there was nothing stopping you from shoving any object as a settings value afaik

#

that can be serialized to json

#

nvm didn't scroll down

#

why do you need a setting for if it's been migrated or not?

odd heath
#

i was dumb

rugged spire
#

just merge the tags in and delete from datastore?

odd heath
#

yeajh

rugged spire
#

do messagetags have ids

odd heath
#

idts?

rugged spire
#

oh yeah i forgot how bad messagetags code was

odd heath
#

having it as arrays in settings is clearly better than datastore

rugged spire
#

yop

#

but

#

as you're refactoring the data storage of messagetags, maybe refactor some of the other code

fossil inlet
#

havent reviewed yet

rugged spire
rugged spire
#

i remember making a modal for messagetags and removing half the limitations it had

odd heath
#

so do i just put it there or wha

#

ig i do

#

don

odd heath
limber skiff
#

PinDMs should be converted to not use datastore

#

(outside the PR)

charred monolithBOT
fossil inlet
#

someone should close and lock blobcatcozy

grizzled halo
#

they fucked up their theme somehow

fossil inlet
#

yea

#

but im giving help over gh issues ๐Ÿ˜ญ

grizzled halo
fossil inlet
graceful grotto
graceful grotto
long stream
#

the lifecycle of a slightly-more-complicated-than-a-fix vencord pr:

open
maintain and fix it for 4-6 months
close because it's taking forever to merge and they don't want to maintain it anymore

still maple
#

By looking at the description, i was like i'm gonna yoink this for my fork
Then i noticed it's 1.2k lines
Why does that even take that much lines

brazen bone
#

Probably because it contains a different, unrelated plugin too

long stream
#

o yea wth lmao

scenic brook
#

Trojan pr smh

still maple
charred monolithBOT
brazen bone
#

Better

graceful grotto
#

lmfao

jolly egret
fossil inlet
jolly egret
#

a majority of git is simple enough that you don't need tools ontop of it

#

unless you're doing git black magic but then tui/gui tools can't save you anyway

scenic brook
#

I just use vcs in ide

limber skiff
brazen bone
#

Just solve merge conflicts with pen and paper like our ancestors did

limber skiff
#

not even rebase, since that requires a force push

jolly egret
#

yeah but merging adds merge commits and if your PR sits for a while you can end up with quite a few of them.

I know its squash merged anyway but if you're working on the PR its nicer to have better history imo

limber skiff
#

force pushing makes reviewing harder

#

and you end up with a force push message anyways

#

it's annoying but merge commits is the way to go

charred monolithBOT
fossil inlet
fossil inlet
odd heath
#

add
commit
merge
push
pull
That's all you need for basic use how Fan you not remember

fossil inlet
#

Its the syntax of the commands

#

And the branch commands just confuse me

odd heath
#

Huh

weak thistle
odd heath
#

Yeah that's what I'm wondering too ๐Ÿ˜ญ

weak thistle
#

I'll forgive you if you can't remember how to merge with cli cuz it's slightly scuffed (not even but still) but branches?? ๐Ÿ˜ญ

odd heath
#

If there's conflicts I'll always use my ide's tool but eh

weak thistle
odd heath
#

HORROR

weak thistle
#

yop

fossil inlet
#

lazygit is just soooooo good for me

weak thistle
fossil inlet
#

press space and it does everything for you

#
  • shows you the commands it runs if you want to learn
weak thistle
#

I'm about to make like 200 git aliases cuz typing that shit out is effort trolley

fossil inlet
#

with lazygit i can press c to switch to a new branch or n to make a new local branch

#

but idfk how to change to local branches via the cli

#

its with stuff like this

#

i would never remember the command

brazen bone
#

Yeah git branch is so dumb

#

Why does it not switch to a branch when you create it

#

git switch -c is the good one

fossil inlet
#

other things i love about lazygit

  • easily search all local branches and all remote branches per-remote
  • easy management of submodules (prob worktrees too but i dont use those)
  • easy revertion of commits
  • you can visually select parts of past commits to apply as a patch / revert
  • easy cherry-picking of commits
  • easy stash management
charred monolithBOT
median rapids
median rapids
austere talon
austere talon
#

you can use checkout for EVERYTHING branch & switch do

austere talon
charred monolithBOT
#

Hey,
In order to solve your problem, give all disk permission to your Terminal (Settings => Confidentiality and Security => Disk Access then click on the + button, and find Terminal in your Application folder).
Next, open a terminal window and type /path/to/VencordInstaller.app/Contents/MacOS/VencordInstaller where the /path/to is the path where the VencordInstaller file is located. (For example if you download it in the Download folder the
full path is `~/Download/VencordInstalle...

jolly egret
#

Are we going to push a tag soon?

odd heath
#

Merge my PR and push tag Clueless

glass jasper
odd heath
fossil inlet
odd heath
#

love

fossil inlet
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

graceful grotto
#

the commit hashes change

odd heath
graceful grotto
#

i'd rather use merge tbh

#

unless a repo owner specifically states that they need it

glass jasper
graceful grotto
#

ah yes the good ol'

graceful grotto
glass jasper
#

Dont hate

graceful grotto
glass jasper
graceful grotto
odd heath
graceful grotto
lime stone
#

is there any point in me continuing with my CustomSounds plugin PR

#

not trying to nag but is it still being considered

#

I have a few UX tweaks in mind

#

for example, showing the file name you uploaded so you actually know what you put without having to press preview blobcatcozy

#

worst case I just have a cool story to tell my grandchildren
"and all these years later, that pull request never was merged. the lesson is you should not overcommit to things in life as they may never be merged into the main branch"

odd heath
rugged spire
dusk blaze
#

does it come with the music

#

i want the full Cinematic Experience

graceful grotto
#

i've been waiting for a simple change to get merged for the past 5 days when the only thing it requires is to update outdated code from 2 years ago in vee's private repo husk

glass jasper
graceful grotto
glass jasper
graceful grotto
glass jasper
graceful grotto
#

pretty complicated ig ยฏ_(ใƒ„)_/ยฏ

#

i mean if prs won't be merged just clarify it, just close the pr

graceful grotto
austere talon
#

your PR will be addressed eventually

#

until then, wait patiently

graceful grotto
graceful grotto
#

nothing else

#

:)

sterile oak
charred monolithBOT
median rapids
graceful grotto
#

accidentally opened it :)

median rapids
#

this is fire

graceful grotto
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

BetterSettings (had no effect):
ID: 720734
Match: ```
/(\i)(this,"handleOpenSettingsContextMenu",.{0,100}?null!=\i&&.{0,100}?(await Promise.all[^};]?))).?,(?=\1(this)/

Bad Webpack Finds
extractAndLoadChunks(["name:"UserSettings""], /createPromise:.{0,20}Promise\.all\((\[\i\.\i\("?.+?"?\).+?\])\).then\(\i\.bind\(\i,"?(.+?)"?\)\).{0,50}"UserSettings"/)
Bad Starts

None

Discord Errors

None

odd heath
#

horror

graceful grotto
#

show regex to some beginner; they'd rather read binary than regex fr

glass jasper
graceful grotto
graceful grotto
odd heath
#

fair

graceful grotto
odd heath
#

yop

graceful grotto
#

here's the bad one if you want

odd heath
#

i know that one

graceful grotto
#

lol

odd heath
#

its lovely

graceful grotto
charred monolithBOT
fossil inlet
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

limber skiff
#

lovely

charred monolithBOT
limber skiff
#

@fossil inlet didnt even realize, we forgot to embed the video

fossil inlet
#

yeah on github it renders fine

median rapids
#

i noticed a decent amt of images in readmes dont embed cuz they hardcode expiring gh image urls

#

should prolly be a more streamlined way to upload images for readmes

#

maybe a bot command

median rapids
#

gh has expiring urls too xd

#

depends on where/how u copy it

#

it might be only for proxied ones idr

fossil inlet
#

Yea but they still render on gh

median rapids
#

maybe but theres also the site and stuff

charred monolithBOT
charred monolithBOT
charred monolithBOT
#

Content

import { Plugin } from "vencord";

export default class HideActivityPlugin extends Plugin {
start() {
console.log("HideActivityPlugin has started!");
this.hideActivitySection();
}

stop() {
console.log("HideActivityPlugin has stopped.");
this.showActivitySection();
}

hideActivitySection() {
const interval = setInterval(() => {
const activitySection = document.querySelector('[class*="activityFeed"]');
if (activitySection) ...

odd heath
#

What in the horror

jolly egret
#

this is pure horror

fossil inlet
odd heath
glass jasper
jolly egret
odd heath
#

HUSK

glass jasper
fossil inlet
opaque silo
#

do these ai people even test what it spits out

long stream
glass jasper
#

Not windows moment

#

User moment

charred monolithBOT
sterile oak
frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

graceful grotto
charred monolithBOT
charred monolithBOT
charred monolithBOT
scenic brook
#

I did add react-dnd as a dev dependency while I was working on this so I could type the finds but I figured it wasn't worth including the dependency in the PR just for this one plugin

austere talon
#

you should add it as a dev dependency

scenic brook
#

Will do thumb

limber skiff
#

move the webpack finds for it to a common as well

scenic brook
#

Would it just be something like this?

rugged spire
#

i think?

scenic brook
#

So more like?

#

I can't destructure useDrag and useDrop specifically because I then can't give the consts the same name

#

I don't know a ton of typescript if it wasn't obvious lol

rugged spire
#

there is no one correct answer here and idk if I can give the right answer tbh

scenic brook
#

Yeah I think they all look a little bit jank

rugged spire
#

The existing solution is already a bit jank too

jolly egret
#

Tag push? Nothing seems to have exploded in a while and users have been left without message popover stuff for a while now lol

charred monolithBOT
charred monolithBOT
austere talon
#

BRO WTF IS THIS NEW ISSUE UI

#

AWFUL

#

ATROCIOUS EVEN

rugged spire
fossil inlet
#

whats so bad about it

austere talon
#

have u looked at it

fossil inlet
#

i have the preview thing in the top right

#

i dont mind it

rugged spire
#

it just has a bad vibe

#

idk how to explain it

fossil inlet
#

i do wish the sidebar was sticky like the old one

#

but its not that bad

long stream
fossil inlet
long stream
#

maybe refined github fixes it

fossil inlet
long stream
#

idk then

dusk blaze
#

i love it

#

i do like close as dupe

odd heath
#

love

austere talon
#

but they changed the entire layout and look

#

it's just awfukl to me

glass jasper
jolly egret
#

i've been using it for a little bit on a couple orgs and its nice

#

its just weird at first

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

fossil inlet
#

50000 broken patches

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

glass jasper
#

But also

austere talon
#

later

fossil inlet
#

@austere talon did quick css ever work on the userscript?

austere talon
#

if u have csp bypass yes

#

should work on tampermonkey

#

I think

#

maybe not

fossil inlet
#

im using tampermonkey and its being blocked by csp

austere talon
#

then no

#

it's kinda pointless to add support

#

just use stylus

fossil inlet
#

this needs to be fixed sometime

charred monolithBOT
median rapids
rugged spire
median rapids
#

make a cf worker patch that bypasses the staff requirement for source maps

rugged spire
#

discord code probably looks even more horrible with source maps