#stage-discussion
1 messages ยท Page 10 of 1
Yea
Could probably make an emotestorelikething
Sorta like in the old extension
And maybe transition into a more complex emote class that has methods
Although that might introduce overhead where if its not needed some places
idk
cant treeshake anyways
if its a modular interface
we need to pack in even things we dont use
just dont write code that wont be used
4hed
Thats like 90% of the stuff i did on the old extension
Stuff that cant be merged since its missing something 
Surely the extension will be authenticated soon 
i mean , extension or not you dont want insane file sizes 
yeah but its not like
it can decrease anything
by treeshaking
its all needed code
treeshaking only helps if theres like libs that you dont use
its an inverse model, addons just call to us
its not like they can tree shake away any of our funcs
i mean i guess yea, what would we actually need an emote class for though 
they need to all be there
also classes not being treeshakable I dont think can be true
classes are functions
in js
their usage always compiles down into a function
internally the are treated that way though
classes were introduced as an actual concept in js no?
they're just functions that can be constructed with new
they make an object
with a prototype
that is the same object
that can be called to make them
so its a little different
but mostly the same

@eternal iron merge now ?
๐ฅ

The branches are closing 
it's happening
Personal emotes tomorrow/tonight?

yeah im gonna work on personal emotes rn, should be very simple
Our sleeping schedule is like exactly swapped 

Someone has to improve the readme sometime 
not false
Or we can just wait and let the power of open source solve it for us 
also i guess gotta move it to the /Extension repo
eh
after beta
i'll do that when the extension is actually live
thats easy tho
Is it all nerd stuff or is it mainly just writing that needs to be done?
Because I can do writing
just put at the top of readme
the commands
for contributors who already cloned
just git remote set-url origin <new git>
I can do the readme too
There are like 3 clones
3 clones where
forks*
The readme should mainly include build instructions and such

makes it look like you do work
"I may or may not open a pr"
finish your PR first 
Yeah
kinda dumb tho
that github even works like this
like
why cant they just let you upload patch files
idk
github prs are actually just bad in general
they reinvent the wheel
merging manually is not only easier but gives you way more control
like its nice
to have a place for requests, where comments can be made
but like the way its done
is not good
May i suggest we go to some chat to test the eventapi updates?
go to my chat 
extension does not work
cannot see emotes
not sure where to download it though
maybe i need to download more ram first
probably

you heard me
bitch

go download or unmark yourself NOW โก
oh god
im so sorry
for your loss
just checked your bio
must be horrible having to work at the same company as nightdev
LIVE PAINT UPDATES 
Paint changed instantly for me in the new 3.0.0 build
adcaster 
the arrow to hide the chat overrides the 7TV menu
@daring gale is the clicking link thing fixed?
feridinha users

That's a lot of unstyled shit
yes
I'll work on that
how come u dont see paints
are you sure you have the new build?
Good job devs
There was a bug where after like 2-3 hours of watching a stream
I wasn't on the new build yet
sorry
I am now though
o ok
3rd party emotes would stop working
And i had to refresh
Did that happen to anybody else?
Me
wait wait wait
Didn't have time to test it yet
why the fucks your background white
nononono wait wait wait
Probs popout chat
is his background white
liptongodmakinganemote
And idk if its on its way or not, but i really like to know how many months people are subbed, not only the badge months
yes enzo, it is ghile's chat
brazil reference!!!!!1!1!!!!!


Badeg
Gyze
https://i.imgur.com/UNNv8M3.png now this is an interesting bug
are u using firefox?
Probably something to do with ffz being enabled one sec
https://i.imgur.com/xFEmptu.png still a bit buggy, but its not doubled anymore
And no, using edge chromium
Alternating chat message backgrounds would be siiiick for this new chat
firefox works fine 
@forest pawn
hmm
I was trying to do it with inspect element and I thought I had accomplished it at first
then I realized I wasn't editing anatole's name


idk I think it looks alright
Looks nice
do you think the stripes should be closer together (smaller and more of them)?
for BETAS
For ppl who used beta etc
Nah
be a lambda male, like Gordon Freeman
Adobe rgb
Make the gray lines blacker so it looks like the flag of germany
๐ฉ๐ช 
national flag paints would be peak tomfoolery if 7tv added them
they'd unironically be super easy to make

