]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Uplink store interface searchable with a searchbar. (#24287)
authorJ. Brown <DrMelon@users.noreply.github.com>
Sun, 31 Mar 2024 04:09:15 +0000 (05:09 +0100)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2024 04:09:15 +0000 (15:09 +1100)
commitde62ec204b04809175945a2ccfd4dbce6dafd8eb
treee6efbdfee8c91e4243c747c623b654a30b763539
parentce71cde429c7fad648d3b8c164f12b1e9649153c
Uplink store interface searchable with a searchbar. (#24287)

* Can now search the uplink store interface with a searchbar.

* Search text updates no longer send server messages. Persists listings locally.

* Formatting fixes and tidying.

* Added helper method to get localised name and description (or otherwise, entity name and description) of store listing items.

* Update Content.Client/Store/Ui/StoreMenu.xaml

* Review change; moved localisation helper functions to their own class.

* Prevent thread-unsafe behaviour as-per review.

* Remove dummy boxcontainer

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Content.Client/Store/Ui/StoreBoundUserInterface.cs
Content.Client/Store/Ui/StoreMenu.xaml
Content.Client/Store/Ui/StoreMenu.xaml.cs
Content.Server/Store/Systems/StoreSystem.Ui.cs
Content.Shared/Store/ListingLocalisationHelpers.cs [new file with mode: 0644]