Show "experimental" badges around ML functionality (#6648)

* Make "experimental" a valid status for toolbar and commands

* Wire up status through createMachineCommand

* Add beaker icon

* Show UI elements if status is experimental

* Make ML operations experimental, powered by a flag

* Update command descriptions

* Add tooltip to home page Text-to-CAD button

* Splelnig erorrs

* 🧹lints

* Oopsie daisy Add KCL file isn't experimental

* Add warning message element to text area arg input

* Update message to common named constant
This commit is contained in:
Frank Noirot
2025-05-05 11:36:22 -04:00
committed by GitHub
parent 21da3c6482
commit 7ab879a94f
13 changed files with 119 additions and 37 deletions

View File

@ -102,6 +102,12 @@ function CommandComboBox({
</p>
)}
</div>
{option.status === 'experimental' && (
<div className="text-xs flex items-center justify-center gap-1 text-primary">
<CustomIcon name="beaker" className="w-4 h-4" />
<span>Experimental</span>
</div>
)}
</Combobox.Option>
))}
</Combobox.Options>