kialam
b340d49cb7
Integrate proptypes for our shared components.
...
- Fix unit tests.
- Fix linter errors.
2019-02-15 15:08:52 -05:00
kialam
f09eb182c2
Merge remote-tracking branch 'origin/master' into add-select-default-option
2019-02-14 10:38:28 -05:00
John Mitchell
b4007c7e04
put FormGroup component in form instead of in AnsibleSelect component
2019-02-13 15:40:46 -05:00
kialam
1f07fc8494
Make default option selectable but return null value.
2019-02-13 15:39:29 -05:00
kialam
2b18cee9c0
Fix linter errors and add test to AnsibleSelect component.
2019-02-13 15:39:29 -05:00
kialam
97477b789a
Add default option for AnsibleSelect dropdown.
2019-02-13 15:39:26 -05:00
John Mitchell
35c94e9cd8
update selected to value in AnsibleSelect
2019-02-13 14:52:11 -05:00
John Mitchell
6431ec603f
fix AnsibleSelect passing onChange callback
2019-02-12 11:53:22 -05:00
John Mitchell
680d153a14
add pagination to instance groups lookup modal
2019-02-11 18:10:27 -05:00
John Mitchell
7de89f6486
fix linting issues
2019-01-24 13:05:36 -05:00
kialam
a217a387c6
Use new lifecycle method to update component state.
...
- Use component state to handle rendering of Ansible Select dropdown based on the number of custom virtualenvs the API returns.
2019-01-03 15:20:35 -05:00
kialam
9bc87b3e80
Implement React Context API
...
- Move API GET request to /v2/config out to the top level of our App.
- Store /v2/config response data in sessionStorage.
- Use Context API to pass down relevant data to Organizations component.
- Wrap our AnsibleSelect component as a context consumer and pass in the list of Ansible Environments of the logged in user.
- Clear sessionStorage object when user logs out.
- Update unit tests.
2019-01-03 15:20:08 -05:00
kialam
44029c2191
Use object desctructuring.
2018-12-11 16:57:38 -05:00
kialam
9627a73978
Rename AnsibleEnvironmentSelect to AnsibleSelect
...
- Update references to the component.
2018-12-11 16:42:24 -05:00