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

Prettify Adminwho into an examine block, display non-admin admins separately #1389

Merged
merged 3 commits into from
Mar 19, 2024

Conversation

Absolucy
Copy link

@Absolucy Absolucy commented Mar 12, 2024

About The Pull Request

Ports tgstation#79137 and BeeStation/BeeStation-Hornet#9321

Testing Evidence

2024-03-12 (1710282391) ~ dreamseeker
2024-03-12 (1710282430) ~ dreamseeker
image

Changelog

🆑 Absolucy, san7890, EvilDragonfiend
qol: Who and Adminwho messages are now in an examine block for heightened clarity.
admin: Admins without R_ADMIN perm are sorted in another section in staff_who, so that people will not believe coders can handle adminhelps.
/:cl:

san7890 and others added 2 commits March 12, 2024 18:04
## About The Pull Request

Same vein of tgstation#71170 (2d3e7f2) / tgstation#69845
(61d49cb) in an attempt to lessen the
number of cruddy "system messages" that just print straight text to
chat.

This could be improved CSS wise but I think a standard examine block
helps a lot while maintaing clarity, see below:


![image](https://github.com/tgstation/tgstation/assets/34697715/7c08fac0-bd10-4297-ac82-c85d02d7d792)

I also heavily refactored adminwho code to not have so much copypasta
while using more `jointext()` and keeping everything a bit more readable
than what it previously was. User-facing stuff should all be the same
(with the addition of an examine block) except in two spots

* Custom header message when no admins are online. I think this is a far
clearer message than having `Current Admins:` and then the message about
adminhelps being relayed to Discord
* There's no tabs per each entry. This was replaced by a bullet point. I
think it's better to read.
## Why It's Good For The Game

As time goes on, I'm more and more peeved by these pretty critical
messages constantly blending in with output from the rest of the game.
This is why balloon_alerts and whatever became so popular to my eyes,
there's just constant junk. I figure that we may as well just keep the
systematic stuff that _must_ live in the chat box looking as neat as
possible.
## Changelog
:cl:
qol: Adminwho messages are now in an examine block for heightened
clarity.
/:cl:
@Gboster-0
Copy link

would be neat if we also added mentors into that adminwho block, and just turned it into staff-who

@dwasint dwasint merged commit ed9bc0e into Monkestation:master Mar 19, 2024
17 checks passed
@Absolucy Absolucy deleted the better-admin-examines branch March 19, 2024 19:13
github-actions bot added a commit that referenced this pull request Mar 19, 2024
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.

None yet

4 participants