kleros-v2 icon indicating copy to clipboard operation
kleros-v2 copied to clipboard

Feat(web)/lifi sdk integration

Open Harman-singh-waraich opened this issue 11 months ago • 6 comments

PR-Codex overview

This PR focuses on adding LiFi SDK integration, updating dependencies, introducing a new context for token selection, and enhancing UI components.

Detailed summary

  • Added LiFi SDK integration and context for token selection
  • Updated dependencies and UI components
  • Introduced new functions for route status updates

The following files were skipped due to too many changes: web/src/utils/lifiUtils.ts, web/src/pages/GetPnk/Swap/Cards/Routes/ToolsInfo.tsx, web/src/app.tsx, web/src/hooks/useRoutesFetch.tsx, web/src/components/Popup/Description/SwapSuccess.tsx, web/src/pages/GetPnk/Swap/ChainSelect.tsx, web/src/pages/GetPnk/Swap/Cards/ToCard.tsx, web/src/pages/GetPnk/Swap/TokenSelect/index.tsx, web/src/pages/GetPnk/Swap/SwapButton.tsx, web/src/components/SearchableSelect.tsx, web/src/pages/GetPnk/Swap/Cards/Routes/index.tsx, web/src/pages/GetPnk/Swap/Cards/FromCard.tsx, yarn.lock, web/src/pages/GetPnk/Swap/Cards/Routes/RouteDetails.tsx, web/src/hooks/useGasSufficiency.ts, web/src/context/LiFiProvider.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Harman-singh-waraich avatar Mar 02 '24 17:03 Harman-singh-waraich

Deploy Preview for kleros-v2 ready!

Name Link
Latest commit 994ca0e55643b67376b09485bdda5807bd6df74d
Latest deploy log https://app.netlify.com/sites/kleros-v2/deploys/660d3adcfc2e7c0008597d07
Deploy Preview https://deploy-preview-1532--kleros-v2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Mar 02 '24 17:03 netlify[bot]

Deploy Preview for kleros-v2-university ready!

Name Link
Latest commit 994ca0e55643b67376b09485bdda5807bd6df74d
Latest deploy log https://app.netlify.com/sites/kleros-v2-university/deploys/660d3adc77c4810007730828
Deploy Preview https://deploy-preview-1532--kleros-v2-university.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Mar 02 '24 17:03 netlify[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

sonarqubecloud[bot] avatar Mar 09 '24 14:03 sonarqubecloud[bot]

Deploy Preview for kleros-v2-neo ready!

Name Link
Latest commit 994ca0e55643b67376b09485bdda5807bd6df74d
Latest deploy log https://app.netlify.com/sites/kleros-v2-neo/deploys/660d3adcc206d90008bcd8c8
Deploy Preview https://deploy-preview-1532--kleros-v2-neo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 03 '24 11:04 netlify[bot]

Code Climate has analyzed commit 994ca0e5 and detected 68 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 9
Duplication 11
Style 48

View more on Code Climate.

codeclimate[bot] avatar Apr 03 '24 11:04 codeclimate[bot]

As discussed, we are switching to the LIFI widget instaed of the SDK. It has provides enough customizations and is easier to maintain going forward.

From @Harman-singh-waraich image

jaybuidl avatar Apr 03 '24 11:04 jaybuidl

Superseded by #1532

jaybuidl avatar May 01 '24 10:05 jaybuidl