Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for table based controls #1818

Merged
merged 1 commit into from
Sep 2, 2016
Merged

Add support for table based controls #1818

merged 1 commit into from
Sep 2, 2016

Conversation

davkal
Copy link
Contributor

@davkal davkal commented Aug 18, 2016

This is the next version of the UI for #1769.

  • if a node table has controls they will be rendered in a row
  • controls need the to be of the same structure as node-level controls
  • control errors are not shown yet

Example:
screen shot 2016-08-18 at 22 26 12

The backend for this is to follow. This PR can be merged without the backend being ready.

* if a node table has `controls` they will be rendered in a row
* controls need the to be of the same structure as node-level controls
* control errors are not shown
renderControls(controls) {
return (
<div className="node-details-labels-controls">
{sortBy(controls, 'rank').map(control => <NodeDetailsControlButton

This comment was marked as abuse.

This comment was marked as abuse.

@foot
Copy link
Contributor

foot commented Sep 1, 2016

How to test this, checkout the ref'd version of scope, make, start plugin?

Will give that a goo.

@foot
Copy link
Contributor

foot commented Sep 1, 2016

Ah, the controls are still in the normal place in the branch.

@foot
Copy link
Contributor

foot commented Sep 1, 2016

Code LGTM, unsure how to test, maybe it will need a tweak at BE/FE integration anyway.

@foot foot assigned davkal and unassigned foot Sep 1, 2016
@davkal davkal merged commit 58d97bf into master Sep 2, 2016
@davkal davkal deleted the plugin-controls-ui branch September 2, 2016 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants