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