Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove repeated message chat badge animation that causes huge performance issue for low-end users and replaces it with flashing #22845

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

warface1234455
Copy link
Contributor

@warface1234455 warface1234455 commented Dec 11, 2024

TESTMERGE REQUEST

gotta make sure it works for other users in game

Document the changes in your pull request

Remove repeated message chat badge animation that causes huge performance issue for low-end users and replaces it with flashing

Why is this good for the game?

this animation happens once is fine but with 1000 actions at the same time causes the entire chat screen to flicker and cause lag, potentially crashing a client

Testing

ATTTT

Changelog

🆑

experimental: Remove repeated message chat badge animation that causes huge performance issue for low-end users and replaces it with flashing
/:cl:

@Yogbot-13 Yogbot-13 added the Javascript This PR contains javascript code. label Dec 11, 2024
Yogbot-13 added a commit that referenced this pull request Dec 11, 2024
@github-actions github-actions bot added the tgui This PR affects TGUI label Dec 11, 2024
Yogbot-13 added a commit that referenced this pull request Dec 12, 2024
Yogbot-13 added a commit that referenced this pull request Dec 12, 2024
@warface1234455 warface1234455 changed the title Remove repeated message chat badge animation that causes huge performance issue for low-end users Remove repeated message chat badge animation that causes huge performance issue for low-end users and replaces it with flashing Dec 12, 2024
@ToasterBiome
Copy link
Contributor

This is actually related to looking up/down being expensive, i will fix this when i do a bulk multiz bug fixing update

@ynot01 ynot01 reopened this Dec 12, 2024
@LoliconSlayer
Copy link
Contributor

FIGHT! FIGHT! FIGHT! FIGHT! FIGHT! FIGHT! FIGHT! FIGHT! FIGHT!

Copy link
Contributor

@ToasterBiome ToasterBiome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test on something that isn't look up down left right

@warface1234455
Copy link
Contributor Author

test on something that isn't look up down left right

Dude thats just an example for the repeated messages

@warface1234455
Copy link
Contributor Author

This is actually related to looking up/down being expensive, i will fix this when i do a bulk multiz bug fixing update

This has nothing to do with this, it's about the animation flickers when you type something twice

@warface1234455
Copy link
Contributor Author

test on something that isn't look up down left right

wish granted

@ToasterBiome ToasterBiome merged commit cf0c5c4 into yogstation13:master Dec 13, 2024
28 checks passed
Yogbot-13 added a commit that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript This PR contains javascript code. tgui This PR affects TGUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants