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

Fix legacy nametag color customisation #6189

Merged
merged 5 commits into from
Jul 27, 2023

Conversation

nikk15
Copy link
Contributor

@nikk15 nikk15 commented Jul 27, 2023

Previously, the Nametag inputs in the Theme tab in the Admin Panel did not do anything. This fix ensures this legacy method of changing nametags works. Alternatively, "nametag-color" and "nametag-text-color" can be added to the theme variables and will also update nametags.

Additionally, we now disable the save button if there is a warning message currently issued for an invalid input.

Screenshot 2023-07-27 at 1 15 22 PM Screenshot 2023-07-27 at 1 15 16 PM Screenshot 2023-07-27 at 1 28 25 PM

@nikk15 nikk15 temporarily deployed to hc-bio July 27, 2023 17:34 — with GitHub Actions Inactive
@nikk15 nikk15 temporarily deployed to smoke July 27, 2023 17:34 — with GitHub Actions Inactive
@nikk15 nikk15 merged commit 2a325e3 into master Jul 27, 2023
12 checks passed
@nikk15 nikk15 deleted the fix-legacy-nametag-color-customisation branch July 27, 2023 17:48
Copy link
Contributor

@nickgrato nickgrato left a comment

Choose a reason for hiding this comment

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

remove the commented code? or leave a message on why you want to keep it? otherwise looks good.

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.

3 participants