Skip to content

Releases: BTK-Development/BTKUILib

BTKUILib Release v2.3.1

01 Oct 00:49
254703b
Compare
Choose a tag to compare

Small bug fix release for you nerds! Removed some logging and added a toggle to disable the QM player selector redirect.

Changes:

  • Added option to disable player selector QM redirect (MelonPref/BTKUILib Settings Page)
  • Removed unneeded debug logging

BTKUILib Release v2.3.0

24 Sep 05:32
13b7bee
Compare
Choose a tag to compare

Sup nerds! Here be the release of 2.3.0, with even more feature creep from the first preview!
This update brings a TON of quality of life features to UILib for both users and mod developers! Be sure to check out the new stuff, I'll be working on updating the wiki pages with the new stuff soon!

THIS UPDATE CONTAINS A POTENTIALLY BREAKING CHANGE!

Users can now select themselves in the playerlist, this means that any option in the player select page can now find itself getting the local user, this may cause unforeseen issues! Please check your mods out!

Changes:

  • Reworked PlayerList to use normal button creation instead of jank JS stuff
  • Added OpenPlayerListByUserID to QuickMenuAPI
  • Added OnPlayerEntitySelected action to QuickMenuAPI, this reutrns the CVRPlayerEntity object when selected
  • Fixed some playerlist icons not properly highlighting on hover
  • Added Expand button to PlayerList and Player Settings page, this opens the big menu equivalent
  • Added Quick User Settings to Player Settings page, this includes common self moderation functions
  • Added patch to hijack player selection while the QM is open, it'll now open the Player Select page
  • Adjusted Keyboard to use KeyboardClose function as well
  • Added NotAKid's MelonPref UILib extensions to the library natively
  • Hopefully fixed playerlist being empty after a quick disconnect/reconnect event
  • Fixed UIUtils.GetIconStream not fetching from the correct assembly
  • Wrapped CVRPlayerEntity with UIPlayerObject, this will be used for anything related to the PlayerList
  • Switched everything in PlayerList to use UIPlayerObject
  • Added Kick, Vote Kick, and Friending to player select quick settings panel
  • Added local user to PlayerList entries
  • Added Misc Tab First option to BTKUI Settings page
  • Added QuickMenuAPI.OpenPlayerList function
  • Added QuickMenuAPI.OpenPlayerSelector function, this reuses the PlayerList as a player selector and fires a callback when selected
  • Added QuickMenuAPI.OpenPlayerListByUserID function, this opens the player select to a given user

BTKUILib v2.3.0 Preview 1

08 Sep 06:19
fa7ef4e
Compare
Choose a tag to compare
Pre-release

Another minor version update already? Yep! Have some more feaaaatures!

This preview build brings a complete rework to how the PlayerList works, it hasn't been touched in a while and needed some help. It should have a bit more useful parts now!

Changes:

  • Reworked PlayerList to use normal button creation instead of jank JS stuff
  • Added OpenPlayerListByUserID to QuickMenuAPI
  • Added OnPlayerEntitySelected action to QuickMenuAPI, this reutrns the CVRPlayerEntity object when selected
  • Fixed some playerlist icons not properly highlighting on hover
  • Added Expand button to PlayerList and Player Settings page, this opens the big menu equivalent
  • Added Quick User Settings to Player Settings page, this includes common self moderation functions
  • Added patch to hijack player selection while the QM is open, it'll now open the Player Select page
  • Adjusted Keyboard to use KeyboardClose function as well
  • Added NotAKid's MelonPref UILib extensions to the library natively

BTKUILib Release v2.2.1

04 Sep 03:49
37d89a9
Compare
Choose a tag to compare

Small update to address a couple issues that have existed for a bit.

Changes:

  • Switched PlayerList Style melonpref to use an Enum (should stop it from becoming random text)
  • Added a fallback check to playerlist button generation to ensure it always generates
  • Fixed initial currentPageBTK being set to MainPage, this caused you to get stuck at a blank page in some rare situations
  • Fixed right bar (ReplaceTTS) style not hiding TTS button

BTKUILib Release v2.2.0

26 Aug 02:09
7ca0444
Compare
Choose a tag to compare

