question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for new controlHint and labelHint properties in back-end

See original GitHub issue

This is a…


[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Documentation issue or request

The problem

We have support for these new properties in our form factory provider service, but until they are “a thing” in the back-end we can’t use them in our model driven forms.

Until this happens, and after https://github.com/syndesisio/syndesis/pull/1664/ has been merged, we’ll notice a “regression” in our model driven forms where what used to be tooltip text attached and duplicated across a label and its form control counterpart will become description text that renders below a given form control.

Merging https://github.com/syndesisio/syndesis/pull/1664/ before this is in place will cause our model driven forms to come out of sync with our UX designs until these properties are updated to use the new *correct property names in the various *.json files.

It’s the last puzzle piece for resolving https://github.com/syndesisio/syndesis/issues/992

Expected behavior

The properties labelHint and controlHint in app/connector/activemq/src/main/resources/META-INF/syndesis/connector/activemq.json and similar type files, should be provided as part of the payload with the rest of the form properties.

Screenshot

screen shot 2018-03-07 at 10 38 15 am

API Endpoints and Schemas

/api/v1/connectors

Tasks involved / Steps to Reproduce

  1. Specify a labelHint property in app/connector/activemq/src/main/resources/META-INF/syndesis/connector/activemq.json for any form property, for example brokerUrl
  2. Begin watching network traffic in your browser dev tools
  3. Begin adding an AMQ connection, and when you get to the configuration screen, notice the tooltip doesn’t show up
  4. Also notice the call to https://syndesis.x.x.x.x.nip.io/api/v1/connectors didn’t return the new property.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
dhirajsbcommented, Mar 7, 2018

@seanforyou23 the backend needs to add those fields to ComponentDefinition.Property interface. Working on it now.

0reactions
seanforyou23commented, Mar 8, 2018

I just referenced #992 when I posted the PR since it was pretty much leftovers from that work anyway. Hope that’s ok.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a Basic Databound Page - 11g Release 1 (11.1.1.6.3)
This chapter describes how to use the Data Controls panel to create databound forms using ADF Faces components and ADF data binding.
Read more >
Oracle JHeadstart 11g - End-to-end Tutorial - Downloads
the steps below. Run the "Check for Updates" wizard. With JDeveloper 11.1.1.2 running, choose Help | Check for Updates... from the main menu....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found