kialam
f5119e5d97
Lift config context one level higher.
...
- Refactor About component to use config context.
- Update About component unit tests.
2019-01-02 09:03:48 -07:00
kialam
5fcdd16f54
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.
2018-12-22 09:03:44 -05:00
kialam
e30b198418
Remove duplicate REST call in add org component.
2018-12-21 11:56:39 -05:00
kialam
aaa9096b4e
Add unit tests for recent changes to App.jsx.
2018-12-21 10:25:17 -05:00
kialam
4eb04b6f5c
Use setState instead of sessionStorage for config data.
2018-12-21 10:20:07 -05:00
kialam
6dc11a926e
Merge remote-tracking branch 'origin/master' into react-context-api
2018-12-21 10:16:50 -05:00
Michael Abashian
7f1c3c8c6a
Update readme to fix display of unit test commands
2018-12-20 09:52:03 -05:00
kialam
fe857ad68b
Merge remote-tracking branch 'origin/master' into react-context-api
2018-12-18 10:52:09 -05:00
kialam
46e9fcfda7
Merge pull request #53 from ansible/add-org-new
...
Basic Add Organization View
2018-12-17 17:14:05 -05:00
Michael Abashian
32378266bd
Merge pull request #59 from mabashian/45-list-ux
...
Small ux changes on the org list based on feedback
2018-12-17 14:55:19 -05:00
kialam
ff0015e21d
Hook up Cancel button
...
- Update unit tests.
- Add basic error handling for API requests in Add Orgs component.
2018-12-17 13:44:59 -05:00
mabashian
6ce88fdf4d
Separates search dropdown items from sort dropdown items
2018-12-17 13:16:08 -05:00
mabashian
21cf1d85e3
Remove border-radius on add button
2018-12-17 12:40:20 -05:00
mabashian
d43f0cb2fc
Removed extraneous style
2018-12-17 12:40:20 -05:00
mabashian
71ace1bc00
Small ux changes on the org list based on feedback
2018-12-17 12:40:20 -05:00
kialam
656e6d4f6a
Add back missing style.
2018-12-17 12:39:41 -05:00
Jake McDermott
b375963165
Merge pull request #68 from ansible/refactor-nav
...
replace navitem generator with expandable navgroup component
2018-12-17 12:15:39 -05:00
kialam
b3b6e0515e
Merge remote-tracking branch 'origin/add-org-new' into react-context-api
2018-12-17 11:59:46 -05:00
kialam
b8fc402d55
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.
2018-12-17 11:44:11 -05:00
Michael Abashian
e58613b441
Merge pull request #70 from mabashian/69-hide-expand-collapse
...
Adds option to hide expand/collapse in toolbar and hides it for the org list
2018-12-17 11:40:24 -05:00
mabashian
14f1c4b652
Conditionally render rather than show expand/collapse
2018-12-17 11:28:34 -05:00
Jake McDermott
1bb86dbdf0
use beginning of location path name when checking for active items
2018-12-17 00:16:49 -05:00
Jake McDermott
3d730ef8d2
add basic unit test for expandable navgroup component
2018-12-17 00:16:31 -05:00
Jake McDermott
5d4aa56f4a
refactor wrapped nav components to expandable nav group component
2018-12-16 23:40:54 -05:00
kialam
9292b21a41
Merge remote-tracking branch 'origin/master' into add-org-new
2018-12-14 10:14:36 -05:00
mabashian
4a8791693f
Adds option to hide expand/collapse in toolbar and hides it for the org list
2018-12-14 09:55:59 -05:00
Jake McDermott
9114c16a97
refactor navitem factory function to wrapped router-hoc nav components
2018-12-14 04:05:29 -05:00
Michael Abashian
b2ba863569
Merge pull request #51 from mabashian/43-lingui
...
Add support for i18n using lingui
2018-12-13 16:56:16 -05:00
mabashian
ef9f9e902e
Update readme with new npm command syntax
2018-12-12 13:17:07 -05:00
mabashian
ac8553df85
Pull messages from the correct location
2018-12-12 11:30:50 -05:00
mabashian
6adcac85a6
Moves locales out of src and into build dir. Changes npm commands from extract/compile to extract-strings/compile-strings
2018-12-12 11:28:29 -05:00
kialam
7ea5ea2ecd
Merge pull request #55 from ansible/ansible-environment-dropdown
...
Basic Ansible Environment Select Component
2018-12-12 11:03:00 -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
kialam
9c7d449a4d
Abstract out API get request to Add Org component.
...
- This makes it so we now have a generic select dropdown where we can pass data down as props.
2018-12-11 16:20:55 -05:00
kialam
d047bc876a
Basic Ansible Environment Select Component
...
- Component conditionally renders based on # of virtual environments.
- User can add an Organization and associate it with a virtual environment.
2018-12-10 20:41:47 -05:00
kialam
27e13ca082
Add tests for Organization add view plus code refactoring.
2018-12-10 15:03:33 -05:00
kialam
9400bad990
Linter fixes.
2018-12-10 15:00:49 -05:00
kialam
1dd8175e11
Basic add organization functionality.
...
- Placeholders for Lookup Modal and Ansible Environment dropdown.
2018-12-10 15:00:16 -05:00
mabashian
356ad06d74
Add support for i18n using lingui
2018-12-10 10:17:00 -05:00
Marliana Lara
e736cfab36
Merge pull request #40 from marshmalien/side-nav-bug
...
Update active nav item based on url
2018-12-05 10:32:47 -05:00
Marliana Lara
a31ef24be6
Remove calling setState from render
2018-12-05 10:19:14 -05:00
John Mitchell
8f54ec681d
Merge pull request #28 from jlmitch5/orgUrls
...
add routes and breadcrumbs for org detail/edit/related routes
2018-12-05 10:01:01 -05:00
John Mitchell
aaaf598ca1
remove commented out code in the data list toolbar
2018-12-05 09:57:11 -05:00
John Mitchell
00c9ae1376
update map function to be chained
2018-12-05 07:59:06 -05:00
John Mitchell
f83b59cb48
working commit of group and nav selection based on url
2018-12-05 07:59:06 -05:00
Marliana Lara
9341c4660c
Update active nav item based on url
2018-12-05 07:58:59 -05:00
John Mitchell
e5320b6fa6
make current tab link replace instead of add new history item
2018-12-04 16:04:44 -05:00
John Mitchell
27542ea322
add tooltip test coverage
2018-12-04 15:27:43 -05:00
John Mitchell
3a8d95b03b
working test commit
2018-12-04 14:46:18 -05:00