#stage-discussion
1 messages · Page 8 of 1
Yes that's not a thing
Registering components
You needed to do what anatole did
Glob imports the whole module
But the component is in the exports
This is abstracted by regular import syntax
Since you specify the exports to import explicitly, or in this case the name for the default export
Define component is just a helper really
Not what you want here
Can i name the types like this to have sorting? @daring gale
I guess they actually need to be all uppercase
to match the enum
Unless we can modify what glob uses as the key
I don't understand what the fuck you are doing
Why does it need to match?
Are you like
Hard coding by index
Or something
By the messagetype yes
like what i did in the index?
You can export out some metadata
As a named export
That you pickup when you iterate the glob import
I feel like my solution wasnt too bad
Since the types are static
The index also nicely displays which types we have renderers for

I havent had much time the last few hours
So not gonna be ready before I go away for the weekend

I might be able to write some from the car tho
Im probably gonna revert the change to the glob import
Since the msg types are static
of course the guy with a spreadsheet as his namesake
wants to hardcode everything
typical, they never change
glob import is good
But the messagetypes are hardcoded already
Anatole is there a reason I have 2 personal emote sets? 
extra good boy
you still have the test set apparently
I mean I happily take 10 slots 
not anymore 
I mean would that test set showed up when it launched anyway 
@eternal iron woa
I just looked at this
this is probably
the newest feature
in the extension
your pushing the edge 
support for this was added like less than months ago
and firefox still doesnt have it
Sounds like an issue for firefox users
Aware
its not even really neccissary tbh
below that we dont care too much
like that can be done easily other ways
plus
:has is very slow
I beleive
this was actually the reason
its taken so long
to be added in the first place
alot of browser devs and w3c people were very against it
yeah just make mentions part of tokenization
but I guess it made it anyways now that browsers dont really care
and set a class
about perf or resource usage
They are

because it basically requires them
to change the way the layout engine works
it cant work top down anymore
But the tokenization is part of the usermessage
Which dosnt really have access to its parent container
because this is better
anyways
you need to do that
if you want other types
of highlights
should be build dev4 later tonight with initial cosmetics support
- maybe personal emotes
morning for eu frogs
but theyre all asleep rn unless degen
so im talking to NA people


Edge cases are the best cases 
paint doesnt work and the emote extension button isnt visable
yes the other version is disabled. yes i restarted my browser

there are no cosmetics on build dev3
what does it support 
?
the extension doesnt do anything since the emote menu isnt even visable
wdym?
aside from no cosmetics
the emote menu is just on the normal button
yeah its 
looks so much diffferent
Left this morning, so havent done anything new
Skiing and beer 

me optimizing the backend fanout process for cosmetics v3

i think i got it
btw did anyone talk about the @ not working yet
We should be able to hook/implement our own @wicked cypresstion could even use cosmetics presence?
@wicked cypress
very easily
its basically already hooked
just need to change it
@wicked cypress
we modify it already
to make it not auto tab
so it doesnt conflict with our tab complete
would probably be basically the same impl as the emote provider
@finite monolith wheres the tooltips PR mr badge farmer
vietnam
is there some kind of a good way to automatically sync the remote fork origin to the actual origin

Just do all the ui stuff, basically free badge
ayo i made ui work a breeze
should be enjoyable if anything
plus you get a badge
dont ask me about those weird dollar things though
"You should be paying me"
👍


yeah just dont work on a fork
just setup with two remotes
and pull from upstream
push to fork

what
your mother is a paperbag

oh btw
btw
nvm

no it only works with actual vue components

ok
i'm donk
is there a way to get the emote provider from the Emote interface
what's wrong

almost as bad as the people who make their vscode turn certain characters into symbols
No, there are no provider data on the emote objects
like <= and ==
But you should probably assign some
All the set getters are in the workets i believe
is there a way i can set up volar so it tells me all of the errors in the project
Eslint and prettier
already have both
they only tell me the errors in the currently open files

*

you has to run it
You should only see errors from files youve edited anyway
Can always do yarn lint if you want to check
make prod to see all errors
All tips should be taken with a grain of salt
. o O ( what is he talking about
)
anal fluids
what 
They all map the emote yea
so this way i conveniently put some provider fields and that works fine but this way, the only provider which doesn't return the actual field is 7tv
because she's just courteous like that
Not a happy one

