DronaHQ launches UI Control Editor

Jinen Dedhia on April 01, 2022

We are super excited to launch UI control editor service to help our customers extend the UI capability of the tool. As a side note – this is available on cloud as well as our on-prem version both.

Preclude:

DronaHQ essentially lets engineers build frontend apps for web & mobile by giving them three things:

  1. Build UI with drag & drop
  2. Write event handlers (action flows) with drag & drop
  3. Connect to Datasources (Databases, REST, GraphQL, etc)

Just to expand on this – Ui builder comes with 100+ ready Ui components which can be dragged & dropped on the screen to build the Ui layer. A Ui component could range from a simple text box to complex Kanban control

Before we jump into why this is a such a powerful addition and how it makes the tool extensible – here is a quick background on why extensibility matters:

The Need:

Imagine you are building a tool that needs to capture OTP. Now you want to provide an experience of OTP in a consumer app.

OTP component

At a high level it looks like 4 simple input controls. However there is a bit of sophistication involved.

  1. Cursor automatically jumps to next box as and when you hit it up with a number
  2. resend OTP has a built in counter
  3. Once the 4th box is filled – that would be an event that should be handled.

This means that any out of the box UI component can not be just put together to achieve this. This is where control editor kicks in.

Introducing Control Editor:

Concept of control editor is simple – enable a frontend engineer to build a custom Ui component that the project needs. If you have played with DronaHQ you would notice that there is a structure to every Ui element.

  1. Properties – for instance a component can be hidden, read only, etc.
  2. Data – a component may need to be binded with data – for instance read value from an API or a Database and bind it to the Ui component
  3. Actions – A component can have actionable. For instance on click you may want to open a drop down. In the example above – if the 4th block is filled then do something.

DronaHQ UI component

Given DronaHQ aims for extensibility it means that
“Once a UI component is made in your account then it should be made available to the rest of the users to drag, drop, resize, reposition & configure it in a way it deems fit in their application.”

Simply put – it should start appearing in the controls section of the tool like 👇
Here is the example
DronaHQ UI Controls

DronaHQ control editor helps customers build their own Ui components and make it available to the broader community within their organisation to drag & drop. To go about this they got to use the newly (re)launched control editor and refer the documentation. However at a high level you need to be well versed with:

  1. Coffee scripts -> so you build a version of the control which can be used in the studio (dev tool)
  2. Write JS, handlebars & CSS
  3. Detailed how-to-use will follow soon in our documentation

DronaHQ Control editor

In the meantime – feel free to ask us any questions or leave comment on our discord community & would love to answer.

Check out Product Hunt launch