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

Resolve sticky messages in STUI #5581

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

mullenpaul
Copy link
Contributor

@mullenpaul mullenpaul commented Jan 28, 2024

About the pull request

Fixed the issue for STUI locally. The issue appears have happened because infernojs and react deal with key management on iterators differently. By using the index for the iterator, rather than the entire log message, this seems to have resolved it.

Explain why it's good for the game

Resolves #5557

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
code: fixes sticky messages in STUI
refactor: STUI is now a TSX component
/:cl:

@github-actions github-actions bot added UI deletes nanoui/html Code Improvement Make the code longer Refactor Make the code harder to read labels Jan 28, 2024
@harryob harryob added this pull request to the merge queue Jan 29, 2024
Merged via the queue into cmss13-devs:master with commit 4e81ee7 Jan 29, 2024
28 checks passed
cm13-github added a commit that referenced this pull request Jan 29, 2024
github-merge-queue bot pushed a commit that referenced this pull request Feb 22, 2024
# About the pull request

Fixes the search function of `tgui_input_list`, and also makes the
search bar automatically focus when toggled.
This was caused by the same issue as #5581.

# Explain why it's good for the game

Bugfix, and a little QOL thing.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

('Teleport to Area' menu as an example, but it's the same on any
others.)
**Before:**


https://github.com/cmss13-devs/cmss13/assets/57483089/8450adef-38f4-4ae4-963a-11533a328841

**After:**


https://github.com/cmss13-devs/cmss13/assets/57483089/ede80ffa-7ce6-47c9-9711-a5f29560d1bd

</details>


# Changelog
:cl:
fix: Fixed the search function of TGUI input lists.
qol: Made the TGUI input list search bar automatically focus when
toggled.
/:cl:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer Refactor Make the code harder to read UI deletes nanoui/html
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STUI fails to clear text buffer as of React PT2 PR
2 participants