KaotoIO / kaoto

The UI of the Kaoto project
https://kaoto.io
Apache License 2.0
29 stars 23 forks source link

Sort language/dataformat properties with catalog index order #440

Open igarashitm opened 9 months ago

igarashitm commented 9 months ago

Please describe the task that needs to be done

Currently it is sorted alphabetically and keep required fields upper. Since Camel catalog has indexes explicitly, it would be better to use that order instead.

https://github.com/KaotoIO/kaoto-next/blob/90d64822abb0d6f055606d23258bef9ac23ee88a/packages/ui/src/components/MetadataEditor/MetadataEditor.tsx#L133-L140

lordrip commented 5 months ago

This could be done at the plugin side, like we're doing for entities and EIPs