56 Commits

Author SHA1 Message Date
kialam
c5cd659c83
Redirect user to org detail page after successful POST. 2019-01-08 16:09:30 -05:00
kialam
c085fc6751
Merge remote-tracking branch 'origin/master' into lookup-form-component 2019-01-08 13:47:06 -05:00
kialam
395e30509b
Fix linter and existing unit tests. 2019-01-07 17:17:22 -05:00
kialam
517ef8a2c9
Hook up add instance group functionality. 2019-01-07 16:56:39 -05:00
Marliana Lara
d040f063e9
Move Organization screens and tests into new folder structure 2019-01-07 15:33:27 -05:00
kialam
f34ec4be10
Merge remote-tracking branch 'origin/master' into lookup-form-component 2019-01-07 14:40:35 -05:00
Marliana Lara
2d3152ef41
Add translation and small css tweaks 2019-01-07 11:15:11 -05:00
kialam
c63896fbb6
Implement basic lookup modal component. 2019-01-07 10:09:35 -06:00
Marliana Lara
f76e9bddf9
Update org utils test 2019-01-07 10:52:50 -05:00
Marliana Lara
83e300636d
Move Tab components out into component directory 2019-01-07 10:52:50 -05:00
Marliana Lara
913077c489
Update tab content and related badge links 2019-01-07 10:52:50 -05:00
Marliana Lara
e782be10b6
Add Tab styles 2019-01-07 10:52:50 -05:00
Marliana Lara
7406421d1b
Add PF Breadcrumb components 2019-01-07 10:52:47 -05:00
Jake McDermott
cb0367ac28
handle null error response 2019-01-07 07:40:12 -05:00
Jake McDermott
6a7ba87a02
org-add fixup
re-adding a changeset I missed when resolving a merge conflict earlier
2019-01-07 07:39:31 -05:00
Jake McDermott
6446e45165
use constructor bound methods for org view 2019-01-03 17:54:04 -05:00
Jake McDermott
afcfd1640e
use constructor bound methods for org list 2019-01-03 17:54:01 -05:00
Jake McDermott
24208197e8
use constructor bound methods for Login 2019-01-03 17:53:49 -05:00
Jake McDermott
dce50fe18b
update route group params 2019-01-03 17:53:46 -05:00
Jake McDermott
8f4437e17e
initialize and pass api client to subviews 2019-01-03 17:53:34 -05:00
Jake McDermott
6efd523db2
move wrapper / shared components out of App component 2019-01-03 17:53:21 -05:00
Jake McDermott
f975f9fa75
add background component 2019-01-03 17:53:18 -05:00
Jake McDermott
70840841c1
update LoginPage param names for @patternfly/react-core 1.43.5 2019-01-03 17:52:58 -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
e30b198418
Remove duplicate REST call in add org component. 2018-12-21 11:56:39 -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
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
71ace1bc00 Small ux changes on the org list based on feedback 2018-12-17 12:40:20 -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
kialam
9292b21a41
Merge remote-tracking branch 'origin/master' into add-org-new 2018-12-14 10:14:36 -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
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
John Mitchell
e5320b6fa6
make current tab link replace instead of add new history item 2018-12-04 16:04:44 -05:00
John Mitchell
12c8267b12
update organizations structure and add unstyled sub routes and breadcrumbs 2018-12-03 13:30:30 -05:00
mabashian
58d6e586cd Fixes login page after pf-react added LoginPage and LoginForm components 2018-11-29 16:50:56 -05:00
Jake McDermott
e3a5f32b57
wip - pf4 data list and pagination 2018-11-18 22:49:50 -05:00
kialam
b0855ee33d
Fix unhandled promise reject from jenkins. 2018-11-13 13:31:24 -05:00
kialam
03f6e52cf1
Address PR review comments. 2018-11-13 10:55:18 -05:00
kialam
f520be71d6
Begin using async/await. 2018-11-12 13:24:17 -05:00
John Mitchell
5ea40efd3a
update pages to utilize collapsed modifier for padding override 2018-11-09 17:31:40 -05:00
John Mitchell
55586b9b2a
convert post-api.login code to using async/await for Login.jsx 2018-10-31 12:04:33 -04:00
John Mitchell
986d299961
move login back to using finally handler and update tests 2018-10-31 10:28:51 -04:00
John Mitchell
7c97989e84
add more login page tests 2018-10-31 09:56:35 -04:00
John Mitchell
557e619db6
update page navigation
fix issue with jerky close and expand of nav
update nav to use expandle headers
separate settings pages out into separate stup page components
2018-10-26 17:24:34 -04:00