Redesigned LLM model selection in AI Assistant chat UI (now it's possible to search by filtering its name).

Redesigned UIDropDownList to inherit from UIDropDown which is a base class to handle different types of drop-downs. Added UIDropDownModelList which is the same as UIDropDownList but uses a UIListView by default so it's a model/view based DropDown.
Fix crash when changing states of the buttons in the build panel.
Increased the default animations speed.
This commit is contained in:
Martín Lucas Golini
2026-03-21 15:02:50 -03:00
parent 1aa015bfca
commit 05d6d3e2a3
24 changed files with 1274 additions and 473 deletions

View File

@@ -217,16 +217,20 @@ void StatusBuildOutputController::runBuild( const std::string& buildName,
}
if ( enableBuildButton && buildButton )
buildButton->setEnabled( true );
buildButton->ensureMainThread( [buildButton] { buildButton->setEnabled( true ); } );
if ( enableCleanButton && cleanButton )
cleanButton->runOnMainThread( [cleanButton] { cleanButton->setEnabled( true ); } );
cleanButton->ensureMainThread( [cleanButton] { cleanButton->setEnabled( true ); } );
if ( buildAndRunButton )
buildAndRunButton->setEnabled( true );
if ( buildAndRunButton ) {
buildAndRunButton->ensureMainThread(
[buildAndRunButton] { buildAndRunButton->setEnabled( true ); } );
}
mBuildButton->setEnabled( true );
mStopButton->setEnabled( false );
mBuildButton->ensureMainThread( [this] {
mBuildButton->setEnabled( true );
mStopButton->setEnabled( false );
} );
};
auto res = pbm->build(