Commit Graph
6 Commits
Author SHA1 Message Date
Jeff Pihach 5eafe86fa4 Remove usage of lodash methods (#21567)
* Create new local util lib to replace lodash.

* Replace usage of isInteger and debounce from lodash with highbar.

* Create isObject and runOnce utility methods.

* remove use of at, isObject, and once lodash method usage.

* remove map and transform lodash calls.

* Add memoize function to highbar.

* remove memoize lodash usage.

* remove merge and isEqual lodash methods and update other missing refs to highbar.

* convert the throttle to debounce.

* add throttle method to highbar.

* use the new throttle method instead of debounce where necessary.

* Add mergeDeep function for init config merge.

* remove lodash from the build process.

* Fix introduced bug in workspacesService.

* Added tests for highbar mergeDeep and expanded its functionality to support arrays.

* review updates.

* Added types to mergeDeep function.

* Add missing MapCache prototype methods.

* Add license notices, types and missing hash code.

* First pass at compare an array objects function.

* use new compareArrayObjs fn

* Add missing not

* Added types to arrayObjectIsEqual

* Add tests for arrayObjectIsEqual and fix some edge case bugs.

* update util fn name
2023-02-21 17:25:36 +00:00
Jeff Pihach 991856e137 Added eslint rule to enforce the order of file imports (#1030)
* add import order lint rule.
* auto fix import order and spacing.
* prettier fix.
* manual fix of import order.
* update failing snapshots.
* bump e submodule for import order fixes.
2022-07-25 16:21:23 -06:00
Lisa Kim c659e5b65e Unit test useRule custom hook from Validation (#31)
* Move useRule hook to its own file 
* Unit test useRule custom hook
* Update package.json so jest runs only on changed files on start
2020-02-21 17:04:48 -08:00
Lisa Kim a5d83a03a7 Unit Test ButtonSso and Validator Class (#24)
* Refactor and unit test ButtonSso
* Unit test Validator class inside Validation.jsx
* Update failing snapshot caused by reformatting
2020-02-18 14:28:27 -08:00
Alexey Kontsevoy e69d4e2042 Add initial BPF viewer implementation 2019-11-21 13:07:16 -05:00
Alexey Kontsevoy 5e0a948f19 Move code to this repo 2019-09-12 19:37:15 -04:00