Commit Graph
4 Commits
Author SHA1 Message Date
jkaczmarkiewiczandRyan Clark 09f08ab93e Enforce react-testing-library eslint rules (#1150)
* Add `eslint-plugin-{jest-dom,testing-library}`

* Enable `eslint-plugin-{jest-dom,testing-library}` rules

* Run `eslint --fix`

* refactor: apply eslint hints in FormPassword.test.tsx

* refactor: fix test in Table.test.tsx

* refactor: apply eslint hints in Table.test.tsx

* refactor: apply eslint hints in multiplefiles

* refactor: apply eslint hints in multiple files

* refactor: allow direct node access

* test: fix

* refactor: ButtonSso FileldInput

* refactor: FieldSelect

* refactor: FieldSelect

* refactor: MenuAction

* refactor: ShareFeedback

* refactor: FormLogin

* refactor: LabelSelector

* refactor: Welcome

* refactor: useUrlFiltering

* refactor: Login

* refactor: LoginTrait

* refactor: apply eslint hints in multiple files

* refactor: apply eslint hints in multiple files

* refactor: apply eslint hints in MenageDevices

* refactor: Indicator and FieldSelect tests

* refactor: Portal tests

* fix: use @testing-library/react instead of react-test-renderer

* refactor: use find without assertion

* fix: add webapps.e

* refactor: find by instead of get by+wait for

* fix: remove unused waitFor

* test: LoginTrait checkboxes count

* test: SlideTabs check tabs len

Co-authored-by: Ryan Clark <ryan@ryanclark.me>
2022-08-29 10:57:55 +02: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 KimandAlexey Kontsevoy 9ea19761b3 Typescript conversion mostly in shared package (#120)
ButtonSso/*, services/enums.js, FieldInput/*, FieldSelect/*, FormInvite/*,
FormLogin/*, FormPassword/*, MenuAction/*, Select/*, design/utils/testing.js,
TwoFaInfo, enums to types

Co-authored-by: Alexey Kontsevoy <biz.kovoy@gmail.com>
2020-07-14 10:32:57 -07:00
Alexey KontsevoyandAlexander Wolfe 389b83a1fb Alexey/updateddesign (#98)
* Updates design components
* Updates popover styles
* Updates FeatureHeader component including the title, tabs, and date selector.
* Updates the Side Navigation component to match new design updates
* Updates font size for error card
* Updates offline text
* Updates loading spinner
* Updates to tables and colors for components and buttons to match with new designs
* Updates dialog header size
* Updates cluster nodes table
* Updates top bar
* Updates the cluster table rows, search, and title styles
* Updated shared components FormInvite and FormLogin with updated designs.
* Updates size for outlined button to be consistent with button component
* Update terminal tabs
* Updates blankstate for console
* Updates to events list and ranger picker
* Updates help and support
* Updates session icon
* Updates login page with SSO
* Fixes router error in menu ssh login
* Success for login and small input field adjustments
* Tags with states update
* Updates to menu and icons menu
* Updates cluster info box
* Addresses design-system changes
* Adds missing events
* Fixes unit-tests
* Updates e-ref

Co-authored-by: Alexander Wolfe <alexanderwolfe@Alexanders-MacBook-Air.local>
2020-06-09 11:15:54 -04:00