41 Commits

Author SHA1 Message Date
John Mitchell
7de89f6486
fix linting issues 2019-01-24 13:05:36 -05:00
Jake McDermott
8756da59fa
add unit test coverage for TowerLogo.jsx 2019-01-07 07:40:25 -05:00
Jake McDermott
bbd94fa4f7
add functional test coverage for App.jsx 2019-01-07 07:39:59 -05:00
Jake McDermott
23e34bcbbe
remove config pass-through
removing this for the time being to giving the config Context a try
2019-01-03 18:00:20 -05:00
Jake McDermott
dce50fe18b
update route group params 2019-01-03 17:53:46 -05:00
Jake McDermott
3e201d3ca0
add config pass-through to inline render 2019-01-03 17:53:43 -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
8f4437e17e
initialize and pass api client to subviews 2019-01-03 17:53:34 -05:00
Jake McDermott
a023df2c17
add inline rendering prop to app component 2019-01-03 17:53:31 -05:00
Jake McDermott
f2760ed91c
use default patternfly breakpoint token name 2019-01-03 17:53:28 -05:00
Jake McDermott
9c6df68557
decouple App and Login components 2019-01-03 17:53:25 -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
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
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
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
6c307726db
Use setState instead of sessionStorage for config data. 2019-01-03 15:20:23 -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
e25dcb2448
update app and towerlogo tests and remove stale code 2019-01-03 13:37:41 -05:00
Jake McDermott
5d4aa56f4a
refactor wrapped nav components to expandable nav group component 2018-12-16 23:40:54 -05:00
Jake McDermott
9114c16a97
refactor navitem factory function to wrapped router-hoc nav components 2018-12-14 04:05:29 -05:00
mabashian
ac8553df85 Pull messages from the correct location 2018-12-12 11:30:50 -05:00
mabashian
356ad06d74 Add support for i18n using lingui 2018-12-10 10:17:00 -05:00
Marliana Lara
a31ef24be6
Remove calling setState from render 2018-12-05 10:19:14 -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
Marliana Lara
6d315568d2
Add help dropdown and about modal 2018-11-19 22:53:05 -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
4632383a33
update app component to utilize collapsing header and update style overrides 2018-11-09 17:30:48 -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
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
John Mitchell
3e9a85a58b
remove stale route redirection components 2018-10-24 21:35:14 -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
Jake McDermott
05af4c7c53
nav login fixup 2018-10-16 00:30:14 -04:00
Jake McDermott
a54fb0e27d
Nav and login updates 2018-10-15 12:44:29 -04:00
Jake McDermott
b31edef9b2
one way of approaching nav 2018-10-11 22:48:39 -04:00
Jake McDermott
43f3b484f9
initial commit 2018-09-25 10:53:35 -04:00