-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
System search bar #113
System search bar #113
Conversation
I'm not sure it makes sense to add it to one realm but not the other |
I do agree that it is peculiar to add it to one realm and not the other. The shared server debugger complicates implementing the search feature, but I'm happy to explore that again with guidance. |
Can you explain in more detail exactly what is making it more complicated and how much more complicated? |
Do we share the search filter between users or do we come up with a way to allow users to search independently from each other? |
Right now the there's just one server debugger, so it doesn't really seem like that's much different from other parts of the state that get shared for everyone using it unless I'm misunderstanding something. |
The server debugger is setup in a way that shares the debugger state between debugging clients. The I could have another look at some point to see if making the search on the server unique to the client who is searching is feasible with the current setup. I'm not yet well familiarized with the shared server debugger's logic (the part of it that shares the state between all debugger clients), so that may be why I found it less straightforward. |
Right, this is what I'm saying. This doesn't sound like new behavior or a new challenge to me, it sounds like it's just baggage we already deal with in the server debugger because of the way it works. There's lots of state that's sort of weird because of how it operates in this shared way, and this just sounds like another. We can improve it, but I think it's just okay to have it work that way for now, and we can look into improving it later. Honestly, most of the time only one person is really using the debugger at a time anyway. So it's a bit of unpleasantness sometimes, but not something that I think really should prevent it from functioning. If you think you have a good handle on the problem you can go ahead and pre-emptively make an issue for it, but I think we should have this working in the server debugger even if it behaves weird when that happens. |
I'll take a look at the server search functionality again! 😄 |
@Nidoxs Why is this closed? I think that it's currently OK to have shared state between client and server in the debugger because that's how the rest of this works. |
Proposed changes
Adds a search bar to the client debugger view. Systems are hidden when they do not match the search filter.
Related issues
Closes #109
Additional comments
The server debugger would also benefit greatly from the search feature but the way that's all setup makes it more complicated. Let's re-visit another time to add the search to the server view.
Preview
https://gyazo.com/509ee4478fa14ac37a1b7ad642b128df