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

Update_Appearance Port #2170

Merged
merged 18 commits into from
Aug 12, 2023
Merged

Update_Appearance Port #2170

merged 18 commits into from
Aug 12, 2023

Conversation

Sun-Soaked
Copy link
Contributor

@Sun-Soaked Sun-Soaked commented Jul 15, 2023

About The Pull Request

(original pr)
After nine years in development we hope it was worth the wait

I ported this specifically for the signals I'll need for world icons. However, it had a lot of other useful stuff, so I ended up just grabbing (almost) the entire pr.
I tried to grab as few of the superfluous code rewrites as possible to make reviewing a bit easier, but I couldn't help grab stuff like the APC icon code rewrite(the original code was a war crime).

Why It's Good For The Game

  • ports the wrapper proc update_appearance for icons, descs, and names, adds update_desc and update_name subprocs to handle those. Things. without just stuffing them into update_icons like some kind of psychopath

  • ports a bunch of signal hooks useful for changing names, descriptions, and icons. I needed these for world_icons which is where this wild ride all started

  • ports some base_icon_state implementation. Stuff like spear code makes slightly less duplicates(and more sense) now which is nice.
    We could definitely implement it more I think but that's a future me problem

  • 500 files of immersive vsc-mass-editing action to implement update_appearance()(sorry in advance, but not as sorry as I was when manually copy-pasting the custom ones for like 3 straight days)

-"consig" and "comisg" have been taken out behind the codebase and shot. Not 'technically' a bug it just made my head hurt

-My first pr with 0 player facing changes (confetti)

Changelog

🆑 TemporalOroboros, Memed Hams
code: ports update_appearance, update_name, and update_desc from tg, as well as associated signals
code: a bit of base_icon_state implementation. Can you believe it's been sitting in our code almost unused for like 3 years
code: cleans up some code formatting, mainly around custom icons and overlays
code: fixes the typos in COMSIG_STORAGE_EXITED and COMSIG_STORAGE_ENTERED
/:cl:

-still some bugs but let's get to the vsc mass-replace before fully working it through
I'm a bit of a two commit lad
-update_appearance() vscedit
-huge port of original pr's content
-assorted bugfixes to random problems I introduced earlier

-Removes world-icon prep, i'll pr it after update_appearance
@Sun-Soaked Sun-Soaked changed the title Update_appearance port Update_Appearance Port Jul 15, 2023
@github-actions github-actions bot added DME Edit Admin They do it for free. Code change Watch something violently break. labels Jul 15, 2023
@Sun-Soaked
Copy link
Contributor Author

ignore the world_icon stuff in the first commit, I ended up deciding to pr it separately once this gets in

@thgvr
Copy link
Member

thgvr commented Jul 15, 2023

Jesus christ how horrifying

-IT"S GOOD FOR YOU DON'T FIGHT IT
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Jul 17, 2023
@github-actions github-actions bot added Merge Conflict Use Git Hooks, you're welcome. and removed Merge Conflict Use Git Hooks, you're welcome. labels Jul 18, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed Merge Conflict Use Git Hooks, you're welcome. DME Edit labels Jul 21, 2023
@thgvr
Copy link
Member

thgvr commented Jul 25, 2023

Test merged in round(s) 1772, 1773, 1774 no noticeable issues or any reported by players

Copy link
Member

@MarkSuckerberg MarkSuckerberg left a comment

Choose a reason for hiding this comment

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

im not reviewing this broski

@goober3
Copy link
Member

goober3 commented Jul 25, 2023

im not reviewing this broski

i do not have the means to ship something in the github channel. good thing github has a ship react as well

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Jul 28, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Jul 30, 2023
@MarkSuckerberg MarkSuckerberg added this pull request to the merge queue Jul 31, 2023
@MarkSuckerberg MarkSuckerberg removed this pull request from the merge queue due to a manual request Jul 31, 2023
tmt caught this one, good jomb, tmt!
@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Aug 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2023

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Aug 2, 2023
@Sun-Soaked
Copy link
Contributor Author

huh???

@github-actions github-actions bot added the Merge Conflict Use Git Hooks, you're welcome. label Aug 11, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the Merge Conflict Use Git Hooks, you're welcome. label Aug 11, 2023
@tmtmtl30
Copy link
Contributor

signing off on this. you have suffered enough

@tmtmtl30 tmtmtl30 added this pull request to the merge queue Aug 12, 2023
Merged via the queue into shiptest-ss13:master with commit b033e1e Aug 12, 2023
10 checks passed
MarkSuckerberg pushed a commit to MarkSuckerberg/Shiptest that referenced this pull request Sep 13, 2023
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

[(original pr)](tgstation/tgstation#55468)
After nine years in development we hope it was worth the wait

I ported this specifically for the signals I'll need for world icons.
However, it had a lot of other useful stuff, so I ended up just grabbing
(almost) the entire pr.
I tried to grab as few of the superfluous code rewrites as possible to
make reviewing a bit easier, but I couldn't help grab stuff like the APC
icon code rewrite(the original code was a war crime).

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

- ports the wrapper proc `update_appearance` for icons, descs, and
names, adds `update_desc` and `update_name` subprocs to handle those.
Things. without just stuffing them into update_icons like some kind of
psychopath

- ports a bunch of signal hooks useful for changing names, descriptions,
and icons. I needed these for world_icons which is where this wild ride
all started

- ports some `base_icon_state` implementation. Stuff like spear code
makes slightly less duplicates(and more sense) now which is nice.
We could definitely implement it more I think but that's a future me
problem

- 500 files of immersive vsc-mass-editing action to implement
`update_appearance()`(sorry in advance, but not as sorry as I was when
manually copy-pasting the custom ones for like 3 straight days)

-"consig" and "comisg" have been taken out behind the codebase and shot.
Not 'technically' a bug it just made my head hurt

-My first pr with 0 player facing changes (confetti)
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

:cl: TemporalOroboros, Memed Hams
code: ports update_appearance, update_name, and update_desc from tg, as
well as associated signals
code: a bit of base_icon_state implementation. Can you believe it's been
sitting in our code almost unused for like 3 years
code: cleans up some code formatting, mainly around custom icons and
overlays
code: fixes the typos in COMSIG_STORAGE_EXITED and
COMSIG_STORAGE_ENTERED
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
MarkSuckerberg pushed a commit to MarkSuckerberg/Shiptest that referenced this pull request Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin They do it for free. Code change Watch something violently break.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants