Commit Graph
100 Commits
Author SHA1 Message Date
Alex Corey 169868b927 Adds edit functionality 2020-07-01 10:37:27 -04:00
Alex Corey 776ee43d90 Fixes missing name bug 2020-06-30 12:22:19 -04:00
Alex Corey 73bb539b16 Adds Tokens List 2020-06-29 16:17:10 -04:00
Alex Corey fad4b3ca5a Adds application details view 2020-06-24 10:00:12 -04:00
Alex Corey 88a38e30c3 Fixes some failing or skipped tests 2020-06-23 09:37:50 -04:00
Alex Corey ab1e991e01 adds application add functionality and applicatiion form 2020-06-19 09:38:56 -04:00
Alex Corey f211c70e69 fixes qs namespace, and location of proptypes 2020-06-11 15:16:14 -04:00
Alex Corey 08d9341704 Adds lists and list items and delete functionality 2020-06-11 15:16:14 -04:00
Alex Corey 82010e4ba2 removes extra spacing 2020-06-09 14:59:36 -04:00
Alex Corey 2784409c46 Fixes folder name 2020-06-08 15:34:25 -04:00
Alex Corey 0df4047d3d Adds routing stubs for Applications 2020-06-08 11:55:21 -04:00
Alex Corey 49053d3473 Adds Inventory Sources Schedules 2020-06-05 11:50:53 -04:00
Alex Corey edb0df788b Improves copy clipaboard message and some prop names 2020-06-05 10:47:01 -04:00
Alex Corey 40cd87f253 Adds message for unsynced projects for copy to clipboard button 2020-06-05 10:47:01 -04:00
Alex Corey 68a8dda869 Adds inventory sources notifications list 2020-06-03 10:22:03 -04:00
Alex Corey af70e3bb49 updates sys admin message 2020-06-02 14:36:17 -04:00
Alex Corey 15d6c5fb7a Adds disassociate functionality and an empty state for Sys Admin 2020-06-02 10:16:53 -04:00
Alex Corey ca6ae24032 makes whole card selectable 2020-05-29 09:19:28 -04:00
Alex Corey 585ca082e3 Improves naming and updates resource list and adds search functionality 2020-05-29 09:19:28 -04:00
Alex Corey 4f6d7e56eb Adds support to user and team access add 2020-05-29 09:19:28 -04:00
Alex Corey d0bbf8c711 Fixes testing issues and removes list item action buttons 2020-05-14 13:32:48 -04:00
Alex Corey 6c4bf5bf7d Adds Inventory Source Sync Button 2020-05-14 12:02:55 -04:00
Alex Corey d566b465aa Adds Copy Button to Inventory List and Project List 2020-05-12 15:48:21 -04:00
Alex Corey 09e72bc0ae Adds Teams Access List and tests 2020-05-12 11:38:11 -04:00
Alex Corey 10ccb57062 Fixes empty chip issue when user adds empty new line. 2020-05-11 15:10:31 -04:00
Alex Corey 9360d3fabc fixes erroneously invalidating responses 2020-05-11 12:17:22 -04:00
Alex Corey 2cbcbddc52 Adds more testing for Urls 2020-05-08 12:15:02 -04:00
Alex Corey 68d56d5616 Adds User Access List 2020-05-08 12:03:27 -04:00
Alex Corey 1ea924aa13 improves isLoading state and removes unnecessary RBAC 2020-05-01 08:05:49 -04:00
Alex Corey 77fd2d677a Adds Sync Functionality 2020-04-30 15:30:04 -04:00
Alex Corey 008cd9985a Adds Copy Button component 2020-04-30 12:25:48 -04:00
Alex Corey 8d31d09d4a Adds copy button to JTList 2020-04-29 15:46:52 -04:00
Alex Corey c39423d5ca Fixes failing test 2020-04-28 16:26:46 -04:00
Alex Corey df1489bcee Addresses some object mutation issues and improves testing 2020-04-27 15:49:22 -04:00
Alex Corey 4c72ab896a Adds Inventory Source List 2020-04-27 15:49:22 -04:00
Alex Corey 1bcd71ec9f Adds webhook fields to job template details 2020-04-23 15:19:03 -04:00
Alex Corey 222fecc5f6 adds test for new webhook component 2020-04-20 15:33:46 -04:00
Alex Corey 6e648cf72f Adds webhooks to jt form 2020-04-17 14:18:32 -04:00
Alex Corey ee6fda9f8a moves validator function 2020-04-15 13:06:30 -04:00
Alex Corey a95632c349 Adds error handling and validation.
Also adresses small PR issues
2020-04-15 13:06:30 -04:00
Alex Corey ed3b6385f1 Fixes several things about Survey List
Aligns Select All with other select buttons
Add required asterisk to those items that are required
Adds label for the Default and Question Type column
Adds chips for multiselect items.
Adds RBAC to add and edit survey.
Also fixes a bug where the survey was not reloading properly after edit
2020-04-15 13:06:30 -04:00
Alex Corey 440691387b Puts webhook key on the template object in WFJTEdit
Also adds aria-label to Label Select Options to improve test matchers
 Improves the name of the template payload in WFJTAdd and WFJTEdit
 Updates tests including a failing snapshot DeleteConfirmationModal
 test that was failing in devel
