basementdevs / twitch-better-profile

Twitch Better Profile - A new way to first interact with users on Twitch.
55 stars 14 forks source link

feature: update previous chat messages after first load #2

Closed DanielHe4rt closed 2 months ago

DanielHe4rt commented 2 months ago

Issue

Currently, the content.ts only listens to the new messages in the chat. However, I would like to load for previous messages as well.

Chat Loading with messages

Goal

Make the previous messages that got loaded after you join the room get tagged with pronoun and the default icon (which is already attached and it's called mod.png).

leandrogrillo commented 2 months ago

@DanielHe4rt Can I try to help? :)

I don't get how to run it properly. I enabled the dev mod in the browser, but the auth button doesn't work as expected. (or maybe I'm doing something wrong)

DanielHe4rt commented 2 months ago

@leandrogrillo I'll spent some minutes enhancing the documentation and I'll get back to you.

DanielHe4rt commented 2 months ago

@leandrogrillo Now we have a proper Readme for running the extension.

The only thing which is a problem is that the CLIENT_ID is hardcoded at background/messages/oauth.ts. We plan to add environment variables soon as possible but so far you would have to change manually to yours.

leandrogrillo commented 2 months ago

@DanielHe4rt Thanks! I'll check it out, and if I find any problems, I'll message you back! :D

We plan to add environment variables soon as possible but so far you would have to change manually to yours. I saw that, and I was about to say it XD but it's all good!

Thanks again ^^