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

CommonClient: allow worlds to change title of run_gui without rewriting it #3297

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

qwint
Copy link
Contributor

@qwint qwint commented May 13, 2024

What is this fixing or adding?

moves GameManager to an optional attribute that worlds can update or overwrite as needed

How was this tested?

ran text client with the change, saw no issues,
updated my client to not define run_gui and use self.ui_manager.base_title = "Minit Client" in the init instead and ran it, saw no issues

If this makes graphical changes, please attach screenshots.

…ted to the normal default so others using it don't have to rewrite everything
@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 13, 2024
Copy link
Contributor

@nicholassaylor nicholassaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qwint
Copy link
Contributor Author

qwint commented May 13, 2024

updated description to reflect the new design

@qwint qwint requested a review from nicholassaylor May 13, 2024 23:09
CommonClient.py Outdated Show resolved Hide resolved
CommonClient.py Outdated Show resolved Hide resolved
CommonClient.py Outdated Show resolved Hide resolved
qwint and others added 3 commits May 13, 2024 19:50
treble suggestion 1

Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
treble suggestion 2

Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
treble suggestion 3

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
@qwint
Copy link
Contributor Author

qwint commented May 14, 2024

whoops, didn't notice until i pressed the button that one of those wasn't a treble suggestion lol

@Exempt-Medic Exempt-Medic added the is: enhancement Issues requesting new features or pull requests implementing new features. label May 19, 2024
@ScipioWright ScipioWright added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants