MacaylaMarvelous81 / box-busters-entity

MIT License
0 stars 0 forks source link

Use custom server list in place of ServerListPanel #1

Open github-actions[bot] opened 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/MacaylaMarvelous81/box-busters/blob/7ce742a1002a3097527b61e998caa3adfa37a15a/code/UI/GameMenu/Server/ServerListMenu.razor#L14-L17


This issue was generated by todo-issue based on a TODO comment in 7ce742a1002a3097527b61e998caa3adfa37a15a. It's been assigned to @MacaylaMarvelous81 because they committed the code.
github-actions[bot] commented 1 year ago

Use custom server list in place of ServerListPanel

ServerListPanel is intended to be used as a part of the default game menu, so it assumes its classes and structure, which are different in this game menu, causing it to look strange because its styles are broken. Using a custom server list would also enable more customization over the server list (for example, changing the text to use localized strings). It would also help keep the game menu consistent in case of a s&box update, since updates to the base library's server list would reflect to this server list, and would break if it was deleted.


https://github.com/MacaylaMarvelous81/box-busters/blob/57e1f9b8c9adaa5e8af011c05912adff6a8d0c81/code/UI/GameMenu/Server/ServerListMenu.razor#L14-L29


This comment was generated by todo-issue based on a TODO comment in 57e1f9b8c9adaa5e8af011c05912adff6a8d0c81. It's been assigned to @MacaylaMarvelous81 because they committed the code.