@polar magnet maybe try 75% opacity on the grey stripes
so it slightly uses the user's color
k
{ "name": "BETA", "function": "LINEAR_GRADIENT", "repeat": true, "angle": 135, "shape": "circle", "image_url": "", "stops": [ { "at": 0, "color": -168492801 }, { "at": 0.15, "color": -7012097 }, { "at": 0.15, "color": 2021161153 }, { "at": 0.3, "color": -1246382655 } ], "shadows": [] } @daring gale
With the addition of 1 role, I could test it all out before delivering a final product
get partnered to get 1 more role 
Administrator
Make it like 65 then
Makes the yellow pop more 
adding glows to paints makes them look better
but imagine if every car on the road was chrome painted and had neon and spinning rims
Glows is endgame for paints 
it wouldn't be special anymore
native vs 3000ms smooth scrolling 
That's super smooth
this blur is so 
Placeholder
defaults /me to colored
as it should be
ofc 

[ least opinionated twitch extension
]
it is
When you change your paint any sub badges just 
and sub badges only, any others are ok
Nah my xmas one vanished too on my end Lawer

New /me style 
it stayed here

๐ค GLOOOOOOOOW
every message would be sent with /me
do it with the GIGAGAMER 9000 paint
that slider for mod actions is real nice. I could probably get used it if my ADHD andy ass stopped using my mouse at 6400dpi 
you need help
keep that
6400dpi 
who tf runs at 6.4k dpi
I remember trying to play with 16000 dpi
I want to think about my mouse moving and it moves
dude uses 3-4 fibers of his mouse mat to move
touches mouse lightly
mouse: ------------------------------------------------------------------------------------------------>

ok
as long as your software can scale down the mouse speed
you gain accuracy that way
also probably responsiveness
but imperceptibly
Say something in your chat with the giga gamer paint @daring gale
Deadass
ok start using 25k now anson
If only games supported fractional sensitivities
For a long time Overwatch had 1.00 as the lowest it could go, but later they changed it to 0.00 as the minimum
so you can literally go as low as you want
Not true

for real?
Yes
Im genuinely considering adding this as an option 
they store the full precision in the config file
why
why not?
options are nice
Because it's cool
but atleast
I vote to keep it
Yes
like ffz has
Good idea

and painted
And painted italic
its already layed out this way

Have you tested the extension
@unkempt hill
I want to see giga gamer paint /me

All your keys are belong to us
ok but why are you on mac
queue
anson comment
Since im in bed, planning to sleep soon
@sinful schooner 25600 DPI right now
1 cursor speed in windows is still too slow
gotta set it to 2
Hmm
Doesn't like
Setting the dpi to higher and the sensitivity to lower improve the latency
this is what mine is set at and I use 6400. never even knew there was a setting for it
but more like having more FPS on your screen lets you see some things "sooner" than you otherwise would
using like 200 DPI and cranking up your windows cursor speed is NOT a good experience
True
so default
you dont have a single laptop?
mac user has no macbook
the prophecy has been broken
I have 2 macbooks
steve jobs put to shame
Deadass
tried cranking it to fast for a few seconds. not completely unusable but I hate change so it stays 
linux trackpad is so dog ass
i had to install a deprecated driver
to beable to tune it manually
i wanna know just how little u move ur hands to navigate ur pc
it has to be millimeters
on trackpad or mouse?
both

trackpad unusable without tho

sorry i dont like having to pick up my mouse
and move it like im trying to climb a virtual mountain
nah it's very normal
Just get more space?
heavy disagree
I prefer slower mouse movements because it helps when aiming in games
(as if I play games anymore
)
so your saying that i should move my mouse all the way across my desk
i was not talking about your 25k 
to go grab that window
when i could just move it the same amount
that i always do
yes
but faster
and reach the same spot
mouse accelleration deniers just have small brains
so sad
cant understand how to move mouse must be linear
It's bad for games
my movements are not calculated enough to rely on acceleration
@unkempt hill I used to play games with mouse acceleration and I actually wasn't noticeably horrible
before I knew what mouse acceleration was
I see everyone get these fucking 4 foot long 2 food wide mouse pads and moving their arm halfway across their fucking bedroom to click on their second monitor and it boggles my fucking mind. just move less

real gigachads never have to pick up their mouse
jokes on you im fucking broke 
by perfectly calculating the speed of travel
for every movement to end up back at center net over time

picking up the mouse
never would I ever
ok I tested this and it doesn't seem to be true at least in HL2
if you're talking about CS:GO then that's more understandable
because setting extremely precise mouse sensitivities allows some kinds of exploits
you know how in portal where you can shoot through the corners of a room?
maybe it's something like that
valid
that's practically intended

did my vscode break
thank fuck i managed to start it
forsenPossessed


BabyRage help @daring gale
the api doesnt add the protocol in the ImageHost bc it's redundant
ohhh
set width/height on an outer div then set the img to width: 100%
yeah wrap the img in a div
sure
set the explicit size on it, then scale the img in it to 100%
@unkempt hill or is there a better way
i think thats how i did it on the old extension
well what url are u resolving them with
there are no errors in the console
wdym
are you appending px
oh right also trucks did u actually do the multiplication by 3
wtf
and that too
and that

well no space but yeah
although
not used vbind before
is this valid syntax @daring gale
uh no
for some reason i dont feel like it is
do a computed here
v-bind produces a value
pretty sure
yeah computed is the play
this will take prededence over the prop-defined value in template and style
so no need to name it differently
wat
instead of a style binding
wont vbind
create a new stylesheet
for every unique instance
of the component
guess it doesnt matter much here
it just uses css vars
yeah
never used it so idk
v-bind is fine 
is this actually scaling properly
clearly not the right one
disable the hide call
rendered size or image size
rendered
commit so i can test a bit
oh wtf
all of the sizes in the srcsets are 96x96
oh
it shows the current source
forsenPossessed
ok
i'll commit

oh wait where are you setting width?
forsenPossessed
set the size on the image directly
not in css?
in css

but also how are we measuring that
where is it pulled from
the chatemote <img> tag?
the target from the onload

that nullcheck is ineffective
colors
you should also check there to see if the values are actually right
i strongly dislike this native look
for highlights
more options?
I heard we wanted a bigger settings menu
they should be for sure
thats not native
ik

ok
oh
i say remove the message background
yea, i just copied the color
yea i already talked about not using the native look but i think excell is just duplicating it for now
i c
we can style it properly after
๐
this is so funny for some reason
ok
waiting for commit
i set the height to auto

just commit
keep aspect
ok
brb getting food ill let u guys figure it out
Could it be related to the srcset being cached?
Since we display the low res emote first
huh I dont think thats how that works
But that would be strange
i mean
its obveous
theres something else happening here
with the aspect squish
without seeing code we could speculate forever
@eternal iron padding doesnt work like this on image tags does it?
or does it
we set padding on the image not margin
but i didnt think thats how that worked
didnt do anything
i tried it
The padding on the image is what squishes it
yeah
why is it still squished
oh
hmr didnt remove the padding
oops
okay
but why is the intrinsic size so low

i lowered the size
and this looks like a fucking uhh
what are those called again
p?
uhhh
polaroid
it looks like a polaroid picture
so it is that
i wasnt sure if that would do it
that's good
the "inside" of an image tag is a weird concept to think about
why doesnt the srcset work
because
the srcset is technically wrong
your setting the size of the image tag
so the srcset says that 1x is the 32 image
but what that actually means is that 1x of the * 3 size
is 32
i would just not do a srcset
and set the max size directly
forsenPossessed
not really neccissary here
the user always wants to see the 3x
never any other size
you could also
do a manual px size srcset
that works too
so instead of saying
1x, 2x
you say 32w
or 32h
whichever you know for certain
Yea, that fixes it

is there a way i can do this by just lowering the AVIF and WEBP to webp and avif

twitch emotes still dont work this way
ok i'm going to bed

If anyone wants can they finish up the pr please
Just replace the padding with a margin and make it 2 em instead of whatever it was
And fix the scaling
And we gucci
did u tick the box for outside commits

what does this actually do on github
let repo maintainers commit back to the pr source
so if there was a fork
that was merging
grants permission to commit to the branch on the fork
and someone accidentally checked that
any maintainer of the pr could directly commit back to the origin fork
seems weird and like a tack on
that they didnt really think through when they made the system
wdym 
Beautiful! paints switch fine on ff indeed. 
paints changed instantly, wonder if they can be auto rendered without typing a new message for all users 
need 7tv settings button for popout chat 
also, can the extension run in another extension?
im using Alternate Player extension to block ads, bttv, ffz emotes working but not 7tv
no one seem to have reported this but badges names on popout chat get cut out
CUMTRIBUTOR 

now cum
Cum on bro

well
you can see emojis but they're small
melonify is (supposedly) gonna work on that
no i mean i can't search for them, left is with new extension, right is with old one
but that also might be cause of ffz


good
but inverted
Just giving them another reason to switch to dark mode
instant paint switching
Also with this instant paint switching
Maybe there could be an option to disable the glow in glow paints
I wonder if there's a cooldown for cosmetic changes
there would def be scripts on day 1 otherwise 
8supa
trucks promotion

Is there a v3 version for Mac OS ?

There isnt right now, but there might be one in the future
For safari that is
https:${host.url}/${f.name} ${i + 1}x The https in the beginning breaks bits again
@finite monolith
cheer emotes
like bits bits
yes
They have a different url to twitch emotes
yes
Could probably use a static url for the bits, but it seemed more dynamic so i used the one from the emote data
Can ask anatole if he knows if its static later
Then we can just change there
Ye
bits are not static
channels can have their own cheermote gifs
old feature rarely used now since it was always shit
but some channels still have them
is it known that emotes are invisible sometimes on the test extension 
i'm using chrome on macbook so the beta can be installed on it ? i don't use safari.
It can be installed in chrome yea
i installed it on chrome on my mac. only problem is i can''t see ffz or ffz AP badges in the chat ??
i cant imagine us supporting ffzap badges
i guess we would to retain compat with ffz but i really cant see a reason for that
I had a few chats opened when I first tried to change my paint.
Chat 1: Paint changed from the next message I sent after the change, 7tv-sub-badge gone. More messages didn't bring my badge back. Switching to another badge, saving, back to old badge, saving, didn't work.
Chat 2: Paint completely gone, badge stayed.
Chat 3: Paint and 7tv-sub-badge gone

F5 for all chats:
Chat 1: Back to old paint + Badge, even though new paint is still selected in settings
Chat 2: Back to old paint + Badge, even though new paint is still selected in settings
Chat 3: Paint and Badge still gone
Ctrl + F5 for all chats:
Chat 1 and 2, same as F5
Chat 3: Badge restored, new paint applied (works as intended)
Changed back to old paint on 7tv:
Chat 1: Paint fits (didn't change after F5), badge gone
Chat 2: Paint gone, Badge gone
Chat 3: Paint gone, Badge stayed
fr, I don't see any system in all of that
paint doesnt have the intended behavior with different language display names
"normal behavior" : https://gachi.gay/9wdYC
v3 behavior : https://gachi.gay/x9Pan

kinda cool
We'll support ffz bzdges but idk about AP it's not even an actual thing anymore
no its literally not
but people still pay the guy 25/mo
because funny lidl picture next to name
Lule
when they dont realize that probably 70% of users
on twitch
wont even see your $25 badge
because you only see it if you USE the ffzap addon
which most people dont
most people just use bttv and ffz together
oh its 20/mo now
yay
5 discount
pay him for literally nothing
kinda sad tho actually that the ffzap addons havent seen dev work in literally years
and they live in the ffz core now
but this guy still gets money for badge photos
No, the alternate player dev would need to whitelist 7tv in its context which isn't gonna happen given no one can contact him

bad business
why work on something when you're getting paid $20 * users per month to do nothing? 

its funny too because the ffzap bttv addon
doesnt even need the ffzap core addon
which is where the badges are
thats all that core addon does
but he made it so
the bttv addon
Besides "choose any image" badges are dumb asf
Lule
didn't ask don't care
cum png
I make $1.2k per month 
wait
does this mean
your not going to support
chatterino homies github repo hosted api badges 

when chat filters are enabled everything is 

idk why i had them on but i guess they were 
intelligence-based insults 
And 120k 7tv subs
Half of which were referred by enzo
Excell how's progress on user cards
Been buzy for most of the day, but hoping to get some progress now in the next few hours

Well, i found an onShowViewerCard that we can use i believe
onAnalSexCum
think i tried that one
yeah just by sound that seems like it might be the opposite
an eventhandler that informs the component the card did open
I think it's an event listener
You gotta go the dummy message route
Before hooking chatlist
Grab the component and save its methods
Then need to make sure it stays
yeah i think keeping it is easy
since we control rendering
it just makes it a two step process
Uh, calling it opens this at least
https://i.imgur.com/GgQewV7.png
Oh 
wheres that on
Idk, the predicate gets called 250 times from .stream-chat
const asd = useComponentHook<Twitch.ChatRoomComponent>({
parentSelector: ".stream-chat",
predicate: (n) => {
console.count();
return n.onShowViewerCard;
},
});```
overqualifying predicates are bad btw
they'll do unexpected things
like working for the first components
Was just to see if it found it
and then not after
since the only time the predicate is actually used is during initial scanning
but once it finds one component it likes it just hooks the class directly
so if theres more than one class that matches
it just always picks the first one
even if thats not really the one that was useful to hook
So do you mean that its good or bad to be specific with the selector?
Ok, thought so
Only reason this was generic was just to do a wide scan
Dont even know where it found it
you have react dev tools right?
Nice
For emote cards i think just ignore for now
Think it's better we just make our own
And copy the gql request for twitch emote info
The component has the onEmoteCard aswell
ok i mean if it's easy sure









