Commit Graph
12 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
Lisa Kim 91afcd3ad2 [Connect] Refactor FormLogin and add passwordless capabilities (#1019)
* Make SSO buttons be more noticeable on focus/hover state
2022-08-05 17:33:47 +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
Alexey Kontsevoy d58d2c1fa6 Add Billing Feature (#238)
* Add Billing Feature
* Update storybook
2021-03-11 13:33:02 -05:00
Lisa Kim 5ecb80c0db Fix case sensitive testing for sso providers (#174) 2020-10-13 14:15:47 -07: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
Alexey Kontsevoy 7f14d7bfcc JS to TS migration (#55)
* JS to TS migration
* Address CR comments
2020-03-30 16:20:51 -04:00
Lisa Kim b5301e351a Prettify package shared (#27)
* Prettify *.js, *.jsx, *.json except bpf.*.json
* Remove unnecessary space in Expired.jsx
2020-02-19 09:07:57 -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 50706413cc Add ResetPassword and Invite (#12) 2020-02-03 19:12:37 -05:00
Alexey Kontsevoy 5e0a948f19 Move code to this repo 2019-09-12 19:37:15 -04:00