#LoginWithQR
1 messages · Page 1 of 1 (latest)
i love this idea
feedback from what I can see in the image
maybe put this in settings as well as the popout there?
also add a textbox for pasting remote auth link directly?
like this?
probably not possible but would be epic if you get like a screen capture like snipping tool when clicking scan to select a QR code
bc rn you have to save a file to disk if I see correctly
totally possible
just use regular screen capture API and take a screenshot of it
unless you're on discord desktop client
in that case you can explode
if it works on vesktop then idc lmao
real
just tested the plugin it works well
what is that text saying discord desktop app
is this your text
or copied
Maybe you could inject into here instead?
And this inconsistent dialog
I found a bug
onAbort is called regardless of if the auth finished
try something like this ugly code?
Also AbortStatus is entirely unused
I would recommend using onPointer{up,down} here.... for mobile compatibilty
oh right vendroid exists
you can paste an image in
update!!
- added tab bar item
oh I thought it was just drag and drop
update!! (again)
- fixed a crash with MenuItem
runsh cd src/userplugins/LoginWithQR git pull
I love that random 10k single file lib
heres a stupid idea but why isnt the video stream shown
this will be added soon™️
been cooking all day
Why did you hack nexx?
sorry i had to
update!!!
- added webcam/image preview (and a super rad animation)
- you can now paste a discord.com/ra/ link directly
- fixed bugs
- introduced more bugs maybe
run
cd src/userplugins/LoginWithQR
git pull```
why isnt that a discord feature
I have to login so often in incognito tabs where this is so useful
why tho
Skill issue. Turn on NoDevtoolsWarning
what is it then 
I authorize 2 oauth apps and get logged out
WHY
WHY DOES DISCORD DO THAT
stupid
lol
my alt logs out everytime lol
could be because I change countries all the time
probably
any idea why pressing "Scan using webcamera" might do nothing? The button doesnt change into scanning or anything
I get no console errors, I had OBS virtual cam already set up from before and also switched around with the original cam and I made sure to update
pasting the qrcode works fine
new bug found
if you turn off the camera while it is still initializing this happens
Same
What do you mean turn off like unplug or disable?
There's an off switch for a camera?
(it might just be in the plugin I still haven't tested it)
Click the scan button again to stop scanning
We love that
If (!init) crash
Imagine
doesnt really crash
I know
just buggy
nothing stopping the plugin from intentionally crashing
Yes that is a valid option
but ideally it would just cancel the init process properly
Next update: we crash you if you do stuff
fair
if (personPressedBeforeInitEvilness) init stop thing
Perfect example
wait what init process
hm
is it just on the web or smth
perchance
I LOVE RACE CONDITIONS
Wha
is this a race condition?
A race condition or race hazard is the condition of an electronics, software, or other system where the system's substantive behavior is dependent on the sequence or timing of other uncontrollable events, leading to unexpected or inconsistent results. It becomes a bug when one or more of the possible behaviors is undesirable.
The term race condi...
i think it's this actually
I'm gonna go ahead and assume if it's on the latest version it's just setting the preview
oh?
Ye same
yeah it probably is
Kaboom
could you update and see if it still happens
AH MATH... I'm scared 
horror
I need to start using submodules
I have to go through like 100+ repos then tho
Wait what did you do
I have committed many many many mistakes like committing submodules in my PR branches to Vencord
I did it multiple times
...
I think it's fixed now
yay
just wanted to say how insane this plugin is, I love it
I get looged out in browser so often
plugin crashes discord whoopsie!!
WHAT
cant even open user profile popout where it is
its over
can't find "QrCodeCameraIcon"
also proxyLazy called on a primitive value
fixed pookies
update!!!
- fixed crash...
run
cd src/userplugins/LoginWithQR
git pull```
Thanks dad
The patch for the user popout broke
I have a fix for it but smth else came up with the button missing still
care to share your fix?
i'd also like to fix the button here (as it breaks with the search functionality)
by integrating it into the settings sidebar registry properly
there's a huge frozen block where they are all defined
search for USER_SETTINGS_MERCH_LINK_CONFIRMED),
regarding this, perfect find for the module, but you should edit the block of categories at the top instead
{
find: "Messages.MULTI_ACCOUNT_MENU_LABEL",
replacement: {
// Insert our own MenuItem before the Switch Accounts button
match: /children:\[(.{0,54}id:"switch-accounts")/,
replace: "children:[$self.ScanQrMenuItem,$1",
},
},
couldn't fix the scanqrmenuitem thing
these
ermm ermm i completely forgot to fix this
ermmm ermmm i completely forgot to fix this again
i'll do it now i swear
update!!!
- updated preview images
- fixed crash again......
- updated cross.png
- new fancy zoom in animation when scanning images
- moved Scan QR Code button from simplified user popout > switch accounts popout
- fixed searchability in settings
- (maybe more that i forgot)
run
cd src/userplugins/LoginWithQR
git pull```
nice
this gotta be the most useful plugin on vencord
This plugin is now causing crashes when loading settings on canary due to Discord's new i18n system
You may or may not have to fix this depending on how it is resolved upstream
yeah :(
forgot to let you all know but
update!!!
- FIXED!!
run
cd src/userplugins/LoginWithQR
git pull```

i cant update the plugger because of @worldly crater's server being down causing git submodule update to explode
awesome
how
vfjd?
Yes (HTTP Status 530)
kys
raspi/network are down so u will need to wait 6pm at most
hello what are timezones what time is it now
4:47pm
Yes (HTTP Status 530)
vfjd?
Yes (HTTP Status 530)
vfjd?
No
vfjd?
No
Its instantly crashing
I mean when scanning a qr code
Everythink is working but discord crashing
same for me
Can someone push update?
vfjd?
No
sorry the Equicord team fixed the plugin and i forgot to fix it for the userplugin users
Its ok
When can you fix this plugin?
merged, ty
has been fixed by thororen
Still not fixed 
works for me 
No
it doesnt work anymore, if you want to "hold to confirm login", you cant hold the button anymore
@tough bear can u fix it ? 
@simple crane https://github.com/nexpid/vc-loginWithQR/pull/3
Ill probably get around to the account tab patch eventually

