1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Malton
d8823085a8 chore: Change name from SafeReactNode to StrictReactNode
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
e88de58b5d chore: Remove unnecessary use of SingleOrMany<SafeReactNode>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Sebastian Malton
9d51ef2aa6 fix: Don't crash when hovering hotbar menu index
- Remove all uses of React.ReactNode as it is unsafe, replace them with
  usages of SafeReactNode which doesn't contain the '{}' type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-05-15 11:56:30 -04:00
Janne Savolainen
65f04b6e38 chore: Fix code style
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
2023-05-03 09:31:24 +03:00
Sebastian Malton
4bb37df1cd chore: Expand withTooltip unit tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-20 09:01:21 -04:00
Sebastian Malton
9656b8c577 chore: Fix unit tests by increasing coverage of tooltip to 100%
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 15:01:02 -04:00
Sebastian Malton
23f124791a chore: Fix test failing
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00
Sebastian Malton
9f3550be14 chore: Update snapshots for tooltip
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00
Gabriel
01059d8cb1 chore: extract tooltip into package
- chore: add sanity check unit test
- chore: added tailwind.config.js to fix build
- chore: .swcrc added for tests to pass
- chore(deps): sass is not a dependency
- fix: manually import the tooltip css to fix tooltips not showing up
- chore: Run lint:fix against code
- chore: Fix use of mock in @k8slens/core

Signed-off-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-04-19 09:21:04 -04:00