Commit Graph
100 Commits
Author SHA1 Message Date
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
kialam 1cb2a95a47 Merge pull request #137 from ansible/document-naming-functions
Update contributing doc
2019-03-21 14:26:12 -04:00
Kia Lam 57820b7056 Fix 'Groups' list item styling. 2019-03-21 13:44:56 -04:00
Kia Lam e3a6a20049 Update contributing doc to include:
- Method naming convention
- Initial Empty State convention
2019-03-21 12:51:23 -04:00
kialam dbeef0a823 Merge pull request #123 from ansible/access-list-remove-role-functionality
Org Access List: add remove role functionality
2019-03-18 10:25:56 -04:00
Kia Lam a4493cd02b Add empty initial states and adjust rendering logic. 2019-03-18 09:32:11 -04:00
Kia Lam a5683fb354 Clear mocked methods after each test to prevent overlaps with other tests. 2019-03-14 10:41:28 -04:00
Kia Lam 518ecee53e Apply padding to Alert component. 2019-03-14 10:35:54 -04:00
Kia Lam 6bd5ee4201 Move test for AccessList. 2019-03-13 17:12:16 -04:00
Kia Lam 390832cc1a Rename AccessList to OrganizationAccessList and fix paths. 2019-03-13 16:46:50 -04:00
Kia Lam c6d810621f Move AccessList out of components directory.
- The AccessList component is pretty specific to the Organization component, and given the structure and methods within it, is pretty context-specific and not a good candidate to be a re-useable component.
2019-03-13 16:37:03 -04:00
Kia Lam 0495214f47 Address PR feedback. 2019-03-13 15:59:42 -04:00
Kia Lam 21156d1409 Merge remote-tracking branch 'origin' into access-list-remove-role-functionality 2019-03-13 15:43:30 -04:00
Kia Lam 198dfe7f2e Add unit test to check state when user tries to delete a role. 2019-03-13 14:44:12 -04:00
Kia Lam 3b65068258 Add remove role functionality. 2019-03-08 13:56:27 -05:00
kialam e935776067 Merge pull request #121 from ansible/org-access-list
Organization Access List
2019-03-05 18:56:29 -05:00
Kia Lam 9f86fc2def Respond to PR feedback. 2019-03-05 12:01:06 -05:00
Kia Lam 35ecd83214 Some cosmetic changes.
- Reverse order of Expand/Compact icons in DataListToolbar to Compact/Expand.
- Make Expanded the default view for Access Lists.
- Make role badge styling closer to Chip component styling.
2019-03-04 14:38:58 -05:00
Kia Lam 86a92fefe7 Merge remote-tracking branch 'origin' into org-access-list 2019-03-01 10:37:44 -05:00
Kia Lam bf7e6201a2 Refactor Access List.
- Derive Team Roles without making extra API call.
- Consistent variable naming convention use camelCase.
- More informative error display.
2019-03-01 10:12:36 -05:00
Kia Lam a3a80bc23e Fix prop errors in unit tests. 2019-02-27 18:03:15 -05:00
Kia Lam 5659270d3e Add unit test for Access List component. 2019-02-27 17:30:02 -05:00
Kia Lam 1443625d89 Abstract out Access List as shared component. 2019-02-26 13:23:34 -05:00
Kia Lam 3cd54c45eb Add Access List to Orgs. 2019-02-26 08:39:13 -05:00
Kia Lam d2c345a374 Fix API lint error. 2019-02-22 13:06:20 -05:00
Kia Lam 0943f989ce Fix various errors when trying to run make bulk_data.
- Properly import PrimoridialModel.
- Use floor division operator for range() method to avoid float vs int errors.
2019-02-22 11:59:18 -05:00
kialam ec8a452f1d Call this.sync when we receive a ws complete message.
- There can be a race condition where a job run finishes event processing before sending off a "successful/failed" websocket message. In this instance, we would miss gathering known artifacts for a job. The proposed fix is to do a manual detection of when a job status updates to "successful/failed/unknown" and perform a GET request to the job endpoint.
2019-02-20 14:11:13 -05:00
kialam 728fb1aaef Fix hidden relaunch dropdown in new lists. 2019-02-20 10:05:21 -05:00
kialam 2596ad26b9 Make compact rows responsive. 2019-02-20 09:35:22 -05:00
kialam e0df011804 Merge pull request #109 from ansible/add-prop-checking
Add proptypes to shared components
2019-02-19 11:37:03 -05:00
kialam f9d615fdee Fix unit tests. 2019-02-19 11:28:17 -05:00
kialam da8c3f6c43 Enable submit button by default. 2019-02-19 10:24:26 -05:00
kialam c3493b0539 Remove unused method. 2019-02-19 10:19:47 -05:00
kialam bba1c4f5b6 Restore FormGroup to parent Add Org component for AnsibleSelect. 2019-02-19 10:18:03 -05:00
kialam 2a254ea538 Add typechecking to contributing guide. 2019-02-15 15:20:02 -05:00
kialam b340d49cb7 Integrate proptypes for our shared components.
- Fix unit tests.
- Fix linter errors.
2019-02-15 15:08:52 -05:00
kialam 91f87b6d81 Merge pull request #106 from ansible/add-select-default-option
Add default option for AnsibleSelect dropdown.
2019-02-14 11:00:04 -05:00
kialam 7c009fc315 Update unit tests to use new props. 2019-02-14 10:53:53 -05:00
kialam f09eb182c2 Merge remote-tracking branch 'origin/master' into add-select-default-option 2019-02-14 10:38:28 -05:00
kialam 1f07fc8494 Make default option selectable but return null value. 2019-02-13 15:39:29 -05:00
kialam 2b18cee9c0 Fix linter errors and add test to AnsibleSelect component. 2019-02-13 15:39:29 -05:00
kialam 97477b789a Add default option for AnsibleSelect dropdown. 2019-02-13 15:39:26 -05:00
kialam 099a82fdf8 Fix expanded view not persisting when a user copies a project. 2019-02-12 15:24:17 -05:00
kialam fcba02cd86 Linter fix. 2019-02-08 14:52:15 -07:00
kialam 28a29293c7 Check for empty object rather than string value. 2019-02-08 14:31:06 -07:00
kialam 76a16b329e Conditionally show the Artifacts field. 2019-02-07 08:59:44 -07:00
kialam c114243082 Add artifacts as a subscriber to job details status service.
- This will emerge the artifacts field values if they become available to the UI from the API once a job has completed successfully.
2019-02-07 07:59:45 -07:00
kialam dc7ec9dfe0 Adjust WF results to account for codemirror changes. 2019-02-06 12:11:15 -07:00