steven tv
PagBallsHappy?
I guess we could assign provider to seventv aswell?
font ligatures hater 😔
Now make the cusom onEmoteClick menu
literal masochist
One thing I sorely miss about using Mac OS is the ability to type those kinds of characters easily
Not a massive fan of that capitalized platform, unless it gets like bolded or something
No you don't see... Those aren't special characters
Those psychomaniacs use those ligatures in place
Of regular sequences of chars
lets avoid that "shared" terminology as well it's bttv nonsense
just icons for provider instead of text
@unkempt hill Yeah you can't type ligatures like that
but the characters for not-equal, the "greater/less than" variants, and other common math stuff is useful
any compose/dead key users
Compose key is actually based
Expecially in distros where they don't compile out the custom per user keys
Canonical 
I have a key combo for invisible chars
That I actually use pretty often weirdly
Alt, ., Space
Mac OS still better 🥱
None
this is a good feature, don't see a need to remove it either
maybe will get added later 
@daring gale say, how are you planning to realize the animated offline screen/banner? mp4? webm?
(pls don't fucking say gif)
bmp, displaying each frame individually

gonna hire someone to hand draw each frame live?
people already draw each frame live. how do you think cartoons are made? 

decent data structure for presences now i think
by referencing entitlements i can emit entitlement.delete events when the user changes their stuff to remove previous cosmetics
EMOTE_SET refers to all emote sets including personal emotes?
not necessarily
just refs to what the user has equipped
but stored at presence time so that during the next presence, if those values have changed the server can emit events telling clients to dereference previous cosmetics
am curious
when sub runs out, things are still equipped in entitlements but just not shown?
no what you see here is live data
entitlements have role conditions
if you dont have the sub role, sub entitlements become inactive

this is a full entitlement
it works
got it to a point where it never sends duplicate data, but also expires the dedupe cache when switching back and forth with the same entitlements


no idea. It would be easier to find if we could search for tags.
"PogChamp 3D head spin" would probably turn up at least some of the tags
reverse image search on 7tv when
7tv unironically needs some kind of image detection
reuploads are one of the bad things about BTTV
if there was some infrastructure for detecting duplicate emotes, and allowing merges and alias transfers, that would be pog
different languages all call the same emote different things
there needs to be some way to deal with that
rather than just having someone upload an emote in each language so it's searchable
perceptual hashing is a thing but it would need to be robust enough to only send through images with a 95%+ similarity otherwise i could imagine it generating a lot of false positives since i assume smaller image sizes = less pixels = less accurate detection
you'd need a ui for mods to tell it which one is the "correct" emote, and a way to undo it if a mistake is made or its used differently (example: people prefer the low-quality version of an emote but there are high-quality renditions of it on 7tv called "<emotename>HD" or something)
Yeah it wouldn't be trusted to autonomously merge emotes or anything
(unless the uploaded file hashes are identical or something)
i found a site a while ago that does similarity-sorting for pepes and it lists images that are the same as the source image but with jpeg artifacting as less similar than completely different images, that being said though the site isnt for finding duplicates as much as it is a 4chan pepe dump
It would just be an extremely helpful tool for mods
but its an example of the tech in use
site for reference https://bbwroller.com/search/ef8cf62b5d3745639af9c941555cf6321be9531dfed9aa56ad25d4b9ec6f62ae
cw: nsfw, bigoted, and otherwise disturbing pepes exist as images on the site, and won't be filtered or blurred
👀👌👀👌👀👌👀👌👀 good shιt go౦ԁ shιt👌 thats ✔ some good👌👌shιt right👌👌th 👌 ere👌👌👌 right✔there ✔✔if i do ƽaү so my self 💯 i say so 💯 thats what im talking about right there right there (chorus: ʳᶦᵍʰᵗ ᵗʰᵉʳᵉ) mMMMMᎷМ💯 👌👌 👌НO0ОଠOOOOOОଠଠOoooᵒᵒᵒᵒᵒᵒᵒᵒᵒ👌 👌👌 👌 💯 👌 👀 👀 👀 👌👌Good shιt
Jason
i could also see something as simple as a 1 or 2-pixel shift or transparent padding tripping it up
collab with commanderroot 
I’m too busy collabing with Nymn 

i collab with your mom
almost


anatole is a 7tv translator
help me anatole chat is lagging
Since it's so singletrhreaded cpu2 goes to 100% and video stops playing due to fast chat 
with the new extension?
Oh no this is before testing the new one so you bet im waiting.
it shouldnt lag with the new extension
THats what im about to compare

ok so reactivity needs some work , you need to post twice after swapping badge, but cosmetics v3 is live
gonna be packing a new build
Dosnt it update immediately if you concat it in the computed?
not sure
vue is a bit weird with push and pop at the same time
rewrite it in rust
🔔
i’ll check when i’m not at work 
the emote menu looks nice
very nice
Indeed thats pretty
assuming we'll eventually be able to change the order of this list?
actual good idea
thats not already planned?
I’ve said multiple times it should prioritize subs
yh chuck all this to the bottom plz

yes
are you gonna add it before the beta
?
i tried to get it to say what provider the emote came from and etc
but i'm awful at navigating foreign code
idk if i can ever move on from my precious chatterino extension 
YOU WILL USE THE NEW EXTENSION
YOU WILL LOVE TO USE IT
#stage-discussion message
so this issue hasnt been resolved yet
chromium bug
Is there a cd for switching badges right now?
no
Should badges be reactive?
yeah probably
classic 
that thing where the chat dissapears when you use colon completion is back

it's not back
it's just a thing now
but it was bc of this
prettier cucked it 
this is meant to be two $ symbols but prettier decided to make it only 1 
make that $$ 💸
please fix it i cant stand it anymore i hate tab completion cuz im pepeg
just for u
4 U 


not sure if expected. OperaGX when I try to use colon to put an emote in my message the chatbox disappears entirely and doesn't comeback until I refresh the page.
NVM scrolled up and saw the answer


Clicking on links in chat opens them in the same tab, instead of a new one.
This still happens. Just a reminder
Raid of a user to a streamer I was watching happened 7:00 PM and was displayed in Chatterino at the same time. It appeared at 7:11 PM in twitch chat with the dev 3 build. I know, those things are scuffed atm, but wanted to report in anyways. Seems weird that it still appeared after 11 minutes instead of not showing up at all.
Happened again today. Raid happened at <t:1673186580:t> (Chatterino). Message appeared in chat at <t:1673187120:t> (Dev4). Let me know if already acknowledged and I'll stop reporting it 
badge farmer 
@shell schooner what do you think would be a good solution to tooltips for emotes with super long names
my idea is to have the width be limited to some value and have the text break at some width
so it would be kinda like this
yeah
this is the best option imo
and just keep the emote in the middle i guess?
i guess
why
You may need to clear some stuff when switching branches
What badge is that?
translator

what do i need to clear
beside dist/
and killing the workers if there are any
check that the js files are being pulled from localhost and not chrome-extension
in network tab
if they are not you are doing something wrong

ok wlel
idk why its ipv6
but this should be a local address
its kinda like
if no matter what files i edit nothing happens

oh wtf
ok
nvm


some donkery is happening though
Idk if this been reported already but I have problems with Chat appearance
What kind of problems?
Like I have them turned on but don’t work
you have what turned on?
HOLY FUCKING SHIT IM STUPID
?
i was
i was setting the font weight to 16 px
and not the font size

sleep deprivation moment
Let me get on my pc rq

Timestamps, readable color, and replies in chat dont work
Also doesn’t let me click on my username
After refreshing 2-3 times it starts to work
what's concerning here is that last bit really
it shouldn't start to work, because timestamps, replies and user cards are not implemented
so if those things work it means the extension isn't loading
That literally is a local address

Wdym don't have
as in my isp doesn't have ipv6
But it's a loopback device
The extension also works lol
That doesn't mean anything
Why wouldn't it?
good point
It's just as fit as using ipv4
It doesn't matter it just loops back to your local machine
No routing even happens
Pretty sure something might be wrong with the shared worker impl
At some point while testing a while ago I had to clear the local storage key
To get anything to even load at all
is this known 
Didn't really look into why
@gleaming dagger
Yes
ty
@daring gale
?
It should
emote could be bigger
yeah
pretty nice
if we get the cooler icons which have the same sort of size it will look even better
time to get out the big guns
monkalaugh
very cool
NOW THIS
oh oops
wrong transparency level
yes this one is the best
are we not gonna add the little arrow at the bottom 
i need to figure out a way to not make it go off screen first

uhh
i wonder if vueuse has something for this
@daring gale 
hjelp
okay nice
the only problem is that i just cvpasted the get srcset utility from the ChatEmote.vue file and the sizes are a bit inconsistent
good enough

i like this one the most too
Let me know
In what way
new build later with paints support and transitory cosmetics v2 implementation (so that you can see cosmetics of users still on v2 clients)
padding seems too big to me
like theres double inner padding
around the emote
instead of just a lower margin to the text
and equal padding around the whole container

i mean yeah
i added some extra padding to the emotes themselves
to make them look less shit
looks worse to me imo
let's see here
most emotes wont even push the padding anyways
so they'll fall in regardless
because usually the name will be longer
I imagine
um actually!!! the average length for all emotes is around 14 letters!!!!!!!!!
also did you test if the behavior is correct
around screen border
or if the tooltip ui placement method needs to be tweaked
one sec
it shouldnt resize the box but it might if its not configured correctly
it should just shift
i'm 
dont worry about trying to implement it yourself, if thats what you were planning to do

committing non atomically
okay egg

oh wtf
omegal

hot reloading caused the previous svgs to still stay there but just smaller
so it looked donk
you think i should make the icons bigger
because they're all the same size now
pick which one looks best
what is
to make it so i can put text on the left and the icon on the right
😳
there are ways to do this that would be better
I would do flexbox but you could also just do float:right
or right: 0
position: absolute
flexbox is best imo
because then you can explicitly
vertically align them
so the mid point of the icon
and of the text
are exactly aligned
always
just make a flexbox with align-items: center;
and then a spacer element
in the middle
with flex: 1
and it should put the icon on the right
PagMan
is justify content set too
its still bugging me
unless
some pepega
made the icons
and added height to the top
justify-content: center;
align-items: center;
add that to the icon or?
add it to the container around it
the box containing the text and the icon
wherever display: flex; is
that looks good still a little offset i'd have to see the layout myself then

we should ideally have someone recreate the icons at a pixel perfect size
so they dont look fuzzy
perhaps
ok i'm commeeeeeeeeeeting
i'm not sure if i did it right
but it looks fine
gotta check huge emote texts to see if it looks okay
it might

collapse the spacer
if you didnt add a bit of forced margin
and push the icon too close
just set a min-width
on the spacer
if it does that
well yeah its in tree though so its probably a vscode warning that you told to not show or something
nope
normally git wont let you switch branches
with that kind of thing
because you would loose modification
git update-index --assume-unchanged .env.dev
well thats why its reseting then

because youve just told it that it shouldnt care
wdym
like just screenshot the component
or commit and fix later thats fine too
just wanted to see the html
layout
if its flex then align-items: center?

ok
i just added display: flex to the spacer and that worked
is it better when its centered to the text
or at the end
okay dumb question
this looks donk
no

aligning them to center makes them look great at a single line
but sorta bad if the text is huge
this looks better
better
okay egg
are u not gonna include where the emote is from and by who?
it should say the creator under the text
then inbetween
the text
and the icon
add a div
with flex: 1
or flex-grow: 1
doesnt matter one is just shorthand
yep div goes in the middle
not around
its a spacer
it just expands to fill the space
whatever space there may be
- an optional minimum width too
to keep a set distance no matter what
this doesnt look good
keep it close to this
nah you neet to get rid of
this is fine
justify-content
Emote name has to be in the middle
Otherwise it’s gonna look uneven
it does
keep it that way
okay egg
yeah that is fine if you dont care about the icon
being centered
then keep it like that
the icon should be at the bottom right always

yeah thats generally how i do layout like this
how are you gonna show that an emote is a global/sub/follower then
we can add another line not a big deal
labels
icon seems pretty useless then
y
If it’s gonna say for example Twitch global
Or 7tv channel
strikes again
no itll just say global emote
itll say "global emote" or "personal emote", "sub emote" etc
doesnt repeat the provider
Oke
7TV has all of channel, personal, sub and global types
wish we could do set display too like native twitch but not possible
like i mean show what channel an emote is from
since that just gets fetched from gql on card open
not suitable for tooltip

we'll just do the thing about remote controls in the extension
where an api endpoint can disable stuff
make everything remotely manageable
Hover dosnt need to display that much tbh
📈 blur and transparency and boxes
We can just implement cards for 3rd party emotes
and my calander
ok cool idea that nobody wants to implement
but
we should transition
from hover card
to emote card
on click

like resize the box and transition the positions
anatole
pay for gsap
so all the design people can make pog animations
a little
BloatChest
makes everything syntactic sugar
vue animation framework is enough tbh
its css
ye
i want cool stagger effects and custom timeline controls
but it does have hooks and stuff
and automatic FLIP calculation
so you can run code when the animation starts or ends
for moving between states
we need like
the old linux window closing and opening animations
now that it exists
actually obsoletes things like gsap
now that you dont need to store into a css animation
just to animate off thread
its not as pretty but its def better than a bloated proprietary framework
Maybe i can finish types tomorrow
gn sheet guy 
oh yeah btw
i was kinda disapointed actually
when I looked at the docs for vue animations
and it literally just provides hooks
yeah
i mean its very limited
like
i wish more frameworks would have the one angular has
that shit is like the only good thing angular had going for it
yeah angular animations are good but kinda donk
in the same way
that all of angluar
is donk
how it reimplements the wheel
anatole do you know why clicking on different channels on the emote menu still doesn't go directly to the channel?
true
this
chromium issue

angular is the definition of bloat
yeah
but it had a good idea for animations
have you seen
not just how bloated
the angular core is
but have you actually looked
at an angular project
its bad
and how many
i mean
deps
dont they use an internal framework
it brings in
the minimum is like 2 megabytes
i love
for base bundle
i know
the base core brings in like 33k
so by default are emotes bigger than 1:1 just set to a 1:3 box?
no theres another box size isnt there




what happened to the new
emote

this bug was completly gone with the other builds but it seems that it's back



is it gonna say whether its global or channel



