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

35 Commits

Author SHA1 Message Date
Keith Grant
29e17ac49e
Standardize chip height (#213)
* make all chips the same size

* create DetailList, Detail components; clean up Chips, ChipGroup

* delete BasicChip in favor of <Chip isReadOnly>

* create our own ChipGroup to handle overflow
2019-05-28 08:49:03 -04:00
Kia Lam
349a9c7cc2
Add styled-components library and its babel plugin. 💅 2019-05-10 11:03:16 -04:00
Alex Corey
b136ce1e1d updating PR issues updated snapshot test 2019-05-01 15:48:08 -04:00
Keith Grant
ffade973a9
upgrade to patternfly 2.x, pf/react-core 3.x (#184) 2019-04-30 08:19:19 -04:00
Jake McDermott
db4734be85
Merge pull request #169 from ansible/jakemcdermott-only-coverage
don't use --watch by default when running tests
2019-04-18 11:29:54 -04:00
Keith Grant
ae72d8dce5
Context test tools (#168)
* add enzyme test helper with lingui provider

* add router context to enzyme test helper

* get 18n, router, & config contexts rendering together in enzyme helper

* add config context to enzyme helpers

* add network and dialog contexts to enzymeHelpers

* convert OrganizationForm tests to use new mountWithContexts helper

* default all context value keys to default unless provided

* document use of mountWithContexts()

* fix typo in CONTRIBUTING.md

* update Organizations to use mountWithContext
2019-04-18 10:03:06 -04:00
Jake McDermott
a414c4e60e
don't use --watch by default when running tests 2019-04-17 11:54:22 -04:00
Jake McDermott
468a290ba6
update vulnerable dependencies 2019-04-16 09:14:14 -04:00
Keith Grant
70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Keith Grant
99b2350778
Merge pull request #144 from keithjgrant/120-add-org-form-cleanup
Refactor org add/edit forms with Formik
2019-04-03 09:15:03 -04:00
Keith Grant
40b2539626 rework org edit form to use Formik 2019-03-27 10:49:10 -04:00
mabashian
9b314a6f2f Upgrade pf react-core to 2.9.2 2019-03-26 11:49:41 -04:00
mabashian
d30aed9231 Upgrades pf deps to latest 2019-03-19 16:41:26 -04:00
Marliana Lara
f5f67627db
Update @patternfly/* dependencies
* Remove @patternfly/react-styles dependency
2019-02-19 16:00:11 -05:00
mabashian
2579e30ca1 Pulls in latest pf-react. Adds selected list component to org instance groups lookup 2019-01-30 12:46:00 -05:00
John Mitchell
2588832629
remove debug flag from eslint 2019-01-24 12:08:39 -05:00
John Mitchell
f37bdba645
update eslint config and add eslint ignore 2019-01-24 11:36:18 -05:00
Jake McDermott
e07db0c05e
update webpack-dev-server 2019-01-04 15:12:57 -05:00
Jake McDermott
1c483a42c6
update @patternfly/react-core to 1.43.5 2019-01-03 17:52:53 -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
mabashian
6adcac85a6 Moves locales out of src and into build dir. Changes npm commands from extract/compile to extract-strings/compile-strings 2018-12-12 11:28:29 -05:00
mabashian
356ad06d74 Add support for i18n using lingui 2018-12-10 10:17:00 -05:00
John Mitchell
aab6aa4ef9
working commit tests 2018-12-03 13:30:31 -05:00
mabashian
7d2bc1c766 Bumps all patternfly versions to latest 2018-11-28 11:29:07 -05:00
John Mitchell
fed7f51476
update build system
polyfill new js features before executing tests
move jest config to file, update transformation exclusion to be okay with axios module
rename enzyme.config.js to jest.setup.js
remove currently unused redux deps
update babel to 7, use env preset as opposed to deprecated stage preset
move .babelrc to newer, favored babel.config.js preset
update all babel preset and plugin packages to those name spaced under @babel
2018-10-30 17:25:29 -04:00
John Mitchell
74d3e55908
bump patternfly dep versions 2018-10-29 13:58:56 -04:00
John Mitchell
fd28cff412
add additional patternfly react packages 2018-10-26 17:23:27 -04:00
John Mitchell
05d72ae8cf
update webpack and package.json with index.jsx entrypoint 2018-10-24 21:55:59 -04:00
John Mitchell
51c58d5645
remove babel config.js to favor .babelrc file 2018-10-24 21:34:20 -04:00
John Mitchell
79e68b1dbe
add coverage report 2018-10-24 21:11:52 -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
Jake McDermott
f639f353ec
update pf react version 2018-10-15 12:43:52 -04:00
Jake McDermott
b31edef9b2
one way of approaching nav 2018-10-11 22:48:39 -04:00
Jake McDermott
f8a4b01da5
lint 2018-09-26 20:59:41 -04:00
Jake McDermott
43f3b484f9
initial commit 2018-09-25 10:53:35 -04:00