IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#i2p-dev
/2022/12/29
@eyedeekay
&kytv
&zzz
+R4SAS
+RN
+RN_
+dr|z3d
+hk
+orignal
+postman
+wodencafe
Arch
DeltaOreo
FreeRider
FreefallHeavens
Irc2PGuest19353
Irc2PGuest22478
Irc2PGuest48042
Irc2PGuest64530
Irc2PGuest77854
Nausicaa
Onn4l7h
Onn4|7h
Over1
Sisyphus
Sleepy
Soni
T3s|4_
Teeed
aargh3
acetone_
anon4
b3t4f4c3
bak83_
boonst
cumlord
dr4wd3
eyedeekay_bnc
hagen_
khb
not_bob_afk
plap
poriori_
profetikla
rapidash
shiver_1
solidx66
tr
u5657
uop23ip
w8rabbit
weko_
x74a6h
anonymousmaybe @zzz is there proposal to support ed448?
zzz back, and posted a big update on github.com/bitcoin/bitcoin/issues/26754
zzz dr|z3d, you want my DnD js to play with?
dr|z3d is it likely to make it into canon, zzz, or it's just a thought experiment?
zzz likely, only question is timing, or if some reviewer hates it, but seems inoffensive to me
zzz I'd feel better about slipping it in before the release if you eyeballed it
dr|z3d you got a branch ready?
zzz no, would you take a diff?
dr|z3d would prefer a branch, diffs are pain, especially given the divergence.
zzz okey doke, stand by
dr|z3d thx, zzz
zzz thanks for taking a look :)
dr|z3d minor thing, don't need "Please", it's an instruction not an invitation.
zzz yup
zzz thought about highlighting the target boxes via a js+css something
zzz and highlighting the button after a drop
dr|z3d sure, element.addClasslist("highlight") or whatever.
zzz so far just a basic capture of the drag and drop events
dr|z3d you want to work out whether you're using const or var.
dr|z3d they're essentially the same thing, except var is supported in older browsers.
zzz eyedeekay, you have enough time for me to ping you about something deep in a zzz.i2p thread, or are you stuck in a snowbank somewhere?
zzz is there some universal symbol indicating a box is a drop target? adding text saying 'drag and drop here' seems lame
R4SAS arrow down?
dr|z3d nah, not arrow down, not in this context.
dr|z3d you'd probably want a dashed border, zzz.
dr|z3d testing the code in vivaldi, dragging a file onto the data to seed input doesn't work as intended. it offers to download the file being dragged.
zzz that wouldn't mean anything to me... is that common?
zzz whats vivaldi?
dr|z3d vivaldi is what the opera browser has become, essentially. chrome fork.
zzz hmm
dr|z3d dashed border around a drag and drop area is fairly common, yeah.
zzz it's offering to download a file:// URL ?
zzz try dragging a magnet or http link to see if it's working at all
zzz did it scroll and open the create/add boxes?
zzz also you have to be on page 1
dr|z3d yup, collapsible sections uncollapsed, on page 1 (working with standalone right now, which is why vivaldi)
dr|z3d dragging a magnet to the add torrent inut creates the correct input data.
zzz with the file, where are you dropping it?
dr|z3d data to seed input.
zzz for me, it drops as file:///full/path/to/foo and then I click create torrent, all ducky
dr|z3d firefox?
zzz yes
zzz lets try chrome
dr|z3d confirmed, firefox works as expected.
dr|z3d well, mostly. I still see file:///
zzz yeah, can't strip it until after form submission, at least without more js
zzz ok in chromium file drops do nothing
zzz no popup, no stuff into form, nothing
zzz will investigate
zzz should have tested chome before I ripped out all my debug logging (((
dr|z3d live and learn! ordinarily vivaldi defaulting to stuff annoys me, but here it appears to have been an advantage.
zzz yup. also means I need to test on windows too
dr|z3d I feel your pain re javascript debugging, however. it does feel user hostile often.
zzz I'm just such a horrible noob at it
zzz border: dashed is hideous
dr|z3d where are you putting that? around #page?
zzz no, input
dr|z3d ah, yeah, that's not going to look great. dotted might be better, or just force :focus state on hover.
zzz how would I do that?
dr|z3d probably with setAttribute
zzz chrome works like 1 time in 100, no pattern I can discern, I'm bumpuzzled