Sup nerds! Here be the full release of UILib v2.2.0 with a whole host of new features!
If you've been following the preview releases this is the same as preview 2, just pushed as a full release that'll be published on CVRMG.

As usual, mods should be compatible with this release, however you may run into some situations where things aren't working as intended. I generally try as much as possible to keep compatibility!

Major Additions:

  • Added TextBlock and TextInput elements
  • Added ColourPicker
  • Added NoTitle flag to SliderFloat
  • Added ColumnCount to QMUIElement
  • Added OnPageOpen and OnPageClosed actions to Page
  • Added OnHeld action to button, you can configure the time before this is fired on Category.AddButton

Other Changes:

  • Fixed width issues on all button styles
  • Switched to using coui:// for grabbing images
  • Added ForceBreadcrumbAdd to Page.Openpage, this is intended for pretty specific use cases, more documentation will follow
  • Fixed delete element not properly handling root elements
  • Fixed full size image button icons not updating properly
  • Fixed collapse not persisting across tab changes and not listening to initial collapse state

BTKUILib v2.2.0 Preview 2

24 Aug 08:56
d216958
Compare
Choose a tag to compare
Pre-release

Got a shiny new release for you nerds! This release can probably be considered a release candidate, just needs some testing but it should have all the stuff I'm adding for 2.2.0!

This release brings a bunch of fixes for various issues as well as a bunch of new events to various classes!

Changes:

  • Fixed width issues on all button styles
  • Switched to using coui:// for grabbing images
  • Added ForceBreadcrumbAdd to Page.Openpage, this is intended for pretty specific use cases, more documentation will follow
  • Added OnPageOpen and OnPageClosed actions to Page
  • Fixed delete element not properly handling root elements
  • Fixed full size image button icons not updating properly
  • Fixed colour picker green and blue label being flipped
  • Fixed initialization error on no title sliders
  • Fixed collapse not persisting across tab changes and not listening to initial collapse state
  • Added OnHeld action to button, you can configure the time before this is fired on Category.AddButton

BTKUILib v2.2.0 Preview 1

16 Aug 05:43
9b2bea1
Compare
Choose a tag to compare
Pre-release

Sup nerds! Got a new feature preview for everyone to try out. This version adds the new TextBlock and TextInput elements as well as the ColourPicker utility, it also brings in some tweaks to other parts of UILib.
You can now change the column count on some objects, not everything will respect it yet but I will be adding more as things pop up.

Changes:

  • Added TextBlock and TextInput elements
  • Added ColourPicker
  • Added NoTitle flag to SliderFloat
  • Added ColumnCount to QMUIElement
  • Fixed CSS issues with column count adjustment for buttons and other elements

BTKUILib Release v2.1.5

02 Aug 04:42
89e045d
Compare
Choose a tag to compare

This release addresses an issue that seems to be very rare, but also adds a nice little fix for those mucking around with cohtml!

Changes:

  • Fixed issue that causes a game crash when the user joins instances faster than expected
  • Fixed issue where reloading the UI would leave the playerlist empty
  • Switched deprecated join and leave events out to proper CVRGameEventSystem ones

BTKUILib Release v2.1.4

18 Jun 02:07
3808724
Compare
Choose a tag to compare

Where did 2.1.3 go? Not a clue, we'll just pretend that it existed I guess.

This update fixes some issues with tooltips that came up recently, mainly address tooltip behaviour on disabled elements as well as a fix to allow the displayed tooltip to be updated properly when the elements tooltip text is changed!

Changes:

  • Fixed tooltips not displaying on disabled objects
  • Added nullcheck to UIUtils.GetCleanString, it was complaining for some reason now
  • Fixed displayed tooltip not updating when elements tooltip text is updated

BTKUILib Release v2.1.2

12 Apr 06:26
fea0c11
Compare
Choose a tag to compare

Little hotfix release to fix an issue with the Replace TTS playerlist button position setting, along with a small addition of a null check on PrepareIcon.

Changes:

  • Fixed Replace TTS playerlist button position not existing
  • Added null check to resource stream in QuickMenuAPI.PrepareIcon