Commit Graph
100 Commits
Author SHA1 Message Date
Keith Grant 5304792949 update useWsJobs tests 2020-06-29 13:49:58 -07:00
Keith Grant a3e0ae66ba clean up sorting order discrepancies 2020-06-29 13:49:58 -07:00
Keith Grant 9705f7bec6 sort jobs list by selection sort option 2020-06-29 13:49:58 -07:00
Keith Grant 5610309a88 fix sorting jobs by finished date 2020-06-29 13:49:58 -07:00
Keith Grant 25fe090e67 delete un-workable test for useThrottle 2020-06-29 13:49:58 -07:00
Keith Grant a1f257bd4a fix joblist updating completed jobs lists 2020-06-29 13:49:58 -07:00
Keith Grant 638a6fdaa1 remove extra logging from JobList tests 2020-06-29 13:49:58 -07:00
Keith Grant b4a6749699 refactor getJobsById into useWsJobs hook 2020-06-29 13:49:58 -07:00
Keith Grant e50576c820 failed attempt at useThrottle tests 2020-06-29 13:49:58 -07:00
Keith Grant 0bedd6fbd8 mock websockets; test useWsJobs 2020-06-29 13:49:58 -07:00
Keith Grant 48977e50df change jobs debounce to throttle; prevent duplicate rows 2020-06-29 13:49:58 -07:00
Keith Grant 7aa8495d1a debounce fetching of individual jobs 2020-06-29 13:49:58 -07:00
Keith Grant 58b954df3e fetch individual jobs based on websocket messages 2020-06-29 13:49:58 -07:00
Keith Grant 38079b2ad5 don’t add still running jobs to some jobs lists 2020-06-29 13:49:58 -07:00
Keith Grant b055d34139 update jobs in list based on websockets 2020-06-29 13:49:58 -07:00
Keith Grant f2641de260 rough out jobs list websockets 2020-06-29 13:49:58 -07:00
Keith Grant aa12e323b4 ignore .env.local file 2020-06-29 13:49:58 -07:00
Keith Grant 8cdb05e4a2 add org name to user team search columns 2020-06-02 09:13:42 -07:00
Keith Grant 455cd74492 fix tests 2020-06-02 08:46:37 -07:00
Keith Grant e57bd88bd2 add Lookup test for disabled isLoading state 2020-06-02 08:46:37 -07:00
Keith Grant af118fec99 Disable field inputs while fetching data
In the JT form, disable the Lookup and Select box fields for any
fields that need to fetch data, until data fetching is complete
2020-06-02 08:46:37 -07:00
Keith Grant fe7df910e2 add tests for preview step extra vars 2020-05-27 11:29:44 -07:00
Keith Grant 5eeb8b0337 fix extra_vars when not prompted during launch 2020-05-27 11:15:41 -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 455dfa6caa make Inventory optional if prompt-on-launch is true 2020-05-20 09:19:37 -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