Commit Graph
104 Commits
Author SHA1 Message Date
Marliana Lara 096f5fb324 Fix lint errors and pull in new content error and loading handler 2019-06-14 15:34:55 -04:00
Marliana Lara 416d30a189 Add close button to job detail and test 2019-06-14 14:46:48 -04:00
Marliana Lara cda5cc25b8 Add Job results skeleton tests 2019-06-14 14:46:48 -04:00
Jake McDermott e72f0bcfd4 update content loading and error handling
unwind error handling

use auth cookie as source of truth, fetch config only when authenticated
2019-06-14 13:00:37 -04:00
catjones9 91b8aa90ff Added 'Max Hosts' field in the Add/Edit Organization view
* max hosts field is enabled is user is superuser, otherwise it is disabled and default is 0
 * OrganizationForm tests added for max hosts input
 * minMaxValue added in validators to validate user input for max hosts

Signed-off-by: catjones9 <catjones@redhat.com>
2019-06-13 18:43:34 -04:00
Alex Corey 19b41743de 215 templates list skeleton (#251)
* adding package-lock.json

* deleted unsured file

* Removes and unused file

* Fixes errant styling change

* Fixes an error and uses a prop that PF recognizes

* Updates PR to use API Modules

*  Fixes PR Issues

* Addes tests to Templates

* Addresses PR Issues

* Revert package-lock.json
2019-06-13 11:08:05 -04:00
Michael Abashian ffcb655038 Convert Tower logo/strings to AWX (#253)
Sets up awx logo and strings
2019-06-10 14:31:12 -04:00
Michael Abashian 2ae93261d1 api.js refactor using classes (#250)
Refactor api.js into an api module where endpoint specific models can be imported and used in components.
2019-06-07 15:48:09 -04:00
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
Keith Grant 510d56b245 refactor PaginatedDataList to renderToolbar prop 2019-05-20 09:13:23 -04:00
Alex Corey 92d8948a83 updates tests 2019-05-17 15:32:04 -04:00
Alex Corey d3cc1a8771 Adds AddOrgBtn to Orgs List empty state 2019-05-17 15:29:05 -04:00
Keith Grant 7ff7517bdf change pagination drop direction to up 2019-05-17 07:47:17 -07:00
Keith Grant 957984d9e9 convert to PF Pagination component 2019-05-16 16:09:58 -04:00
John Mitchell f4550900bb update tests based on i18n changes 2019-05-16 11:38:28 -04:00
Keith Grant 4407aeac20 Add namespacing for query params (#205)
* use qs utils to namespace query params

* refactor Lookup and SelectResource Steps to use PaginatedDataList

* preserve query params when adding new ones

* require namespace for QS Configs
2019-05-15 10:06:14 -04:00
Kia Lam 457c6287a2 General cleanup.
- Fix tests.
- Update snapshots.
- Remove old import statement.
- Add element ids for Sort and Search Components.
2019-05-13 18:42:26 -04:00
Keith Grant e7ec1c6ef8 convert OrganizationList to use PaginatedDataList (#192)
* convert Org list to use PaginatedDataList

* add ToolbarAddButton, ToolbarDeleteButton

* pass full org into OrganizationListItem
2019-05-07 09:51:50 -04:00
Alex Corey b8b2209335 add bottom border to org tabs 2019-05-03 10:27:48 -04:00
Alex Corey b136ce1e1d updating PR issues updated snapshot test 2019-05-01 15:48:08 -04:00
Alex Corey c4a4275a89 updated snapshot of failing test 2019-05-01 14:42:00 -04:00
Keith Grant 1be496cfc1 Patternfly upgrade (#188)
* correct spacing after PF update

* update wizard layout/borders for PF upgrade
2019-05-01 13:50:00 -04:00
Alex Corey 420b19cfb9 Merge pull request #185 from AlexSCorey/AlexSCorey-deleteOrgsTest
Alex s corey delete orgs test
2019-04-30 13:22:35 -04:00
Alex Corey f71421f60a removed orgsToDelete and fixed other tests 2019-04-30 10:22:25 -04:00
Alex Corey f4da620c4d updating PR 2019-04-30 09:48:42 -04:00
Keith Grant ffade973a9 upgrade to patternfly 2.x, pf/react-core 3.x (#184) 2019-04-30 08:19:19 -04:00
Alex Corey 1bae944b85 fix tests and function name changes 2019-04-29 17:29:40 -04:00
Jake McDermott ee5b4b072b fix unit and functional tests 2019-04-29 11:35:06 -04:00
Keith Grant 9d66b583b7 158 paginated data list (#180)
* working: rename OrganizationTeamsList to PaginatedDataList

* convert org notifications list fully to PaginatedDataList

* update NotificationList tests

* refactor org access to use PaginatedDataList

* update tests for org access refactor; fix pagination & sorting

* restore Add Role functionality to Org roles

* fix displayed text when list of items is empty

* preserve query params when navigating through pagination

* fix bugs after RBAC rebase

* fix lint errors, fix add org access button
2019-04-29 10:08:50 -04:00
mabashian 8cfe74a854 Code cleanup, renaming functions, use .all() on config promises 2019-04-26 11:02:16 -04:00
mabashian e5dda696d7 Add new tests for rbac on some of the org pages 2019-04-24 10:10:14 -04:00
mabashian 82db7df6b3 Remove errant comment 2019-04-23 15:19:46 -04:00
mabashian f57876b6d9 Fix existing test failures 2019-04-23 14:55:06 -04:00
John Mitchell 986641de9f Fix ORganizationTeams test 2019-04-22 16:33:12 -04:00
John Mitchell 667cbb0c20 update the rest of the organizations tests 2019-04-22 15:11:28 -04:00
John Mitchell 54499dbf69 update OrganizsationAccess and OrganizationAccessList w mountWithContexts 2019-04-18 17:18:19 -04:00
John Mitchell a6f79c646d update organization add test to use mountWithContexts 2019-04-18 13:54:41 -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
mabashian e11c2df6b6 Remove expand/collapse from org access list 2019-04-12 16:10:30 -04:00
John Mitchell a808462a3d remove test.only causing org access tests to skip 2019-04-11 12:40:27 -04:00
John Mitchell b17fb8a596 Add handleHttpError prop to stop error from org detail test 2019-04-11 12:36:19 -04:00
John Mitchell abc3733449 fix test after rebase of org teams update 2019-04-11 11:06:39 -04:00
John Mitchell 344713f938 fix unit tests for network handling 2019-04-11 10:42:33 -04:00
Keith Grant 96906c2ece Merge pull request #157 from keithjgrant/145-org-teams-empty-state
Org teams empty state
2019-04-10 14:01:55 -04:00
Keith Grant 909c5e77c4 rename all test files to *.test.js 2019-04-10 09:55:57 -04:00
Keith Grant 70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Alex Corey 09fd8e8106 Merge pull request #141 from AlexSCorey/48-deleteOrgs
Add alert for org. delete.
2019-04-05 12:39:38 -04:00
Alex Corey a42a1bfa17 Addresses PR feedback 2019-04-05 11:29:48 -04:00
Alex Corey de55ec1688 Add alert for org. delete. 2019-04-05 10:48:51 -04:00
Keith Grant 9781c22c3f update tests to match new ids 2019-04-03 13:16:29 -04:00