2020-04-14 11:11:50 -04:00
Alex Corey 27e6c2d47d Adds tests 2020-04-14 11:11:50 -04:00
Alex Corey 8b69b08991 Adds formik hook functionality to wfjt form 2020-04-14 11:11:50 -04:00
Alex Corey d6722c2106 Adds tests for Survey Preview functionality 2020-04-02 10:02:35 -04:00
Alex Corey 6eef0b82bd Adds Survey Preview Functionality 2020-04-02 10:02:35 -04:00
Alex Corey fb4343d75e Removes uncessary formikContext items in favor of useField.
Removed OrgId value from formik and get that value from project field
Updates tests and type.js to reflect those changes.
2020-04-02 09:31:35 -04:00
Alex Corey a867a32b4e Uses formik hooks for JT Form 2020-04-02 09:30:12 -04:00
Alex Corey 0b31cad2db Adds Survey Functionality to WFJT 2020-03-30 14:20:44 -04:00
Alex Corey 0eb526919f Fixes HostAdd Form layout issue 2020-03-26 15:23:31 -04:00
Alex Corey 910d926ac3 Fixes file structure, adds tests 2020-03-24 16:27:56 -04:00
Alex Corey c84ab9f1dc Adds User Organization List 2020-03-24 16:25:11 -04:00
Alex Corey ab755134b3 Adds new DataListCell components to all necessary lists 2020-03-24 10:30:41 -04:00
Alex Corey ebb0f31b0b Fixes word wrap issue 2020-03-24 10:30:41 -04:00
Alex Corey e92acce4eb Adds toolbar 2020-03-20 10:55:07 -07:00
Alex Corey a02b332b10 fixes linting and spelling errors 2020-03-20 09:16:10 -04:00
Alex Corey 56919c5d32 Moves template.jsx over to a functional component. 2020-03-20 09:16:10 -04:00
Alex Corey e87f804c92 Moves JT Form to using react hooks and custom hooks 2020-03-17 16:40:09 -04:00
Alex Corey 286cec8bc3 WIP 2020-03-11 09:33:04 -07:00
Alex Corey 64b1aa43b1 Adds SurveyList tool bar 2020-03-11 09:33:04 -07:00
Alex Corey 65e988b44c Impoves test and removes uncessary condition 2020-03-10 12:20:48 -04:00
Alex Corey 3a6528dc0d Adds toolbar 2020-03-10 10:08:40 -04:00
Alex Corey edb3f6df55 Adds the list of the survey questions.
TODO:  Add delete functionality.  Add sort functionality.
Add preview functionality.
Toolbar will be built out with the other functionalities.
2020-03-06 11:10:18 -05:00
Alex Corey 8227054d11 Adds WorkflowJobTemplate Add and Edit form and functionality.
Fields work and forms save

Adds Webhook form fields and tooltip to VariablesField component

Alpha order

Fixes contentLoading issue in PR and enables Launch on JT List

Adds page section to fix render issue

Adds subform restore functionality and addresses PR issues

Adds pageSection to jt add form and fixes other PR issues

-Fixes spelling error on WFJTDetail
-Adds page section to JT Add Form to fix styling issue
-Adds spacing between functions
-Fixes form submission error by allowing state to handle the lookups while formik
only handles their ids.

Fixes styling issues, navigation, props, and adds useRequest hook
-Add functionality to remove chips from look up fields
-Removes uncessary custome styling from
-Removes uncessary Form Group wrappers
-Adds internationalization to webhook key string.
-Adds field level error handling
-updates tests
-Adds initial null value to form submit error

Adds error handling to submit labels, prevents uncessary api call

The unecessary api call is for the webhook credential id.  If there is no
webhook service we do not want the api to make a call for get the webhook credential
type id.

Adds error handling test to add and edit form. Updates Form component

Updates tests to a real error.

Fixes extra vars bug
2020-03-04 10:36:30 -05:00
Alex Corey 4709f57f46 Updates tests to a real error. 2020-03-03 11:57:36 -05:00
Alex Corey b055aad641 Adds error handling test to add and edit form. Updates Form component 2020-03-03 11:57:36 -05:00
Alex Corey acfa6d056f Adds error handling to submit labels, prevents uncessary api call
The unecessary api call is for the webhook credential id.  If there is no
webhook service we do not want the api to make a call for get the webhook credential
type id.
2020-03-03 11:57:36 -05:00
Alex Corey 51a069fcc4 Fixes styling issues, navigation, props, and adds useRequest hook
-Add functionality to remove chips from look up fields
-Removes uncessary custome styling from
-Removes uncessary Form Group wrappers
-Adds internationalization to webhook key string.
-Adds field level error handling
-updates tests
-Adds initial null value to form submit error
2020-03-03 11:57:36 -05:00
Alex Corey fc89b627d7 Adds pageSection to jt add form and fixes other PR issues
-Fixes spelling error on WFJTDetail
-Adds page section to JT Add Form to fix styling issue
-Adds spacing between functions
-Fixes form submission error by allowing state to handle the lookups while formik
only handles their ids.
2020-03-03 11:57:36 -05:00
Alex Corey e90ee5113d Adds subform restore functionality and addresses PR issues 2020-03-03 11:57:36 -05:00
Alex Corey 4ccca08cda Adds page section to fix render issue 2020-03-03 11:57:36 -05:00
Alex Corey b757fdebf8 Fixes contentLoading issue in PR and enables Launch on JT List 2020-03-03 11:57:36 -05:00
Alex Corey 3ee6f1f3c7 Alpha order 2020-03-03 11:57:36 -05:00
Alex Corey d4ba32d0c5 Adds Webhook form fields and tooltip to VariablesField component 2020-03-03 11:57:36 -05:00
Alex Corey d97f516c3a Fields work and forms save 2020-03-03 11:57:36 -05:00
Alex Corey 52a8935b20 Adds WorkflowJobTemplate Add and Edit form and functionality. 2020-03-03 11:57:36 -05:00
Alex Corey f561bf5754 prettier 2020-02-24 09:19:02 -05:00
Alex Corey ce8897d3e8 Fixes naviation bug by create ProjectTemplateList and ProjectTemplateListItem
Adds tests for those new files and removes uncessary test from TemplateListItem
2020-02-23 11:16:44 -05:00
Alex Corey df77147d65 WIP 2020-02-23 10:23:43 -05:00
Alex Corey 9b11df04b3 Fixes navigation bug 2020-02-23 10:23:43 -05:00
Alex Corey 8f6b679c85 Fixes navigation issue and address ps issues. 2020-02-19 09:40:40 -05:00
Alex Corey 32e017bd03 Adds WFJT Details view
Adds Launch Functinality for WFJT.
2020-02-19 09:36:21 -05:00
Alex Corey 5f96aee871 Fixes spelling error 2020-02-03 20:09:49 -05:00
Alex Corey 5170948241 Fix error naming issue 2020-01-31 15:03:13 -05:00
Alex Corey 1368835a29 Fixes update failure on TeamEdit 2020-01-31 14:07:24 -05:00
Alex Corey 25105d813d Refactors TemplateLiost into a functional component 2020-01-31 12:09:38 -05:00
Alex Corey bbea43b1fe Addresses needed styling changes to Card and Page Section
These changes were necessary to remove an additional page section
to ProjectJobTemplateList.
2020-01-31 11:28:33 -05:00
Alex Corey 5790aa9780 Adds TemplateList of Project 2020-01-31 11:20:53 -05:00
Alex Corey d69174b1a6 Removes unnecessary and dead code.
Generate Label was not being called so I removed it in favor of associate
label.  Plus: less code in JT Add and JT Edit and can remove a promise.
Minus: Now when we generate/associate a label we always send a long the orgId.
OrgId is not necessary when associating a label.
2020-01-27 09:50:49 -05:00
Alex Corey 570f549cf4 Allows user to generate a label on the JTForm 2020-01-27 09:27:27 -05:00
Alex Corey 44db9ad033 Moves TemplateListItem to a functional component 2020-01-23 11:22:05 -05:00
Alex Corey 21890efca6 Ensures no missingResourceIcon for WFJT on JTList
Adds a test to ensure that missingResourceIcon is not shown for WFJTs.
2020-01-23 11:21:57 -05:00
Alex Corey 0a8fe4d812 Fixes InvGroupForm submission bug.
The inventory id now comes through useParams instead of through props.
Also updates tests to reflect those changes
2020-01-23 11:14:41 -05:00
Alex Corey c45b1ffca6 Ensures Variables Details renders even when no value.
When there is no value VariablesDetails will show ---.
2020-01-20 12:58:58 -05:00
Alex Corey 078dc666c1 Removes code from serializer in favor to api call of Project.readDetails
Adds necessary tests.
2020-01-17 15:57:14 -05:00
Alex Corey 790942c0f2 Fixes navigation bug in InventoryAdd Adds SCM Branch field on JTForm 2020-01-17 14:44:56 -05:00
Alex Corey fd1e574fcb Resets playbook and scm-branch fields when project is changed
The playbook field becomes undefined and the scm-branch
field becomes ''.  This ensures that the user has to assign
a playbook to the template that is associated with the project
and suggests to the user to review their scm-branch.
TODO: when the user updates project with scm-branch override
allow the user to type in playbook in dropdown. Then, check if
playbook is present in list of playbooks.  If no, add it to the
list of playbooks.
2020-01-17 14:44:56 -05:00
Alex Corey 2daefcd94e Removes code from serializer in favor to api call of Project.readDetails
Adds necessary tests.
2020-01-17 14:44:28 -05:00
Alex Corey 46a7ca4dc3 Fixes navigation bug in InventoryAdd Adds SCM Branch field on JTForm 2020-01-17 14:44:28 -05:00
Alex Corey 8bfcef01df Fixes Breaedcrumb 2020-01-13 12:24:15 -05:00