Commit Graph
100 Commits
Author SHA1 Message Date
mabashian 2a30a9b10f Add more ui unit test coverage for prompt changes
Flips default job/skip tags value from empty string to null on WF form
2022-09-22 15:58:15 -04:00
mabashian ead56bfa1b Adds elements and identifiers for cypress tests
Properly display instance groups and labels on node details view
2022-09-22 15:58:15 -04:00
mabashian e05eaeccab Fixes for various prompt related ui issues
Fixes bug where Forks showed up in both default values and prompted values in launch summary

Fixes prompting IGs with defaults on launch

Make job tags and skip tags full width on workflow form

Fixes bug where we attempted to fetch instance groups for workflows

Fetch default instance groups from jt/schedule for schedule form prompt

Grab default IGs when adding a node that prompts for them

Adds support for saving labels on a new wf node

Fix linting errors

Fixes for various prompt on launch related issues

Adds support for saving instance groups on a new node

Adds support for saving instance groups when editing an existing node

Fix workflowReducer test

Updates useSelected to handle a non-empty starting state

Fixes visualizerNode tests

Fix visualizer test

Second batch of prompt related ui issues:

Fixes bug saving existing node when instance groups is not promptable

Fixes bug removing newly added label

Adds onError function to label prompt

Fixes tooltips on the other prompts step

Properly fetch all labels to show on schedule details
2022-09-22 15:55:02 -04:00
mabashian 697193d3d6 Extends LabelSelect to have a custom chip render. This allows us to disable labels that cannot be removed on job launch 2022-09-22 15:39:49 -04:00
mabashian 42a7866da9 Cleanup UI linting, tests, and import
Cleans up UI linting errors

Fix broken UI unit tests

Adds missing LabelsMixin import
2022-09-22 15:37:31 -04:00
mabashian d5d24e421b Leverage the IG mixin on the schedules model
Move associate/disassociate label methods into mixin

Move label/IG saving out to related endpoints off of a schedule
2022-09-22 15:23:12 -04:00
mabashian 4e665ca77f Change ask_job_slicing_on_launch to ask_job_slice_count_on_launch to match api
Adds support for prompting labels on launch in the UI

Fix execution environment prompting in UI

Round out support for prompting all the things on JT launch

Adds timeout to job details

Adds fetchAllLabels to JT/WFJT data models

Moves labels methods out to a mixin so they can be shared across JTs/WFJTs/Schedules

Fixes bug where ee was not being sent on launch

Adds the ability to prompt for ee's, ig's, labels, timeout and job slicing to schedules

Fixes bug where saving schedule form without opening the prompt would throw errors

Adds support for IGs and labels to workflow node prompting

Adds support for label prompting to node modal

Fix job template form tests
2022-09-22 15:18:23 -04:00
mabashian 04d0e3915c Refactors EE Lookup to support prompting. Adds prompting for EE to JT form
Adds prompt on launch buttons to labels, forks, job slicing, timeout, and instance groups

Adds prompting for labels on workflow job template

Updates flags that denote when prompting is necessary in various places

Adds prompting support for timeout, job slicing, forks, labels, instance groups and execution environments to the prompt details

Show prompted ee, forks, job slice and labels on schedule details

Adds support for ee, labels, forks, job slicing and timeout prompting to the node view modal

Add default values when prompting for ee's, forks, job slicing and timeout

Adds launch prompt step for execution environments

Adds fields for timeout, job slicing and forks to other prompts step of launch
2022-09-22 15:16:08 -04:00
mabashian 0a4a9f96c2 Explicitly set value for verbosity to 0 as the default value which corresponds to 0 (Normal) 2022-08-12 14:03:36 -04:00
mabashian 6d0d8e57a4 Fix bug where node alias is not remaining after changing the template on a wf node 2022-08-01 11:28:50 -04:00
mabashian 703a68d4fe Don't repeatedly traverse workflow nodes when finding ancestors 2022-05-03 13:39:03 -04:00
mabashian cd35787a86 Adds total host count to inv and smart inv details views 2022-04-28 11:40:27 -04:00
mabashian cbe84ff4f3 Add tags/skip tags to the list of things that will cause the Prompt button to be displayed on the schedule form 2022-04-28 11:33:46 -04:00
mabashian 12c36d279e Fix Source Control Type label in project form 2022-03-22 09:35:37 -04:00
mabashian d0a13cb12a Adds test coverage for parsing and prefilling form fields from query params on EE add form 2021-09-29 16:59:16 -04:00
mabashian 71c72f74a1 Add support for name and description query params on ee add 2021-09-29 16:45:07 -04:00
mabashian ad24fe7017 Remove cred from potential hub params 2021-09-29 13:57:27 -04:00
mabashian e5578a8ef3 Fix bad merge conflict resolution 2021-09-29 13:55:30 -04:00
mabashian 41342883d4 Auto fix dep audit 2021-08-23 16:12:54 -04:00
mabashian 0213fb5412 Fix linting errors 2021-08-03 14:08:00 -04:00
mabashian a4f263bc92 Fix bug where identifier is undefined 2021-08-03 14:07:56 -04:00
mabashian 231cccbb19 Adds support for workflow node aliasing via identifier field 2021-08-03 14:07:50 -04:00
mabashian 5f7db084d3 Fix linting errors 2021-07-27 09:02:43 -04:00
mabashian 1e30e33d30 Fix bug where page crashed if attempting to view system job node without extra vars 2021-07-27 09:02:43 -04:00
mabashian 874b497794 Update label on days field 2021-07-27 09:02:42 -04:00
mabashian 8374533c5f Ensure that days is always an integer 2021-07-27 09:02:42 -04:00
mabashian 034c665c83 Adds Variables detail to node view when node is a system job template 2021-07-27 09:02:42 -04:00
mabashian d7521efc91 Fix days to keep bug when editing a new node 2021-07-27 09:02:42 -04:00
mabashian 4db6eaf1aa Add UI support for management jobs in workflows 2021-07-27 09:02:42 -04:00
mabashian 994175f386 Properly set use_tls initial value to bool (false) 2021-07-13 11:47:02 -04:00
mabashian 3c43ed6d2d Update base docs string 2021-07-13 11:47:01 -04:00
mabashian 667121d325 Change dev brand name to Ansible AWX and remove Ansible string from about 2021-07-13 11:47:01 -04:00
mabashian f0a6567cd8 Hide host_filter search key when hiding smart inventories 2021-06-28 10:51:00 -04:00
mabashian 8246d4a298 Remove smart inventories from host form inv lookup 2021-06-28 10:51:00 -04:00
mabashian 88d492371b Link users to workflow approval details from workflow node 2021-06-28 10:51:00 -04:00
mabashian e4a52703f9 Fix disabled node cover dimensions 2021-06-23 12:49:40 -04:00
mabashian 695787be4e Fix broken test 2021-06-22 10:49:40 -04:00
mabashian e1b8f30d8f Extract strings 2021-06-22 10:49:40 -04:00
mabashian 293924168f Make expanded view ee detail warning match unexpanded 2021-06-22 10:49:40 -04:00
mabashian 7c72be7025 Adds a link to the ee migration docs in a popover when ee is missing 2021-06-22 10:49:40 -04:00
mabashian 51abbb9464 Fixes bug where UI wasn't handling an array of survey answer choices 2021-06-22 10:49:34 -04:00
mabashian 8697387d13 Fix failing test 2021-06-22 10:49:34 -04:00
mabashian 0947d30682 Fixes visual bug where revert button showed up above input 2021-06-22 10:49:33 -04:00
mabashian c993c8b3b9 Fixes bug where email notification ssl and tls were a dropdown instead of checkboxes 2021-06-22 10:49:33 -04:00
mabashian f4bc69d5f7 Fixes bug where cred password fiield was displaying ASK 2021-06-22 10:49:31 -04:00
mabashian 29d57ea403 Fixes bug where toolbar was hidden on user token list 2021-06-22 10:49:30 -04:00
mabashian c76a7d638f Removes tooltip from user in page toolbar 2021-06-16 15:41:07 -04:00
mabashian 7a455d08d7 Change Options to Enabled Options in various details views 2021-06-16 15:41:07 -04:00
mabashian 32cee852f0 Swap underscore for hyphen 2021-06-16 15:41:07 -04:00
mabashian 8c1cd9ee71 Fixes bug where source list page would crash if first sync was running 2021-06-16 15:41:07 -04:00
mabashian 21e6e5701e Addresses bug where advanced search by groups wasn't working on host list 2021-06-16 15:37:25 -04:00
mabashian 666acb9756 Extract strings 2021-06-16 15:37:25 -04:00
mabashian 0eff3e6bac Pull brand name from default.strings.json 2021-06-16 15:37:24 -04:00
mabashian 9af16c18c9 Dont reconnect job output socket if it closes cleanly 2021-06-16 15:37:24 -04:00
mabashian ae83032ff3 Swap underscore for hyphen 2021-06-10 16:42:03 -04:00
mabashian 25aae9abc6 Fixes bug where source list page would crash if first sync was running 2021-06-10 15:06:13 -04:00
mabashian 8b20d770a2 Addresses bug where advanced search by groups wasn't working on host list 2021-06-10 13:46:27 -04:00
mabashian a7a17a2063 Extract strings 2021-06-09 16:13:20 -04:00
mabashian 9e657059f3 Pull brand name from default.strings.json 2021-06-09 16:11:04 -04:00
mabashian 0195bab931 Drop in favicon.ico from old app 2021-06-09 11:22:40 -04:00
mabashian fc171deb79 Dont reconnect job output socket if it closes cleanly 2021-06-08 16:08:39 -04:00
mabashian d6a06c40f1 Preselect default galaxy cred when creating new org 2021-06-08 15:19:36 -04:00
mabashian 3cc6a4cf44 Go back to tracking currentlyLoading via state and not ref 2021-06-08 13:33:54 -04:00
mabashian ddf4fbc4ce Fix linting errors 2021-06-08 13:33:54 -04:00
mabashian f0e7f2dbcd Adds logic to try to keep visible page accurate in follow mode 2021-06-08 13:33:54 -04:00
mabashian de46fb409e Adds version context processor back in to fix api browser doc link 2021-06-07 19:52:01 -04:00
mabashian 4db6b8c1fe Rolls back aggressive find/replace on fetchProjects 2021-06-07 14:21:34 -04:00
mabashian 03209fe2f2 Updates onCopy functions to use navigator.clipboard instead of deprecated execCommand 2021-06-07 14:18:27 -04:00
mabashian 121db42699 Fix data-cy 2021-06-07 13:33:08 -04:00
mabashian ddb6c775b1 Adds dataCy to revision copy in project details 2021-06-07 13:33:07 -04:00
mabashian 7467779ea9 Remove clipboard copy button component 2021-06-07 13:33:07 -04:00
mabashian 66f140bb70 Adds ability to get latest revision from project list when a project is done syncing. Automatically refresh project data on project detail when it's done syncing. 2021-06-07 13:33:06 -04:00
mabashian 151f9e79ed Move debug message inside if statement so that it only triggers when we try to reconnect 2021-06-07 13:30:19 -04:00
mabashian f83343592b Only attempt to reconnect socket if connection wasn't closed cleanly 2021-06-07 13:29:14 -04:00
mabashian 12504c9bc3 Changes settings revert all to send DELETE on individual endpoint rather than PATCHing 2021-06-07 13:19:16 -04:00
mabashian 177901eca6 Adds assertion to ensure that only one chip is shown when a checkbox list item is selected 2021-06-03 14:01:04 -04:00
mabashian c2c93e7a66 Fix unit test failures 2021-06-03 13:50:26 -04:00
mabashian 4c1b0297e7 Fixes bug where checkbox list item was selecting things twice 2021-06-03 09:48:20 -04:00
mabashian 134d84ded9 Adds unique ouiaId to MultiButtonToggle 2021-06-02 14:48:37 -04:00
mabashian 16a3f7c2df Properly validate multiple choice survey questions 2021-06-02 10:38:11 -04:00
mabashian ec78f5a9ec Add name/description to mock resources in tests 2021-05-27 16:18:03 -04:00
mabashian d711a9aed3 Mark string for translation 2021-05-27 16:11:19 -04:00
mabashian 4836a5b1a9 Extract strings 2021-05-27 15:57:00 -04:00
mabashian af162b6897 Use expandable section when description is longer than 512 characters to avoid making the wizard unusably long 2021-05-27 14:28:54 -04:00
mabashian ad5cc3a393 Adds click event to table row to handle selecting/unselecting checkbox/radio 2021-05-27 12:23:03 -04:00
mabashian 50de068a02 Refactor functions that check typed text in lookups 2021-05-27 11:09:06 -04:00
mabashian 4ec7ba0107 Adds support for typing values into single select lookups 2021-05-27 10:53:36 -04:00
mabashian fa7a459e50 Fixes bug where user/team role add modal state is not cleared on close 2021-05-27 10:51:46 -04:00
mabashian 4b4e57889e Remove unused disabled prop 2021-05-27 10:50:11 -04:00
mabashian f4ba87ea4f Fixes bug where users were unable to click on text next to checkboxes in modals 2021-05-27 10:47:31 -04:00
mabashian dc64da6f72 Adds resource name and description to launch and schedule prompt wizards 2021-05-27 10:45:38 -04:00
mabashian ff559a81db Remove eula checkbox from UI 2021-05-27 09:26:33 -04:00
mabashian e0e66e3818 Fixes bug where activity stream changes were displaying as [object object] 2021-05-25 15:23:15 -04:00
mabashian dd1bda3b67 Fix broken app container test 2021-05-25 08:06:06 -04:00
mabashian 82c3348b15 Only initialize pendo if the key is available 2021-05-24 17:34:00 -04:00
mabashian 9975d4764d Extract strings 2021-05-13 16:38:41 -04:00
mabashian 31907423ce Fixes bug where workflow approvals page would crash if deleted username was referenced 2021-05-13 16:37:04 -04:00
mabashian 0d17dfcd87 Pass config request through to subscription edit 2021-05-12 14:47:07 -04:00
mabashian 91134b2537 Remove erroneouos extra param 2021-05-12 14:47:06 -04:00
mabashian 3a56d2447c Adds support for pendo initialization across the app 2021-05-12 14:47:06 -04:00