Jake McDermott
3f2e47b1b1
Merge pull request #82 from jakemcdermott/page-toolbar-tests
...
add some tests for page toolbar and background wrapper
2019-01-04 15:28:06 -05:00
Jake McDermott
df6877bb99
Merge pull request #83 from jakemcdermott/update-webpack-dev-server
...
update webpack-dev-server
2019-01-04 15:20:54 -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
e07db0c05e
update webpack-dev-server
2019-01-04 15:12:57 -05:00
Jake McDermott
8d62b7a2e3
Merge pull request #75 from ansible/contributing-guide
...
Add a contributing doc to our repo.
2019-01-03 22:24:31 -05:00
Jake McDermott
f6f6643622
Merge pull request #81 from jakemcdermott/update-and-refactor
...
wip - update to pf-react 1.43 and refactor some things
2019-01-03 19:37:16 -05:00
Jake McDermott
0d565eb3e3
add header toolbar test
2019-01-03 18:11:26 -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
87101a487d
use constructor bound methods for pagination
2019-01-03 17:54:07 -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
e015558190
use constructor bound methods for data toolbar
2019-01-03 17:53:58 -05:00
Jake McDermott
e5cdea8daf
use constructor bound methods for logo
2019-01-03 17:53:55 -05:00
Jake McDermott
5948ecce16
use constructor bound methods for nav group
2019-01-03 17:53:52 -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
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
31d0347553
test fixup
2019-01-03 17:53:37 -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
Jake McDermott
8bd85193ab
fix login page test for @patternfly/react-core 1.43.5
2019-01-03 17:53:01 -05:00
Jake McDermott
70840841c1
update LoginPage param names for @patternfly/react-core 1.43.5
2019-01-03 17:52:58 -05:00
Jake McDermott
1c483a42c6
update @patternfly/react-core to 1.43.5
2019-01-03 17:52:53 -05:00
Jake McDermott
2254bdb0e1
make default dev server target overridable with env vars
2019-01-03 17:52:46 -05:00
Jake McDermott
23bb32b7ad
Merge pull request #72 from ansible/react-context-api
...
Implement React Context API
2019-01-03 15:28:54 -05:00
kialam
e8924e8f6f
Fix linter errors.
2019-01-03 15:20:46 -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
13680a436c
Add unit tests for recent changes to App.jsx.
2019-01-03 15:20:30 -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
Jake McDermott
f678e158f8
Merge pull request #57 from jlmitch5/updateComponentTests
...
Update component tests and bump back up coverage
2019-01-03 13:52:28 -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
fefbb8fff8
Fix linter errors.
2019-01-02 09:19:11 -07:00
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