branchrust_reboot/main/new_console-uicancel
79 Commits over 0 Days - ∞cph!
(In dual ClientVar/ServerVar cases the ai generated help text would only be shown for one case.)
- Duplicate the help text to the remaining case
- Codegen
Use cached command for command list buttons. Fixes highlighted text not working
Flush buffer now uses realtime rather than invokes (allows it to push in demos)
stop console selecting all the text at the bottom when accepting a autocomplete or command from commandlist
reduce error fade duration to 1 second
- Remove hover to preview
- Make default values green again
Fix all the scrolling enlargement issues in console page
- Scale console autocomplete and input console fonts as you scroll zoom
-Allow setting font sizes on autocomplete and input console
- Fix autocomplete button putting the wrong things in the input field
- Cleanup
Reorganised command list page - cleaned it up slightly
- Restore client and server autocomplete tag colours
- Add them into command list as well
Make autocomplete buttons like the old ones - they are better
Ensure command list properly works when clicking on a convar
Remove the gap in the autocomplete button
- Setup script execution order for developer tools/console/error
- Setup after TMP has initialized (seems to cause less issues on initial check)
- Cleanup into a single file
Ensure error ui starts up early enough in script execution order
Stupid unity alpha calculations
Ensure legacy error ui does the same thing
Ensure new error ui doesnt render if erroroverlay is false.
Fix a bunch of edge cases with autocomplete, previews of autocomplete and when to accept/decline
Tab and left shift + tab will navigate everything up and down as well as the arrow keys
- Always show convar descriptions (dont need to highlight them)
- Hide description if we have none
- Remove rich text from a bunch of places in the console
- Hide RconOnly command unless RCON
- Hide developer only commands unless developer
Fix 'Show Server' and 'Show Client' text not scaling properly on animations
- Hovering over a autocomplete option will add it to the input field
- Arrow key navigating to an autocomplete option will also add it to the input field
Dont print every log twice
Make errors more see-through
Error UI:
- Dont force uppercase
- Allow turning off amount object again
Ensure new error panels alpha is auto set to 1
Attempt to scroll auto complete when navigating
Prevent new error ui from autowiping its errors depending on alpha state
Autocomplete now shows in a scroll
- Enter only intercepts if the user has navigated to a suggestion with the arrow keys. If they just typed a command and hit Enter directly, it submits as normal.
- Added a console command to test NRE's
Pressing enter on autocomplete entries submits them to the console input field
Add light/dark rows to the command list
- Mark convars that are methods with [METHOD] in autocomplete + Command List
- Add a scrollbar to console
- Clamp command list scroll instead of elastic
- Refactor autocomplete logic - put it all in a single script
- Reposition auto completes so they go top to bottom now
Reduce console input size, reduce size of auto complete entries
Applied old console prefab
- Applied flaviens virtual scroll changes (minor changes to add better overscan)
- Change font base size on autocomplete buttons
- Reduce autocomplete button size
- cap console ui refresh
- add fast paths to text buffer
- optimize autocomplete
Add a few more preloaded error objects
- New error system
- Can append errors together and update a total rather than spamming the same error repeatedly hiding everything else
- Current max of 10 unique errors shown (always shows latest at top
- Add convar to go back to the legacy error system (incase)