Commit Graph
100 Commits
Author SHA1 Message Date
Keith Grant 8cdb05e4a2 add org name to user team search columns 2020-06-02 09:13:42 -07:00
Keith Grant 75fd703530 add UserTeamList tests 2020-05-22 11:05:32 -07:00
Keith Grant 1bb29ec5f7 add user teams list 2020-05-21 16:24:11 -07:00
Keith Grant 3c77e5b005 fix import 2020-05-13 14:13:55 -07:00
Keith Grant aa28909313 add PreviewStep tests 2020-05-13 13:08:10 -07:00
Keith Grant e532f4c0c5 fix launch prompt errors when no survey present 2020-05-13 13:08:10 -07:00
Keith Grant 90f6d4ed05 fix merging of survey values into extra_vars 2020-05-12 10:23:25 -07:00
Keith Grant 70a9a72c25 fix promptdetail test 2020-05-12 10:14:46 -07:00
Keith Grant e3a3a47229 delete unused file 2020-05-11 15:51:35 -07:00
Keith Grant dfecd4ad9d fix tests 2020-05-11 11:17:09 -07:00
Keith Grant 0b207e02ab set fields touched when steps marked as visited 2020-05-11 11:17:09 -07:00
Keith Grant 59e3306a3c merge survey fields into rest of jt promt form 2020-05-11 11:17:09 -07:00
Keith Grant da8f486c5d flush out prompt validation errors 2020-05-11 11:17:09 -07:00
Keith Grant 1ac92b0493 add rough jt launch prompt validation 2020-05-11 11:17:09 -07:00
Keith Grant 11752e123d converting prompt steps to hook-based approach 2020-05-11 11:17:09 -07:00
Keith Grant 5c2eebf692 working on prompts validation 2020-05-11 11:17:09 -07:00
Keith Grant 9b3b20c96b mask passwords in launch preview step 2020-05-11 11:17:09 -07:00
Keith Grant 91d4948564 use PromptDetail in launch prompt preview 2020-05-11 11:17:09 -07:00
Keith Grant 1940c834cb fix empty CodeMirror bug in modals 2020-04-20 16:21:59 -07:00
Keith Grant 08381577f5 Merge prompt extra_vars before POSTing
* Merge the extra_vars field with survey question responses before sending
to API
* Clean up select and multi-select survey fields
2020-04-20 16:21:48 -07:00
Keith Grant 669d67b8fb flush out validators, survey questions 2020-04-20 16:21:39 -07:00
Keith Grant 8a0be5b111 add survey questions 2020-04-20 16:21:31 -07:00
Keith Grant 7827a2aedd fix double-fetch of cred types in launch prompts 2020-04-09 16:07:06 -07:00
Keith Grant af18aa8456 restructure 'if's in LaunchPrompt 2020-04-09 08:58:12 -07:00
Keith Grant 6f76b15d92 fix LaunchButton tests 2020-04-08 15:36:45 -07:00
Keith Grant 42898b94e2 add more prompt tests 2020-04-08 11:48:11 -07:00
Keith Grant 9cab5a5046 add 'other prompt' fields to launch API call 2020-04-08 08:58:14 -07:00
Keith Grant 9c218fa5f5 flush out prompt misc fields 2020-04-07 09:41:45 -07:00
Keith Grant 8baa9d8458 clean up launch prompt credentials, display errors 2020-04-03 11:47:06 -07:00
Keith Grant 0b9c5c410a add credential select list to launch CredentialsStep 2020-04-02 16:29:40 -07:00
Keith Grant 0a00a3104a add CredentialTypesAPI.loadAllTypes helper function 2020-04-02 13:55:30 -07:00
Keith Grant 7710ad2e57 move OptionsList to components; add launch prompt tests 2020-03-31 13:59:14 -07:00
Keith Grant 4f51c1d2c9 fix LaunchButton tests 2020-03-31 10:09:33 -07:00
Keith Grant e60e6c7d08 pass prompted params through to launch API request 2020-03-30 14:39:16 -07:00
Keith Grant 55356ebb51 set default values on prompts 2020-03-30 14:37:07 -07:00
Keith Grant 7f4bbbe5c5 add launch prompt inventory step 2020-03-30 14:37:07 -07:00
Keith Grant 49b1ce6e8c add skeleton of launch prompt wizard 2020-03-30 14:37:07 -07:00
Keith Grant 56d31fec77 handle any errors thrown in survey handleSubmit 2020-03-20 10:55:07 -07:00
Keith Grant 564012b2c8 fix errors when adding first question to new survey 2020-03-20 10:55:07 -07:00
Keith Grant cfe0607b6a add survey form tests 2020-03-20 10:55:07 -07:00
Keith Grant 7f24d0c0c2 add SurveyQuestionForm tests 2020-03-20 10:55:07 -07:00
Keith Grant 3f4e7465a7 move template survey files to Survey subdirectory 2020-03-20 10:55:07 -07:00
Keith Grant 9c32cb30d4 add survey question editing, breadcrumbs 2020-03-20 10:55:07 -07:00
Keith Grant 782d465c78 wire in SurveyQuestionAdd form to post to API 2020-03-20 10:55:07 -07:00
Keith Grant 1412bf6232 add survey form 2020-03-20 10:55:07 -07:00
Keith Grant 86aabb297e add documentation for useDismissableError, useDeleteItems 2020-03-13 13:21:59 -07:00
Keith Grant a2eeb6e7b5 delete unused file 2020-03-13 11:40:24 -07:00
Keith Grant 3e616f2770 update SurveyList tests, add TemplateSurvey tests 2020-03-13 10:17:39 -07:00
Keith Grant ac9f526cf0 fix useRequest error bug 2020-03-12 17:08:21 -07:00
Keith Grant eea80c45d1 fix keys, clean up surveylist 2020-03-12 08:42:59 -07:00
Keith Grant 07565b5efc add error handling to TemplateSurvey 2020-03-11 15:06:13 -07:00
Keith Grant 2584f7359e restructure TemplateSurvey & list components 2020-03-11 09:33:04 -07:00
Keith Grant f1120d39db fix column widths when action buttons hidden due to permissions 2020-03-03 14:19:49 -08:00
Keith Grant a60e7a7855 fix redirect url after host delete 2020-02-27 13:39:56 -08:00
Keith Grant 5574cf0595 remove Manual option from project, inventory filters 2020-02-27 11:01:36 -08:00
Keith Grant 7e8fb29658 update qs utils to allow empty string params 2020-02-26 16:38:52 -08:00
Keith Grant 6ffc78bcb0 add missing i18n; fix test names 2020-02-24 14:09:56 -08:00
Keith Grant 8e9fc550f6 convert InventoryList to hooks 2020-02-24 14:09:55 -08:00
Keith Grant 779d190855 convert ProjectList to hooks 2020-02-24 14:09:28 -08:00
Keith Grant 89a4b03d45 convert TeamList to hooks 2020-02-24 14:08:51 -08:00
Keith Grant eba893c99b syntax fix after merge 2020-02-21 11:05:59 -08:00
Keith Grant 03aaf93cef update HostList tests for hooks 2020-02-21 10:36:17 -08:00
Keith Grant 9aef57003a use HostToggle in HostDetail; update tests 2020-02-21 10:36:17 -08:00
Keith Grant 6065eb0e65 Convert HostList to hooks
use useRequest and useDeleteItems
add HostToggle component
2020-02-21 10:31:49 -08:00
Keith Grant 30d97e2fa8 delete commented code 2020-02-18 10:10:18 -08:00
Keith Grant 1f3ad85403 de-lint 2020-02-18 09:25:15 -08:00
Keith Grant 3b71d2a37b convert JobList to function comp w/ hooks 2020-02-17 16:11:48 -08:00
Keith Grant 54ddeaf046 Flush out useDeleteItems hook
refactor TemplateList to use useRequest, useDeleteItems hooks
refactor CredentialList and OrganizationList to use useDeleteItems hook
2020-02-17 10:56:50 -08:00
Keith Grant 69a1a02c70 build useDeleteItems hook 2020-02-17 10:56:50 -08:00
Keith Grant c824f0d590 create updateUrlAfterDelete util 2020-02-17 10:56:50 -08:00
Keith Grant c336c989e7 convert CredentialList to useRequest 2020-02-17 10:56:50 -08:00
Keith Grant 490b76b141 fix TemplateList name in tests 2020-02-12 13:10:14 -08:00
Keith Grant c33cc82d53 go back one page when deleting all items off last page (orgs/creds) 2020-02-12 08:53:34 -08:00
Keith Grant 5c3fe51982 fix credential list page number after deleting 2020-02-11 12:09:13 -08:00
Keith Grant f61af39f08 fix Template(s)List naming discrepancies 2020-02-11 10:24:08 -08:00
Keith Grant 1ad7e663a1 fix org list page on delete 2020-02-11 10:11:27 -08:00
Keith Grant 8f77d15a31 fix errors being logged during tests; de-lint 2020-02-10 16:16:38 -08:00
Keith Grant d06d4d5a8c update tests for form submit errors 2020-02-10 16:16:38 -08:00
Keith Grant 352c8c3cb1 add FormSubmitError to existing forms 2020-02-10 16:16:38 -08:00
Keith Grant 94f21a3464 add submit error support to Project form 2020-02-10 16:16:38 -08:00
Keith Grant ac376f9c87 handle __all__ error message from server in FormSubmitError 2020-02-10 16:16:38 -08:00
Keith Grant 44e4263bee add FormActionGroup error message test 2020-02-10 16:16:38 -08:00
Keith Grant b7f3852ef9 move FormSubmitError to inline beside form buttons; add tests 2020-02-10 16:16:38 -08:00
Keith Grant a934e146ee add FormSubmitError component 2020-02-10 16:16:38 -08:00
Keith Grant cab25656eb add JT form error feedback from API errors 2020-02-10 16:16:38 -08:00
Keith Grant 0f9c906a22 add more robust handling of errors thrown by api 2020-02-10 16:16:38 -08:00
Keith Grant b8226109a7 use optional chaining 2020-02-10 16:16:38 -08:00
Keith Grant b26de8b922 pass Host form API errors back into Formik for display 2020-02-10 16:16:38 -08:00
Keith Grant 67d8c1a4b5 delete unused/redundant component 2020-02-10 16:16:38 -08:00
Keith Grant eceeeea22d remove unneeded default value 2020-02-03 12:55:53 -08:00
Keith Grant 638e8c7add delete dead code/comments & add useRequest docstring 2020-02-03 09:43:06 -08:00
Keith Grant 370a7f9b25 move useRequest to util folder, add tests 2020-01-31 11:39:23 -08:00
Keith Grant ef2fa26126 rename useFetch to useRequest 2020-01-30 16:13:19 -08:00
Keith Grant aaf371ee23 add useFetch demo 2020-01-29 12:04:52 -08:00
Keith Grant d15f7b76fa add useEndpoint hook 2020-01-27 10:20:47 -08:00
Keith Grant c6159a7c3e add more VariablesDetail tests 2020-01-23 11:15:33 -08:00
Keith Grant 49907e337a prevent inventory updates after unmount 2020-01-23 11:02:29 -08:00
Keith Grant a1d7beca83 update VariablesDetail properly if value prop changes (preserving current mode) 2020-01-22 15:42:28 -08:00
Keith Grant cb3ab67361 make VariablesField detect correct mode on mount 2020-01-17 13:39:18 -08:00
Keith Grant 8850687d1b rename usePFSelect to useSyncedSelectValue 2020-01-17 08:47:31 -08:00