apache / camel-karavan

Apache Camel Karavan a Low-code Data Integration Platform
https://camel.apache.org
Apache License 2.0
450 stars 156 forks source link

Karavan Designer - Properties Panel should indicate which options has been explicit configured #921

Closed davsclaus closed 1 month ago

davsclaus commented 1 year ago

When working on components or EIPs that have many options, then it would be nice if the properties panel could highlight which options has been configured (eg has value in YAML).

This allows to quickly see these options, as those are often what you need to understand and maybe also update etc. Maybe the UI could have some kind of different color, or some kind of visual indentication.

An example below in the AMQP component.

Here are only 2 options set, but the UI panel has many more, and at first glance it can be hard to find out which has been set or not.

Screenshot 2023-10-02 at 12 52 52
davsclaus commented 1 year ago

And the YAML DSL

- route:
    id: amqp-producer
    from:
      uri: netty-http
      id: from-b4e7
      parameters:
        protocol: http
        host: localhost:{{netty.port}}
        path: message
      steps:
        - log:
            message: got Netty request, about to send AMQP message.
            id: log-69c1
        - to:
            uri: amqp
            id: to-5fea
            parameters:
              destinationType: queue
              destinationName: myqueue
- route:
    id: amqp-consumer
    from:
      uri: amqp
      id: from-d77e
      parameters:
        destinationType: queue
        destinationName: myqueue
      steps:
        - log:
            message: got AMQP request, about to respond.
            id: log-44b2
        - setBody:
            expression:
              simple:
                expression: Hello from Camel's AMQP example
                id: simple-05f4
            id: setBody-1796
- beans:
    - name: jmsConnectionFactory
      properties:
        remoteURI: amqp://localhost:5672
      type: org.apache.qpid.jms.JmsConnectionFactory
    - name: amqp
      properties:
        connectionFactory: '#bean:jmsConnectionFactory'
      type: org.apache.camel.component.amqp.AMQPComponent
mgubaidullin commented 1 month ago

done