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

TGUIification of TTV menu #17897

Merged
merged 11 commits into from Feb 9, 2024
Merged

Conversation

MeggalBozale
Copy link
Contributor

@MeggalBozale MeggalBozale commented Feb 7, 2024

About the PR

This PR serves only to convert the TTV menu to TGUI. There is one mechanical change, which is that you can, only in the menu, select which part of the tank transfer valve to attach a tank to. This has no effect on gameplay, it just felt right to add.

Old menu:
ApplicationFrameHost_qUeEqNnDRB

EDIT newer menu:
image

Old New menu:
YXD9vrXZ6u
gSfgxDDs0G

Why's this needed?

TGUI is nicer to have and use, and more in-game menus should be converted to using TGUI.

Changelog

(u)MeggalBozale
(*)Tank Transfer Valves now use TGUI menus.

@boring-cyborg boring-cyborg bot added the A-UI Modifies UI in some way. Automatically applied on a change to tgui/ label Feb 7, 2024
@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 7, 2024
@MeggalBozale MeggalBozale added C-QoL A quality of life improvement that makes the game easier to play size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 7, 2024
@MeggalBozale
Copy link
Contributor Author

image
light mode flashbang

@TobleroneSwordfish
Copy link
Contributor

TobleroneSwordfish commented Feb 7, 2024

It looks a little bare, maybe consider doing something like the tank display on the canister UI? (aka steal the component)
image

@MeggalBozale
Copy link
Contributor Author

Would it be fine to add the pressure indicators for that? I dont feel anything makes that less bare besides providing pressure info

@itchybones
Copy link
Contributor

You beat me to it. Looks good 👍

@MeggalBozale
Copy link
Contributor Author

MeggalBozale commented Feb 8, 2024

image
new menu @TobleroneSwordfish thoughts?

Copy link
Contributor

@TobleroneSwordfish TobleroneSwordfish left a comment

Choose a reason for hiding this comment

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

Looks good, just some minor code stuff.
Oh also I know I said to make it shorter but now it looks like this with the default plasma tank inserted so it needs to be just a tiny bit longer:
image

code/obj/item/device/transfer_valve.dm Outdated Show resolved Hide resolved
code/obj/item/device/transfer_valve.dm Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/TTV.tsx Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/TTV.tsx Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/TTV.tsx Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/TTV/index.tsx Outdated Show resolved Hide resolved
tgui/packages/tgui/interfaces/TTV/index.tsx Outdated Show resolved Hide resolved
MeggalBozale and others added 2 commits February 8, 2024 11:57
Co-authored-by: TobleroneSwordfish <20713227+TobleroneSwordfish@users.noreply.github.com>
yea

Co-authored-by: TobleroneSwordfish <20713227+TobleroneSwordfish@users.noreply.github.com>
@MeggalBozale
Copy link
Contributor Author

Committed those, any other minor changes worth making to improve UI/UX lmk i have all of today to work on it

@TobleroneSwordfish TobleroneSwordfish merged commit f84ddf5 into goonstation:master Feb 9, 2024
22 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 9, 2024
@MeggalBozale MeggalBozale deleted the ttvtgui branch February 16, 2024 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Modifies UI in some way. Automatically applied on a change to tgui/ C-QoL A quality of life improvement that makes the game easier to play size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants