Commit Graph
100 Commits
Author SHA1 Message Date
Alex Corey 83caf99c58 Improves Tests and addresses other PR Issues 2019-11-22 10:22:05 -05:00
Alex Corey 19180a1bc4 Adds Add/Edit Inventory and Inventory Form 2019-11-21 17:40:28 -05:00
Alex Corey e3ee3c5a00 Fixes failing tests 2019-11-12 11:11:17 -05:00
Alex Corey 95cdddd670 Adds Proptypes to AddDropDownButton Component
Also refactors to use the url that is passed in as the key for the link.
This means that we don't have to pass in a key value.
2019-11-12 10:21:10 -05:00
Alex Corey d91aa8c6cf Allows AddDropDownButton components to accept array of dropdownItems 2019-11-12 10:21:10 -05:00
Alex Corey 052f101a70 Adds AddDropDownButton removes TemplateDropDown Button
Both Inventory List and Template List use the same add button that has a drop down.
I decided to make a component that both can use.
This also addresses a typo in a InventoryList test.
2019-11-12 10:21:10 -05:00
Alex Corey b570c8ad2a Fixes linting issues 2019-11-04 16:26:01 -05:00
Alex Corey 9170aa184a Removes missingDetail prop and addresses a typo.
This removes `missingDetail` prop in favor of using styledComponent's className prop.
2019-11-04 14:42:00 -05:00
Alex Corey e5b76c6427 Adds Deleted text to missing resources in JT Detials View
The usecase of this change is if a user deletes an Inventory, or a Project
that is used by a JT they need to know that those resources are missing.

The only time that `Deleted` won't be shown for a missing resource is for
Inventory if it has been marked Prompt on Launch then nothing is shown. in that field.

Also adds icon to indicate that a JT is missing resources on the JT List.
2019-10-31 18:02:13 -04:00
Alex Corey dab80fb842 Adds Proptypes 2019-10-25 16:16:04 -04:00
Alex Corey 7f409c6487 Moves JT CredentialsList Manipulation Back to CredentialsLookup
Rename CredentialsLookup to MultiCredentialLookup
Removes unnecessary functions in Lookup.
Puts CredentialsList manipulation on CredsLookup and removes that work from JTForm.
Upates tests for CredentialsLookup and JTForm to reflect changes above.
2019-10-25 15:13:11 -04:00
Alex Corey 53b4dd5dbf Fixes linting errors 2019-10-24 12:35:30 -04:00
Alex Corey 491f4824b0 Addresses PR Issues
Improves credential ID variable in JT model.
Removes unused prop from Lookup ComponentDidMount.
Removed unused function call from Credentials ComponentDidMount.
Streamlines toggleCredential function and moves it to JobTemplateForm.  This was done because the
JobTemplateForm should handle the credential values passed to the CredentialsLookup.
Adds tests for JobTemplateForm to ensure toggleCredentialSelection function is putting proper values
in state.
Removed withRouter wrapper on CredentialsLookup export.
Improved CredentialsLookup test to ensure that onChange is called when user removes
a credential from the input.
2019-10-24 12:32:50 -04:00
Alex Corey 91721e09df Adds tests 2019-10-24 12:32:50 -04:00
Alex Corey 2828d31141 Adds CredentialLookUp to JT Form 2019-10-24 12:32:50 -04:00
Alex Corey d10e727b3c Adds CredentialLookUp to JT Form 2019-10-24 12:32:50 -04:00
Alex Corey 4134d0b516 Updates PR and Addresses Console Error
THis commit imroves conditional rendering of the container groups form for
System Auditors.  It also removes a ng-class condition in the IG list that was unused.
2019-10-16 09:15:44 -04:00
Alex Corey 5cf84ddb60 Sys Aud can see CG forms, Adds correct CG form link, Disables CodeMirror
This allows the System Auditor to see the container groups form in a disabled state.
If the pod_spec_override has been changed that field will be open when the page renders
but it will be disabled. It also greys out all code mirror text area fields for System Auditor.
It adds the correct url for the Container Groups message bar to inform users of possible
pitfalls associated with that feature.
2019-10-15 10:47:04 -04:00
Alex Corey 74b398f920 Add Tech Preview notice to Container Group UI
and some refactoring
2019-10-04 15:17:57 -04:00
Alex Corey 9289ade1ec IG List responsiveness 2019-10-04 13:21:28 -04:00
Alex Corey 958c8a4177 Fixes Credential Type Issue, ExtraVars Toggle Issue, Job Results Inert Link 2019-10-04 13:21:28 -04:00
Alex Corey 8fabb1f10d Show override toggle as off when pod_spec matches default 2019-10-04 13:21:28 -04:00
Alex Corey 895c71f62c removes instances tab from CGs 2019-10-04 13:21:27 -04:00
Alex Corey 32a57e9a97 add default pod spec to edit 2019-10-04 13:21:27 -04:00
Alex Corey 584777e21e Adds Tabs to CGs 2019-10-04 13:21:27 -04:00
Alex Corey 007f33c186 Add Container Group Form Render and cred type modal pops up
modal render proper cred

WIP

modal rendering properly

card for edit CG renders, no fields

add code mirror and some list styling

address PR issues
2019-10-04 13:21:27 -04:00
Alex Corey 6c443a0a6a fix lint error 2019-09-30 16:38:51 -04:00
Alex Corey 55378c635e Makes template list responive 2019-09-30 16:28:24 -04:00
Alex Corey 90cac2ec35 fix lint errors 2019-09-26 16:11:34 -04:00
Alex Corey d42ffd7353 Removes unused fnc and unnecessary props adds dom node to Empty State
This.node was use for the add button for both empty list and list with data.
This was done to reduce complexity in handleAddToggle() and I don't think it
will cause bugs because those two elements are not rendered at the same time.
2019-09-26 13:32:00 -04:00
Alex Corey 38b506bb94 Removes isPlain prop from DropdownItem 2019-09-25 10:28:57 -04:00
Alex Corey 1316ace475 Fixes translation omissions 2019-09-24 16:34:09 -04:00
Alex Corey b3b53a8ce4 Pluralized modal titles and empty state strings
All itemNames used in empty state messages, and delete modal titles
need to be plural and capitalized.  Because of this change we no
longer need the ucFirst() in utils/strings.js.
2019-09-24 11:21:54 -04:00
Alex Corey 8dd4379bf2 Adds proper translation. removes ucFirst()> 2019-09-24 11:21:54 -04:00
Alex Corey b79c686336 requires individual components to pluralize 2019-09-24 11:21:54 -04:00
Alex Corey ce1d9793ce ToolBar checkbox checks and JT Add Button closes and Test Clean up
The Select-All check box in the DataList Toolbar will be checked when the
user clicks on it. Also, the JT Add button closes when the user clicks
elsewhere on the page as well as when the user clicks on the button a second time.
I also cleaned up some tests in the DataListToolBar file.
2019-09-23 09:49:38 -04:00
Alex Corey 1ebe91cbf7 Adds delete button to job details and handle delete errors
After successful deletion of Job the user is nativated back to Jobs List.
If the job is not successfully deleted a alert modal pops up and on close
the user remains on Job Details page.
2019-09-19 17:34:18 -04:00
Alex Corey ef4f1df9bb fixes grid so action buttons stay in view 2019-09-16 16:27:10 -04:00
Alex Corey 9028afab07 allows user to save form after reverting 2019-09-16 12:55:31 -04:00
Alex Corey 9e8d0758c8 allows all WFJT tabs to properly route to workflow visualizer 2019-09-13 15:21:54 -04:00
Alex Corey e23c1477da Properly reloads after successful deletion 2019-09-10 12:13:41 -04:00
Alex Corey a95394b135 Adds proper pluralization to Look Up modal empty state 2019-09-09 14:55:39 -04:00
Alex Corey fbe6abfb53 Allows user to hit enter to create label, fixes console errors. 2019-08-27 17:37:23 -04:00
Alex Corey 8b35642b08 Fixes failing test and addresses PR issues 2019-08-02 17:37:58 -04:00
Alex Corey 74a1ebff32 Adds tests and refines chip interaction in MultiSelect component 2019-08-02 16:42:22 -04:00
Alex Corey a577be906e Adds Multiselect functionality to labels on JTs 2019-08-02 16:42:22 -04:00
Alex Corey 7039f82d15 Only reload details whe navigating to details from another tab 2019-07-09 13:43:09 -04:00
Alex Corey 3b17170533 more concise conditions for api calls 2019-07-03 16:19:43 -04:00
Alex Corey 320581a6c0 Addresses PR issues 2019-07-03 12:43:40 -04:00
Alex Corey b5b38c1b79 addresses PR Issues 2019-07-02 12:36:13 -04:00
Alex Corey b0249a9a8b Addressed PR Issues 2019-06-21 08:58:51 -04:00
Alex Corey a7c787af02 Adds notify on start toggle 2019-06-20 13:07:09 -04:00
Alex Corey a5a6fdf1d6 Updates text of tooltip for Forks in JT. 2019-05-29 14:27:16 -04:00
Alex Corey 7452b82856 addresses PR issues 2019-05-28 13:13:42 -04:00
Alex Corey b7b17b9176 updates test issues caused by PF bump 2019-05-28 11:42:17 -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
Alex Corey 1200c23ebc addressing PR issues 2019-05-03 14:26:19 -04:00
Alex Corey b8b2209335 add bottom border to org tabs 2019-05-03 10:27:48 -04:00
Alex Corey a3fdb4aee3 add bottom border to tabs 2019-05-02 16:26:31 -04:00
Alex Corey c9c7d2c2a5 add tooltip proptype 2019-05-02 15:20:25 -04:00
Alex Corey cc0b2bb5b4 added props to Proptypes 2019-05-02 15:12:04 -04:00
Alex Corey c6de6b8f25 added props to Proptypes 2019-05-02 14:34:17 -04:00
Alex Corey b136ce1e1d updating PR issues updated snapshot test 2019-05-01 15:48:08 -04:00
Alex Corey f704f320b5 address pr issues 2019-05-01 14:42:59 -04:00
Alex Corey c4a4275a89 updated snapshot of failing test 2019-05-01 14:42:00 -04:00
Alex Corey 64d4b71ec9 UX improvements 2019-05-01 14:42:00 -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
Alex Corey 1bae944b85 fix tests and function name changes 2019-04-29 17:29:40 -04:00
Alex Corey 33f7bf67e1 fix merge conflicts 2019-04-29 17:00:04 -04:00
Alex Corey 8fa9535b98 styling changes 2019-04-18 13:07:10 -04:00
Alex Corey 2067718c0e fixed tests 2019-04-17 16:42:39 -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
Alex Corey c4ffc58228 addresses PR issues 2019-04-10 14:16:22 -04:00
Alex Corey 731da8049b Adds tooltip to username and help icon. 2019-04-10 10:48:56 -04:00
Alex Corey 75a1c69ea2 address concerns in PR 2019-04-09 14:55:34 -04:00
Alex Corey 4f55ffe4a0 Add tool tip to Host Event lines. 2019-04-09 10:58:23 -04:00
Alex Corey c0b882d6fb fixes progress bar 2019-04-05 12:01:04 -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
Alex Corey 6bcb471584 Removes Add Organization Admin Button 2019-04-04 08:13:40 -04:00
Alex Corey c76e97cecf Wraps launch template buttons 2019-04-03 08:30:51 -04:00
Alex Corey f3a07753e6 Add alert for org. delete. 2019-03-28 10:29:55 -04:00
Alex Corey ae622c4875 Merge pull request #139 from AlexSCorey/138-updateFunctionName
Fixes function naming
2019-03-27 11:05:18 -04:00
Alex Corey a430b5bf9a fixes function naming to match our naming convention in the org. notifications. 2019-03-26 18:08:09 -04:00
Alex Corey be507dbefb Shows the button the add a JT to users with permissions to make JTs. 2019-03-20 14:55:28 -04:00
Alex Corey bd4337976e makes the card for the workflow display taller 2019-03-19 15:02:05 -04:00
Alex Corey b8beb1c64e Fix invetory column width issues to make their contents readable 2019-03-18 09:57:42 -04:00
Alex Corey 2650cbfc87 Fixes issue with inventory group names that are extremely long. 2019-03-14 11:16:08 -04:00
Alex Corey 0f6a40014e Merge pull request #129 from AlexSCorey/paginationTest
add pagination test
2019-03-13 16:21:01 -04:00
Alex Corey 91e4679311 adds test to ensure page size option dropdown is removed is no page size option is passed in. 2019-03-13 16:19:59 -04:00
Alex Corey 85eca47a93 fixes broken documentation link 2019-03-12 16:37:15 -04:00
Alex Corey d96b88e495 add pagination test 2019-03-12 12:28:42 -04:00
Alex Corey 8fb7cb6e82 add first name and last name to the headers row of the teams users list 2019-03-11 14:16:26 -04:00
Alex Corey 0593ac197c add template name to launch prompt modal. 2019-03-07 09:42:59 -05:00
Alex Corey 1df5e55a4e add padding to label list tag. 2019-03-01 10:56:08 -05:00