layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[UI]: Migrate react-tooltip usages to CustomTooltip from @sistent/sistent

Open Maanvi212006 opened this issue 5 months ago • 3 comments

Description

This PR fixes #7751

Replaced all usages of react-tooltip with CustomTooltip from @sistent/sistent across the codebase, consistent with the project's design system and existing usage in src/components/CopyValue/index.js.

Files changed:

  • src/components/blog-view-tooltip.js
  • src/components/Landscape-Table/index.js
  • src/components/SMI-Table/index.js
  • src/sections/Landscape/categories.js
  • src/sections/Learn-Layer5/Chapters/index.js

Notes for Reviewers All 5 files pass syntax check and no react-tooltip imports remain in the codebase

Signed commits

  • [x] Yes, I signed my commits.

Maanvi212006 avatar Jun 10 '26 18:06 Maanvi212006

Hi @rishiraj38, thanks for the review!

I looked into the build errors and they appear to be pre-existing issues unrelated to this PR's changes. The failing errors are:

  • Can't resolve './LandscapeTable.style'
  • Can't resolve '../../assets/images/landscape/passing.svg'
  • Can't resolve '../../assets/images/landscape/failing.svg'

These imports were already present in src/components/Landscape-Table/index.js before my changes. This PR only replaces react-tooltip imports with CustomTooltip from @sistent/sistent — no paths or imports were added or modified beyond that.

Could you confirm whether these errors exist on the master branch as well? Happy to investigate further if needed!

Maanvi212006 avatar Jun 12 '26 15:06 Maanvi212006

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-07-03 16:21 UTC

github-actions[bot] avatar Jun 16 '26 23:06 github-actions[bot]

@rishiraj38 @chaitanyamedidar @Sbragul26 a gentle ping!

Maanvi212006 avatar Jun 26 '26 21:06 Maanvi212006

Uninstall/remove react-tooltip as it is no longer used by any components. Rest Looks Good to me.

@rishiraj38 done

Maanvi212006 avatar Jun 27 '26 13:06 Maanvi212006

LGTM , However its difficult to review with all lint changes :(

Rajesh-Nagarajan-11 avatar Jun 29 '26 14:06 Rajesh-Nagarajan-11