Commit Graph
100 Commits
Author SHA1 Message Date
Kia Lam cb49eec2b5 Allow k8s to create Instance Groups. 2022-09-23 09:46:13 -04:00
Kia Lam 3333080616 Remove 'hop' node type from Add Instance form. 2022-09-23 09:46:13 -04:00
Kia Lam e2b9352dad Replace Chip with Label component for IG labels. 2022-09-23 09:46:13 -04:00
Kia Lam da945eed93 Fix node state. 2022-09-23 09:46:13 -04:00
Kia Lam dba03616f4 Fix unit tests. 2022-09-23 09:46:13 -04:00
Kia Lam a59aa44249 Update status label to reflect instance node states. 2022-09-23 09:46:13 -04:00
Kia Lam e1c33935fb Properly show Peers tab in UI. 2022-09-23 09:46:13 -04:00
Kia Lam 8ebeeaf148 Add correct permissions for memory capacity slider. 2022-09-23 09:46:13 -04:00
Kia Lam 28f24c8811 Represent enabled field in Topology View:
- use dotted circles to represent `enabled: false`
- use solid circle stroke to represent `enabled: true`
- excise places where `Unavailable` node state is used in the UI.
2022-09-23 09:46:12 -04:00
Kia Lam 89a6162dcd Add new node details; update legend. 2022-09-23 09:46:12 -04:00
Kia Lam 4bf9925cf7 Topology changes:
- add new node and link states
    - add directionality to links
    - update icons
2022-09-23 09:46:12 -04:00
Kia Lam 9bcb60d9e0 Remove d3 csp declaration. 2022-07-18 08:57:03 -07:00
Kia Lam 40109d58c7 Host d3 files needed for webworker. 2022-07-18 08:57:02 -07:00
Kia Lam 2ef3f5f9e8 Remove external script call to D3.js. 2022-07-18 08:57:02 -07:00
Kia Lam 96fa881df1 Fix unit test. 2022-06-13 08:59:31 -07:00
Kia Lam b692bbaa12 Allow lookup modals to refresh when opened. 2022-06-10 14:44:53 -07:00
Kia Lam 48b3a43ec2 Allow worker files to be loaded as blob objects. 2022-06-06 10:47:30 -07:00
kialam 3d0391173b Add popover help text to job details and ad hoc job details (#12261)
* Add popover text to Job Details page.

* Add module documentation links to ad hoc job detail page.

* Add forks help text to job details.
2022-06-01 13:00:59 -04:00
kialam ce560bcd5f Cleanup some text strings files to return object literals (#12269)
* Cleanup some text strings files to return object literals instead of arrow functions.

* Fix render.

* Fix unit tests.
2022-06-01 12:10:55 -04:00
Kia Lam 954b32941e Fix on save error message for wf approval nodes. 2022-05-16 11:17:23 -07:00
kialam 70697869d7 Merge pull request #12220 from kialam/add-popover-detail-job-templates
Fix pop over text for job template details page.
2022-05-11 18:34:42 -07:00
Kia Lam 10e55108ef Fix pop over text for job template details page. 2022-05-11 16:14:58 -07:00
Kia Lam a133a14b70 Fix unit tests. 2022-05-11 12:29:32 -07:00
Kia Lam 6e87b29e92 Add help text to JT and WJT forms. 2022-05-11 09:10:22 -07:00
Kia Lam be1d0c525c Add popover text to JT and WJT details pages. 2022-05-11 09:10:21 -07:00
kialam 1da57a4a12 Merge pull request #12191 from kialam/fix-12188-undefined-wf-approval-list
Fix deleted wf approval node name.
2022-05-09 11:16:21 -07:00
Kia Lam b17f22cd38 Fix unit tests. 2022-05-09 10:55:51 -07:00
Kia Lam cbde56549d Fix deleted wf approval node name. 2022-05-06 13:51:16 -07:00
kialam f7be6b6423 Remove timezone formatting for date picker entry. (#12163) 2022-05-05 16:46:38 -04:00
Kia Lam 97fd3832d4 Upgrade @patternfly/react-core. 2022-05-04 14:19:21 -07:00
kialam 3b44838dde Merge pull request #12146 from nixocio/ui_all
Update dependabot
2022-05-02 14:46:58 -07:00
kialam 4bbdf1ec8a Merge pull request #12138 from kialam/add-directory-dependabot
Add directory destination to dependabot yaml file
2022-05-02 12:30:53 -07:00
Kia Lam 4596df449e Add directory. 2022-05-02 12:07:50 -07:00
kialam ec5e677635 Merge pull request #11938 from kialam/mesh-viz-unit-tests
Mesh viz unit tests
2022-03-28 08:44:19 -07:00
Kia Lam 7702abb368 Add unit tests for Topology View. 2022-03-22 15:31:27 -07:00
Kia Lam 2c073ae488 Add d3 to CSP. 2022-03-11 08:50:28 -08:00
kialam d02cef9d92 Merge pull request #11501 from kialam/add-mesh-viz
Add mesh visualizer
2022-03-10 11:48:03 -08:00
Kia Lam 23f6fae27a Add data-cy to content loader; move simulatioWorker to /util directory. 2022-03-09 07:36:04 -08:00
Kia Lam e4f0153a7d Remove import statements from web worker file. 2022-03-09 06:58:43 -08:00
Kia Lam 8bf9dd038e Address review feedback. 2022-03-08 12:58:04 -08:00
Kia Lam 7a6fd2623e Move web worker out of /screens directory. 2022-03-08 12:34:05 -08:00
Kia Lam 079eed2b9e Mock web worker. 2022-03-08 10:13:47 -08:00
Kia Lam 4040e09cb8 Remove setTimeout and old comment from MeshGraph.js. 2022-03-01 16:25:12 -08:00
Kia Lam fd135caed5 Offload simulation calculation to web worker. 2022-02-23 18:54:18 -08:00
Kia Lam 7fbab6760e Small layout adjustment. 2022-02-23 12:37:20 -08:00
Kia Lam 7ebf6b77e5 Disable zoom controls until mesh layout is finalized. 2022-02-22 13:45:30 -08:00
Kia Lam fee47fe347 Vertically center node type symbols on Firefox. 2022-02-22 09:36:57 -08:00
Kia Lam 039c038cd7 Move zoom methods into a hook. 2022-02-22 09:36:43 -08:00
Kia Lam ef5cd66494 Excise disable-lint rules. 2022-02-17 13:58:16 -08:00
Kia Lam 0d1898e72d Add error screen. 2022-02-17 13:26:31 -08:00
Kia Lam 8993dc706a Redirect to Instances/{nodeId}/details page. 2022-02-17 10:53:27 -08:00
Kia Lam af18453691 Use 100% height. 2022-02-17 10:21:48 -08:00
kialamandTiago Góes c102bf05af Update awx/ui/src/screens/TopologyView/MeshGraph.js
Co-authored-by: Tiago Góes <tiago.goes2009@gmail.com>
2022-02-17 10:21:48 -08:00
Kia Lam b1570302bc Refactor: move constants and helper functions into their own files. 2022-02-17 10:21:48 -08:00
Kia Lam 69a42b1a89 Some lint fixes; fix routesConfig unit test. 2022-02-17 10:21:48 -08:00
Kia Lam 272e012626 Add new loading screen placeholder. 2022-02-17 10:21:47 -08:00
Kia Lam d785f30c5f Fix JSX errors. 2022-02-17 10:21:47 -08:00
Kia Lam 9854f8a6ab Use alpha decay percentage instead of absolute value for loading screen. 2022-02-17 10:21:47 -08:00
Kia Lam 4235bf67f8 Truncate long host names in graph, show full name in tooltip. 2022-02-17 10:21:47 -08:00
Kia Lam a6bc0d4222 Add loading screen. 2022-02-17 10:21:47 -08:00
Kia Lam b859c3360d Add zoom to fit. 2022-02-17 10:21:47 -08:00
Kia Lam 391907c41e Add reset zoom button. 2022-02-17 10:21:47 -08:00
Kia Lam 04a550cc67 Hook up zoom in, zoom out buttons. 2022-02-17 10:21:46 -08:00
Kia Lam cf459dc4e8 Remove placeholder label text. 2022-02-17 10:21:46 -08:00
Kia Lam afebcc574d Add icons to header; randomly generate data. 2022-02-17 10:21:46 -08:00
Kia Lam f3474f0811 Add legend toggle to header. 2022-02-17 10:21:46 -08:00
Kia Lam 7378952a8b Add opaque bg to tooltip and legend. 2022-02-17 10:21:46 -08:00
Kia Lam 3cfab418d1 Fix zoom on scroll. 2022-02-17 10:21:46 -08:00
Kia Lam 8090cd3032 WIP new mesh layout based on QE feedback. 2022-02-17 10:21:46 -08:00
Kia Lam cd54d560b3 Update layout; fix multiple renders happening on page load. 2022-02-17 10:21:46 -08:00
Kia Lam b8674a3f8c Use PF colors for nodes. 2022-02-17 10:21:46 -08:00
Kia Lam 07ccce9845 Zoom in/out on entire SVG canvas. 2022-02-17 10:21:46 -08:00
Kia Lam 0c8c69f04a Add RBAC for /topology_view endpoint. 2022-02-17 10:21:46 -08:00
Kia Lam 5856f805fc Add debounce to resize event; link to node details. 2022-02-17 10:21:46 -08:00
Kia Lam 73a5802c11 Lint. 2022-02-17 10:21:45 -08:00
Kia Lam 826a069be0 Highlight immediate siblings on hover. 2022-02-17 10:21:45 -08:00
Kia Lam 1246b14e7e WIP add network visualizer to Controller UI. 2022-02-17 10:21:45 -08:00
kialam a7be25ce8b Merge pull request #11282 from kialam/upgrade-d3-to-v7
Upgrade d3 to v7.
2021-11-04 14:06:23 -07:00
Kia Lam a11d5ccd37 Add missing UI license file. 2021-10-27 10:58:31 -07:00
Kia Lam 24c635e9bc Fix unit tests. 2021-10-26 14:48:58 -07:00
Kia Lam 2ad4dcd741 Upgrade d3 to v7. 2021-10-26 12:07:15 -07:00
kialam d1800aa6d0 Merge pull request #11218 from kialam/revert-pf-upgrade
Roll back PF deps upgrade to re-enable select input typing.
2021-10-08 11:38:55 -07:00
Kia Lam 77a5bb9069 Roll back PF deps upgrade to re-enable select input typing. 2021-10-07 15:36:14 -07:00
Kia Lam 68f44c01ea Rely on default qs value. 2021-10-07 09:52:33 -07:00
Kia Lam 4b7faea552 Remove comments and linter-disable. 2021-10-06 13:18:47 -07:00
Kia Lam 0f044f6c21 Pass configurable qs to fetchJobsById function. 2021-10-05 13:04:37 -07:00
Kia Lam 32651db4e9 Wrap setAuthRedirectTo in useEffect. 2021-09-27 10:58:49 -07:00
kialam f96ed11a87 Merge pull request #11107 from kialam/fix-10785-ee-revert-button
Wrap ExecutionEnv Lookup in SettingGroup component.
2021-09-23 14:17:45 -04:00
Kia Lam d7f1f0c7e6 Remove validation and unused vars for EE Lookup. 2021-09-23 10:23:51 -07:00
Kia Lam f06eb5e2f1 Wrap ExecutionEnv Lookup in SettingGroup component. 2021-09-21 18:51:48 -07:00
Kia Lam 41e837d1e2 Properly mark strings for translation. 2021-09-03 12:36:04 -04:00
Kia Lam bba2a264ea Add instance node type to associate modal. 2021-09-02 20:01:03 -04:00
kialam 9ee9de76b5 Merge pull request #11001 from kialam/fix-instance-list-name-sort
Sort instance by hostname instead of name.
2021-09-02 09:51:56 -04:00
Kia Lam dc0d74ca2c Sort instance by hostname instead of name. 2021-09-01 13:20:25 -04:00
kialam ef36d7c87f Merge pull request #10927 from kialam/feature-10853-control-node-read-only
Disable checkbox for instances with node type control.
2021-09-01 09:30:37 -04:00
Kia Lam cde0df937f Filter out instances with node_type equal to 'control'. 2021-08-26 12:47:43 -04:00
Kia Lam cc7488bc15 Disable checkbox for instances with node type control. 2021-08-23 15:06:36 -04:00
kialam c6a63d01db Merge pull request #10898 from kialam/fix-10718-null-datetime
Validate that start/end datetime creates at least 1 schedule.
2021-08-20 13:42:53 -04:00
Kia Lam da2bf4c510 Validate that start/end datetime creates at least 1 schedule. 2021-08-19 18:39:05 -04:00
kialam 82fe099060 Merge pull request #10783 from kialam/fix-10587-managed-job-time
Fix 10587 managed job time
2021-08-16 12:18:34 -04:00