Commit Graph

474 Commits

Author SHA1 Message Date
John Mitchell ce49cb9ba4 fix config context if value passed by props not getting overwritten 2019-04-18 13:53:05 -04:00
John Mitchell 5030eb35b6 migrate App.jsx to mountwithContext 2019-04-18 13:10:17 -04:00
Alex Corey 8fa9535b98 styling changes 2019-04-18 13:07:10 -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
John Mitchell e1333f5e00 move value by prop in providers to consistent interface 2019-04-18 10:52:35 -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
Alex Corey 2067718c0e fixed tests 2019-04-17 16:42:39 -04:00
Keith Grant 25db22e072 fix RoutedTabs tests
Signed-off-by: Alex Corey <alex.swansboro@gmail.com>
2019-04-17 16:20:24 -04:00
Alex Corey ca6153c955 RoutedTabs is now a functional component 2019-04-17 13:51:09 -04:00
Alex Corey 76a7a76e81 refactoring and updating tests 2019-04-17 13:50:38 -04:00
Alex Corey 2daf202e52 addresses PR issues 2019-04-17 13:50:38 -04:00
Alex Corey 178d519f6e Remove unwanted committed file 2019-04-17 13:50:38 -04:00
Jake McDermott a414c4e60e don't use --watch by default when running tests 2019-04-17 11:54:22 -04:00
Jake McDermott 7c2554be8c Merge pull request #165 from jakemcdermott/dependency-updates
update vulnerable dependencies
2019-04-16 09:40:28 -04:00
Jake McDermott 468a290ba6 update vulnerable dependencies 2019-04-16 09:14:14 -04:00
Michael Abashian d6f91f8b2d Merge pull request #163 from mabashian/146-access-expand-collapse
Remove expand/collapse from org access list
2019-04-15 10:48:47 -04:00
mabashian 53f564068f Remove leftover isCompact references 2019-04-12 16:10:30 -04:00
mabashian e11c2df6b6 Remove expand/collapse from org access list 2019-04-12 16:10:30 -04:00
John Mitchell 14c1b85127 Merge pull request #156 from jlmitch5/handleNetworkErrors
Handle network errors
2019-04-12 16:00:54 -04:00
John Mitchell 526b640329 fix translation marked org and org access list strings 2019-04-12 15:23:45 -04:00
John Mitchell 63894bf822 update Promise.all map functions to not be async 2019-04-12 14:35:35 -04:00
John Mitchell b9e0b2e0ad update to correct grab handleHttpError from props instead of state 2019-04-12 14:35:18 -04:00
John Mitchell 83e6255ba4 update NotifyAndRedirect to function component 2019-04-11 17:16:42 -04:00
John Mitchell 09a950570e Update provider export syntax 2019-04-11 17:10:32 -04:00
John Mitchell 64aecb85fa move router setup to RootProvider 2019-04-11 17:07:46 -04:00
John Mitchell 85b9b4f896 add missing link to react docs about context 2019-04-11 16:18:08 -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 bab7095d67 Update qs path imports to include util 2019-04-11 12:00:39 -04:00
John Mitchell e36320174c Add contrib docs based on context changes and move qs to util dir 2019-04-11 11:58:15 -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
John Mitchell ad0e409448 do 404 modal redirect on unknown routes 2019-04-11 10:42:00 -04:00
John Mitchell 81267c7212 update language and stylign for all warning/danger modals 2019-04-11 10:42:00 -04:00
John Mitchell fa232a94bd update api calls to utilized network context 2019-04-11 10:41:59 -04:00
John Mitchell 722ae932ab update login modal to grab error from RootDialog 2019-04-11 10:38:54 -04:00
John Mitchell aea4a04c66 add RootDialog and Network contexts, update app bootstrapping 2019-04-11 10:34:48 -04:00
John Mitchell e20cf72dd6 add AlertModal component and update styling of delete confirmations 2019-04-11 10:34:48 -04:00
John Mitchell af3419c2dd update eslint to allow short circuit ternary chains 2019-04-11 10:29:45 -04:00
Alex Corey 84f45d122d Merge pull request #160 from AlexSCorey/114-HeaderIcons
Adds tooltip to username and help icon
2019-04-10 16:39:20 -04:00
Alex Corey c4ffc58228 addresses PR issues 2019-04-10 14:16:22 -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
Marliana Lara 0f2355f416 Merge pull request #159 from marshmalien/ux-org-list-links
Remove org list links and update label
2019-04-10 13:19:44 -04:00
Alex Corey 731da8049b Adds tooltip to username and help icon. 2019-04-10 10:48:56 -04:00
Keith Grant 909c5e77c4 rename all test files to *.test.js 2019-04-10 09:55:57 -04:00
Marliana Lara 2ab688932d Remove org list links 2019-04-09 11:37:43 -04:00
Keith Grant 70137dea5a fix tests for OrganizationTeams, OrganizationTeamsList 2019-04-08 10:59:26 -04:00
Marliana Lara 3d6790a419 Merge pull request #155 from marshmalien/ux-instance-groups-lookup-height
UX - Lookup static height
2019-04-08 10:40:20 -04:00
Marliana Lara 212d3d517d Replace lookup with patternfly's input group component and 'fix' the height 2019-04-05 15:39:14 -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