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

Better char searching and some chardata refactoring #241

Closed
wants to merge 11 commits into from
Closed

Better char searching and some chardata refactoring #241

wants to merge 11 commits into from

Conversation

OmniTroid
Copy link
Contributor

@OmniTroid OmniTroid commented Sep 28, 2024

Makes it possible to search for a character immediately instead of waiting for all characters to load. Previously, if you wanted to play as char number 1000 in a server, you would have to wait 6ms * 1000 = 6 seconds before picking. Now you can pick it immediately. Also did some refactoring on charData and automatically focuses search box when DONE is received.

Another small change is not to remove the loading text element, but rather reuse it to show "Choose your character". This makes the layout jump around a little less.

Preview: https://webao.troid.tech/dev/better-search/

@OmniTroid OmniTroid marked this pull request as ready for review September 29, 2024 23:46
@OmniTroid OmniTroid changed the title WIP: Better typing for char data Better char searching and some chardata refactoring Sep 29, 2024
@OmniTroid
Copy link
Contributor Author

I see that this doesn't scale the images correctly when they're bigger than standard size.. have to check that.

@OmniTroid OmniTroid marked this pull request as draft September 30, 2024 00:06
@ghost ghost closed this by deleting the head repository Oct 13, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant