1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

131 Commits

Author SHA1 Message Date
Marliana Lara
b820e411d3
Refactor breadcrumbs, tabs, routing.
* Cleanup previous params logic from Notificaitons list
* Add shared breadcrumbs and tabs components
* Structure Organization screens to render only cardBody content
* Add styles
* Fetch organization when location changes
2019-01-25 16:42:04 -05:00
John Mitchell
dd522c240e
remove test debuggers 2019-01-25 16:17:58 -05:00
John Mitchell
02d7006ea4
fix tests 2019-01-25 15:22:32 -05:00
John Mitchell
7de89f6486
fix linting issues 2019-01-24 13:05:36 -05:00
mabashian
47719776f2 More cleanup based on pr feedback. Adds org notif list page and tests 2019-01-23 16:53:02 -05:00
mabashian
2c19a5a1d7 Changed post to create in api.js. Removed capitalize text component in favor of css solution. Updates to empty list contents. Fixes padding on notifications list 2019-01-21 15:44:34 -05:00
mabashian
58f99c8918 Adds notification list to orgs 2019-01-21 13:18:37 -05:00
kialam
a70a0fa622
Bump Lookup component test coverage up. 2019-01-16 13:15:51 -05:00
kialam
7230b4bf8d
Bump up unit test coverage for OrganizationAdd component. 2019-01-15 15:51:37 -05:00
kialam
e8fe6fe33c
Fix & Add unit tests. 2019-01-15 14:58:23 -05:00
Marliana Lara
d040f063e9
Move Organization screens and tests into new folder structure 2019-01-07 15:33:27 -05:00
Marliana Lara
f76e9bddf9
Update org utils test 2019-01-07 10:52:50 -05:00
Jake McDermott
a83e5e5675
add unit test coverage for DataListToolbar.jsx 2019-01-07 07:40:31 -05:00
Jake McDermott
8756da59fa
add unit test coverage for TowerLogo.jsx 2019-01-07 07:40:25 -05:00
Jake McDermott
4936238344
add more unit test coverage for index.jsx 2019-01-07 07:40:19 -05:00
Jake McDermott
48e1fbfb38
add unit test coverage for AnsibleSelect.jsx 2019-01-07 07:40:06 -05:00
Jake McDermott
bbd94fa4f7
add functional test coverage for App.jsx 2019-01-07 07:39:59 -05:00
Jake McDermott
164464c595
add more test coverage for api client 2019-01-07 07:39:51 -05:00
Jake McDermott
5bff942110
pagination test fixup 2019-01-07 07:39:42 -05:00
Jake McDermott
b69522b5aa
add basic test for background wrapper component 2019-01-04 15:20:32 -05:00
Jake McDermott
95861491cb
add more tests for header toolbar 2019-01-04 15:20:22 -05:00
Jake McDermott
0d565eb3e3
add header toolbar test 2019-01-03 18:11:26 -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
4ccce4cc9e
add header toolbar component and move About modal control to App 2019-01-03 17:53:40 -05:00
Jake McDermott
31d0347553
test fixup 2019-01-03 17:53:37 -05:00
Jake McDermott
9c6df68557
decouple App and Login components 2019-01-03 17:53:25 -05:00
Jake McDermott
a2601d5f67
remove conditional redirect component 2019-01-03 17:53:08 -05:00
Jake McDermott
18505b35b8
add params for component routing 2019-01-03 17:53:05 -05:00
Jake McDermott
8bd85193ab
fix login page test for @patternfly/react-core 1.43.5 2019-01-03 17:53:01 -05:00
kialam
e77d81dd5b
Lift config context one level higher.
- Refactor About component to use config context.
- Update About component unit tests.
2019-01-03 15:20:41 -05:00
kialam
13680a436c
Add unit tests for recent changes to App.jsx. 2019-01-03 15:20:30 -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
John Mitchell
11583dbff0
update pagination tests 2019-01-03 13:37:56 -05:00
John Mitchell
e48c734925
update datelisttoolbar test 2019-01-03 13:37:46 -05:00
John Mitchell
e25dcb2448
update app and towerlogo tests and remove stale code 2019-01-03 13:37:41 -05:00
John Mitchell
ebd09883fe
update DataListToolbar component and tests 2019-01-03 13:37:31 -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
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
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
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
Marliana Lara
9341c4660c
Update active nav item based on url 2018-12-05 07:58:59 -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
John Mitchell
aab6aa4ef9
working commit tests 2018-12-03 13:30:31 -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
Marliana Lara
6d315568d2
Add help dropdown and about modal 2018-11-19 22:53:05 -05:00
Jake McDermott
4e6e715f1f
add parametrized unit tests for querystring module 2018-11-18 22:50:21 -05:00
Jake McDermott
9979eddbcd
add basic component test for pagination 2018-11-18 22:50:15 -05:00
Jake McDermott
de96f6cf8a
check tooltip in organization functional test 2018-11-18 22:50:09 -05:00
Jake McDermott
9111948959
add basic component test for data list toolbar 2018-11-18 22:49:59 -05:00
Jake McDermott
e3a5f32b57
wip - pf4 data list and pagination 2018-11-18 22:49:50 -05:00
kialam
03f6e52cf1
Address PR review comments. 2018-11-13 10:55:18 -05:00
kialam
44e9d3919d
Update unit tests. 2018-11-13 09:46:43 -05:00
John Mitchell
df57b144c4
fix logout in App.jsx and update test 2018-11-06 12:25:36 -05:00
John Mitchell
7b099578c8
update App.jsx and improve coverage
abstract LogoutButton to component
2018-11-02 17:47:59 -04:00
John Mitchell
08d2718f5e
add about page tests 2018-11-02 17:46:43 -04:00
John Mitchell
96b8ab47c4
add TowerLogo tests 2018-11-02 16:34:02 -04:00
John Mitchell
07f6508402
move ConditionalRedirect test to components subfolder 2018-11-02 16:33:40 -04:00
John Mitchell
90d1ab88b1
and index.jsx tests 2018-11-02 13:45:11 -04:00
John Mitchell
19dcf5ed59
update unit test mocks and restructure test dir structure 2018-11-02 13:44:13 -04:00
John Mitchell
8a3b8823ee
move login page test under pages and add tests for all pages stubs 2018-10-31 14:44:18 -04:00
John Mitchell
e53a6a91d6
remove setTimeout hack for testing api.login Login.jsx handlers 2018-10-31 12:04:59 -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
ecd8427a51
fix eslint issues with app and conditional redirect tests 2018-10-31 09:56:28 -04:00
John Mitchell
2245d6a22e
update LoginPage component and test pseudocode 2018-10-24 21:35:43 -04:00
John Mitchell
cfb89f1e31
working commit LoginPage.jsx tests 2018-10-24 21:16:24 -04:00
John Mitchell
fba1a5b71a
fix App.jsx test misnamed variables 2018-10-24 21:15:08 -04:00
John Mitchell
3938d49a1f
refactor auth redirect and add ConditionalRedirect unit tests and App unit and functional tests 2018-10-24 16:53:16 -04:00
John Mitchell
0373058540
update api.js api client, and axios mock, and add api.js unit tests 2018-10-24 16:52:11 -04:00
John Mitchell
a76ac805f2
add jest and enzyme testing dependencies and update infrastructure configuration to make testing work 2018-10-24 16:50:08 -04:00