-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Change filter hint text to "Games shown: X / Y" and fix user-game segfault #3973
Conversation
@tooomm @ZeldaZach this appears to work the way I would expect, though I'm wondering if there's a more efficient way to do it? Once we agree on general approach, I'll wire in the changes to also update the hint text as the game list is updated, if we want to. Thanks! |
Still crashes when trying to view a user's games, did you test this locally? You can follow the steps in #3979 to reproduce. |
So strange! I just brought up a fresh build with the change again and I don't see it crashing. Maybe this is a difference between Mac and Windows? Just to make sure we're talking about the same thing - what do you mean by crash? I assume the client totally freezes and/or exits out? Or does it appear fine to a user but show errors in a console somewhere? (Sorry if these are silly questions, still a new contributor.) |
There are no silly questions, by crash I mean it segfaults the same as in the linked ticket I made, anyway I must have messed up building (probably was still on master) because I built it again and it now works fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!
Will finally get around to check this later today, sorry. 🙈 |
Travis finished but doesn't update on github https://travis-ci.org/github/Cockatrice/Cockatrice/builds/683312387 This is really annoying cus it blocks merge |
Anything I can help with from my end to re-run or update it? |
No, this is an issue with our ci system that automatically validates pull requests, if someone else tests this pr to work well I'll instead merge it manually circumventing the web interface. |
Hmm, this took me a while as I'm still not sure what (or how) to write (it) exactly... First things first: Note: This PR adds the counter of currently visible/shown games requested in #583 and extends it for the number of total games in this specific room on the server. With a different location to display it. :) But... To wrap it up - what this PR basically does
What this PR doesn'tFrom this PR description:
I'm still pretty sure - even with this PR - users don't know if default filters do apply or if they are altered. Maybe I'm completely overlooking something here? What to do with this PR now? It still adds a nice value to the client. I propose to also disable the Thoughts? |
The main issue this addresses is the people complaining about not seeing any games going on. I'd like the amount of games shown in the ui somewhere merged as quickly as possible. The reset filter button behavior can be split off if need be. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this makes me happy, and i'd like to ship it as-is. If there are changes to be made in the future, that can happen.
Related Ticket(s)
Short roundup of the initial problem
Cockatrice remembers filters applied between sessions, but users were not alerted if any filters were altered from their default values.
What will change with this Pull Request?
Screenshots
Screenshot of "Games shown" text:
Screenshot of viewing user's games, client did not crash before/during/after: