Delta-v/Content.Client/Atmos/UI
ArtisticRoomba f874459092
Pressure Relief Valve (#36708)
* initial system (this math is probably WRONG)

* General code cleanup and OnExamined support
(holy moly this code sucks)

* UICode and related events foundation
TODO:
- Actually write the XAML UI and the underlying system
- Un-shitcode the entire thing
- Actually test everything...

* Working UI code
TODO: Make predicted, as this certainly isn't predicted. Even though I said it was. It isn't.

* Remove one TODO for unshitcoding the examine code

* Add reminder
yea

* Make predicted (defenitely isn't)
(also defenitely isn't a copypaste from pressure pump code)

* It's predicted!
TODO:
- Give it snazzy predicted visuals!
- Have a different field for pressure entry, lest it gets bulldozed every UI update.

* Improve gas pressure relief valve UI
TODO: Reminder to reduce amount of dirties using deltafields

* Implement DirtyField prediction

* Entity<T> cleanup
A lot of Entity<T> conversions and lukewarm cleanup.

Also got caught copy pasting code in 4K UHD but it's not like you couldn't tell.

* More cleanup and comments

* Remove TODO comment on bulldozing window title

* """refactoring"""
- Move appearance out of shared and finally fix it. Pointless to predict appearance in this instance.
- More Entity<T> conversions because I like them.
- Move UI creation handling over entirely to the ActivatableUI system.
- Fix a hardcoded locale string (why????).

* Add visuals

* Revert debugging variable replacememt
yea

* Revert skissue

* Remove unused using directives and remove TODO

* Localize, cleanup, document

* Fix adminlogging discrepancy

* Add ability to construct, add guidebook entry

* Clear up comment

* Add guidebook tooltip to valve

* Convert GasPressureReliefValveBoundUserInterface declaration into primary constructor

* Adds more input handling and adds autofill on open

* Un-deepfry input validator shitcode
Genuinely what was I smoking

* improve visuals logic

* Refactor again
- Update math to the correct implementation
- Moved code that could be re-used in the future into a helper method under AtmosphereSystem.Gases.cs

* I'm sorry but I hate warnings

* Remove unused using directive in AtmosphereSystem.Gases.cs

* Review and cleanup

* Lukewarm UI glossup

* Maintainer for the upstream project btw

* Remove redundant state sets and messy logic

* Unduplicate valve updater code

* Redo UI (im sorry Slarti)

* run tests

* Test refactored UI messaging

* Second round of UI improvements
- God please find a way to improve this system. Feels bad.

* Update loop implementation

* Further predict UI

* Clear up SetToCurrentThreshold

* cleanup

* Update to master + pipe layers and bug fixes
want to run tests

* fixes

* Deploy rename pipebomb

* Documentation and requested changes

* Rename the method that wiggled away

* Undo rounding changes

* Fix comment

* Rename and cleanup

* Apply suggestions from code review

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-07-03 18:00:34 +02:00
..
GasAnalyzerBoundUserInterface.cs Fix gas analyzer and anom scanner wrong state (#38285) 2025-06-12 14:16:07 -07:00
GasAnalyzerWindow.xaml Puddles & spreader refactor (#15191) 2023-04-10 15:37:03 +10:00
GasAnalyzerWindow.xaml.cs Layering for atmospheric pipes (#36124) 2025-06-01 22:01:43 -07:00
GasCanisterBoundUserInterface.cs Predicted internals (#33800) 2025-05-02 18:22:29 +10:00
GasCanisterWindow.xaml Fix gas cannister slider log spam. (#6628) 2022-02-19 12:15:47 -07:00
GasCanisterWindow.xaml.cs Fix gas cannister slider log spam. (#6628) 2022-02-19 12:15:47 -07:00
GasFilterBoundUserInterface.cs Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-07-21 14:48:13 +10:00
GasFilterWindow.xaml Fix atmos UI decimal separator bug (#23009) 2024-01-04 21:18:09 -08:00
GasFilterWindow.xaml.cs Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-07-21 14:48:13 +10:00
GasMixerBoundUserInteface.cs Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-07-21 14:48:13 +10:00
GasMixerWindow.xaml Fix atmos UI decimal separator bug (#23009) 2024-01-04 21:18:09 -08:00
GasMixerWindow.xaml.cs Fix atmos UI decimal separator bug (#23009) 2024-01-04 21:18:09 -08:00
GasPressurePumpBoundUserInterface.cs Predicted internals (#33800) 2025-05-02 18:22:29 +10:00
GasPressurePumpWindow.xaml Predicted gas pumps (#33717) 2024-12-07 14:39:52 +11:00
GasPressurePumpWindow.xaml.cs Fix gas pressure pump prediction (#35865) 2025-03-28 10:42:16 +11:00
GasPressureRegulatorBoundUserInterface.cs Pressure Relief Valve (#36708) 2025-07-03 18:00:34 +02:00
GasPressureRegulatorWindow.xaml Pressure Relief Valve (#36708) 2025-07-03 18:00:34 +02:00
GasPressureRegulatorWindow.xaml.cs Pressure Relief Valve (#36708) 2025-07-03 18:00:34 +02:00
GasThermomachineBoundUserInterface.cs Predict gasthermomachines (#33837) 2025-05-13 21:49:43 +10:00
GasThermomachineWindow.xaml Predict gasthermomachines (#33837) 2025-05-13 21:49:43 +10:00
GasThermomachineWindow.xaml.cs Predict gasthermomachines (#33837) 2025-05-13 21:49:43 +10:00
GasVolumePumpBoundUserInterface.cs Predict gas volume pumps (#33835) 2025-04-19 11:48:41 +10:00
GasVolumePumpWindow.xaml Predict gas volume pumps (#33835) 2025-04-19 11:48:41 +10:00
GasVolumePumpWindow.xaml.cs Predict gas volume pumps (#33835) 2025-04-19 11:48:41 +10:00
SpaceHeaterBoundUserInterface.cs Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-07-21 14:48:13 +10:00
SpaceHeaterWindow.xaml Dehardcoded Space Heaters UI window title (#34884) 2025-02-04 23:56:42 +01:00
SpaceHeaterWindow.xaml.cs Add space heaters (#25250) 2024-02-28 10:27:29 -08:00