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

[MIRROR] Fixes lag in search bars #2391

Merged
merged 1 commit into from
Mar 13, 2024
Merged

[MIRROR] Fixes lag in search bars #2391

merged 1 commit into from
Mar 13, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1421
Original PR: tgstation/tgstation#81968

About The Pull Request

  • Fixes #81132
  • Fixes #80853

To properly reproduce the issue you only need to type slowly in the search bar(type the word "basic") of the shared engineering techfab in metastation.

bandicam.2024-03-12.23-05-37-100.mp4

I don't fully understand why this fixes it so i need an explanation before it gets merged.

This was implemented back in #80614 to fix this

Problem goes a little deeper than simply adding "selfClear" prop - ntos messenger is looking for more of a controlled component. Whenever messages are sent, it attempts to update the value in the input box

But upon testing the chat messenger with this removed it appears to work fine so not sure what got fixed where but one thing i can assert is that it definitely has nothing to do with debounce.

Changelog

🆑 SyncIt21
fix: search bars don't swallow characters or lag behind your typing speed
/:cl:

* Fixes lag in search bars (#81968)

## About The Pull Request
- Fixes #81132
- Fixes #80853

To properly reproduce the issue you only need to type slowly in the
search bar(type the word "basic") of the shared engineering techfab in
metastation.


https://github.com/tgstation/tgstation/assets/110812394/1c2a5791-66e2-468a-9827-6541966c18a9

I don't fully understand why this fixes it so i need an explanation
before it gets merged.

This was implemented back in #80614 to fix this

> Problem goes a little deeper than simply adding "selfClear" prop -
ntos messenger is looking for more of a controlled component. Whenever
messages are sent, it attempts to update the value in the input box

But upon testing the chat messenger with this removed it appears to work
fine so not sure what got fixed where but one thing i can assert is that
it definitely has nothing to do with debounce.

## Changelog
:cl:
fix: search bars don't swallow characters or lag behind your typing
speed
/:cl:

* Fixes lag in search bars

---------

Co-authored-by: SyncIt21 <[email protected]>
@Iajret Iajret merged commit fa08fa0 into master Mar 13, 2024
24 checks passed
AnywayFarus added a commit that referenced this pull request Mar 13, 2024
@Iajret Iajret deleted the upstream-mirror-1421 branch March 13, 2024 22:56
Iajret pushed a commit that referenced this pull request May 8, 2024
* Fixes floating pixels on railings (#83118)

## About The Pull Request
Someone pointed this out earlier, and I agree random pixels es no bueno

![image](https://github.com/tgstation/tgstation/assets/143908044/786f4dc9-8193-47a9-936e-e95f42e1817c)
![image](https://github.com/tgstation/tgstation/assets/143908044/72002dda-f984-4d8a-a1a7-8b5837cea6b6)

## Why It's Good For The Game
It's not

## Changelog
:cl:
fix: Removed stray pixels appearing on certain parts of railing
/:cl:

* Fixes floating pixels on railings

---------

Co-authored-by: AMyriad <[email protected]>
ReezeBL pushed a commit that referenced this pull request May 9, 2024
* Fixes floating pixels on railings (#83118)

## About The Pull Request
Someone pointed this out earlier, and I agree random pixels es no bueno

![image](https://github.com/tgstation/tgstation/assets/143908044/786f4dc9-8193-47a9-936e-e95f42e1817c)
![image](https://github.com/tgstation/tgstation/assets/143908044/72002dda-f984-4d8a-a1a7-8b5837cea6b6)

## Why It's Good For The Game
It's not

## Changelog
:cl:
fix: Removed stray pixels appearing on certain parts of railing
/:cl:

* Fixes floating pixels on railings

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: AMyriad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants