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

Refactors pod launcher UI #80887

Merged
merged 11 commits into from Jan 15, 2024
Merged

Conversation

jlsnow301
Copy link
Contributor

@jlsnow301 jlsnow301 commented Jan 10, 2024

About The Pull Request

While debugging #80857, it became immediately apparent why it was never converted over to TypeScript: It's massive. 1203 lines in one file, making it our largest UI! I stated in the aforementioned PR my general guideline: 500 lines before something needs to be separated. This does so.

Why It's Good For The Game

  • Separates a titanic UI component for easier maintainability
  • Typescript conversion

Changelog

N/A nothing player facing

@tgstation-server tgstation-server added Refactor Makes the code harder to read UI We make the game less playable, but with round edges labels Jan 10, 2024
@Isratosh
Copy link
Contributor

does this change the functionality or look of the UI at all, or just an under-the-hood refactor?

@jlsnow301
Copy link
Contributor Author

jlsnow301 commented Jan 11, 2024

does this change the functionality or look of the UI at all, or just an under-the-hood refactor?

moved preset menu buttons around slightly
Screenshot 2024-01-10 174618

Copy link
Contributor

github-actions bot commented Jan 12, 2024

This pull request was test merged in 274 round(s).

Round list

sybil

manuel

@AnturK AnturK merged commit 5ed53ea into tgstation:master Jan 15, 2024
19 checks passed
github-actions bot added a commit that referenced this pull request Jan 15, 2024
@jlsnow301 jlsnow301 deleted the podlauncher-refactor branch January 15, 2024 20:36
Jolly-66 pushed a commit to TaleStation/TaleStation that referenced this pull request Jan 15, 2024
Original PR: tgstation/tgstation#80887
-----
## About The Pull Request
While debugging #80857, it became immediately apparent why it was never
converted over to TypeScript: It's massive. 1203 lines in one file,
making it our largest UI! I stated in the aforementioned PR my general
guideline: 500 lines before something needs to be separated. This does
so.
## Why It's Good For The Game
- Separates a titanic UI component for easier maintainability
- Typescript conversion
## Changelog
N/A nothing player facing

---------

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Makes the code harder to read UI We make the game less playable, but with round edges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants