Commit Graph
100 Commits
Author SHA1 Message Date
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
Kia Lam 304ec80d80 Convert dates to use luxon.js 2021-08-16 08:31:30 -07:00
kialam 791d24bcb6 Merge pull request #10801 from kialam/add-instances-node-type-ui
Add Node Type to Instances page and modify "Type" to "Policy Type."
2021-08-03 14:01:02 -04:00
Kia Lam 729723205f Fix unit tests. 2021-08-03 13:06:35 -04:00
Kia Lam 2474f60e00 Add Node Type to Instances page and modify "Type" to "Policy Type." 2021-08-03 13:06:34 -04:00
Kia Lam d3c5397721 Add link to project update job details on job details page. 2021-06-28 10:51:02 -04:00
Kia Lam 74e4c17b63 Address PR feedback and format. 2019-07-02 09:54:07 -04:00
Kia Lam d3ed6ac73a Fix Template list as well. 2019-07-01 16:21:41 -04:00
Kia Lam d22cafc42e Add unit test. 2019-07-01 16:20:38 -04:00
Kia Lam 58444a75b9 Fix Org list returning a 404 by redirecting user to current page.
- Update itemCount after an org has been successfully deleted.
- Update PaginatedDataList to get current page when the number of items has changed.
2019-07-01 16:20:38 -04:00
kialam 5df424803f Merge pull request #211 from ansible/upgrade-node-v8-to-node-v10
Upgrade our packaging for NodeJS 10.
2019-06-04 10:54:24 -04:00
Kia Lam 4b9024bcb0 Revert puppeteer upgrade to fix failing UI unit tests in Zuul. 2019-05-30 09:51:19 -04:00
Kia Lam 15c699de7c Update dockerfile to build using node v10.15.0. 2019-05-29 13:00:06 -04:00
Kia Lam 515d4fe20f Update INSTALL.md with new node version. 2019-05-29 12:21:54 -04:00
Kia Lam 75380b9576 Upgrade our packaging for NodeJS 10.
- Update README.md
- Bump certain dependencies to fix vulnerabilities. Exclude dependency bumps that would cause breaking changes.
2019-05-29 12:21:54 -04:00
Kia Lam efc45ac1fa Upgrade our packaging for NodeJS 10.
- Update README.md
- Bump certain dependencies to fix vulnerabilities.
2019-05-20 16:07:33 -04:00
kialam d59975c1ad Merge pull request #204 from ansible/use-styled-components
Use styled-components
2019-05-14 10:33:28 -04:00
Kia Lam cc24d524ac Merge remote-tracking branch 'origin' into use-styled-components 2019-05-14 10:20:25 -04:00
Kia Lam 457c6287a2 General cleanup.
- Fix tests.
- Update snapshots.
- Remove old import statement.
- Add element ids for Sort and Search Components.
2019-05-13 18:42:26 -04:00
Kia Lam 3322123dd4 Remove defunct external stylesheet. 2019-05-13 18:42:26 -04:00
Kia Lam a53509b359 Refactor DataListToolbar component. 2019-05-13 18:42:26 -04:00
Kia Lam a87c6ddf1b Convert DataListToolbar to a styled-component. 2019-05-13 18:42:25 -04:00
Kia Lam 0ea4a4dedd Convert toolbar button components to styled-components. 2019-05-13 18:42:25 -04:00
Kia Lam cc192246d9 Make Orgs List page responsive. 2019-05-13 18:42:08 -04:00
Kia Lam 82c7052d6f Make Org Notifications page responsive. 2019-05-10 11:06:24 -04:00
Kia Lam 349a9c7cc2 Add styled-components library and its babel plugin. 💅 2019-05-10 11:03:16 -04:00
kialam 500765cea5 Merge pull request #186 from ansible/add-username-to-top-header-bar
Add logged in username to top level header bar.
2019-05-03 10:14:29 -04:00
Kia Lam f14934f42c Translate tooltip block. 2019-05-03 09:59:10 -04:00
Kia Lam 5287af1b9f Add logged in username to top level header bar. 2019-04-30 11:05:08 -04:00
Kia Lam b978a28f8b Fix job output name in websocket service. 2019-04-09 17:04:30 -04:00
Kia Lam d25f1d1357 Format jt details for popover use. 2019-03-29 09:22:15 -04:00