Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add market widget integration test ✅ #8777

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mcayuelas-ledger
Copy link
Contributor

✅ Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

📝 Description

Architecture Changes:

  • Moved components and related elements to the newArch directory.

Enhancements:

  • Added an integration test to validate end-to-end functionality.

❓ Context

  • JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@mcayuelas-ledger mcayuelas-ledger requested review from a team as code owners December 31, 2024 10:30
Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2025 9:00am
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2025 9:00am
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2025 9:00am
web-tools ⬜️ Ignored (Inspect) Visit Preview Jan 3, 2025 9:00am

@ledger-wiz-cspm-secret-detection
Copy link

ledger-wiz-cspm-secret-detection bot commented Dec 31, 2024

Wiz Scan Summary

Scanner Findings
Data Finding Sensitive Data 1 Info
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations
Total 1 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@live-github-bot live-github-bot bot added the desktop Has changes in LLD label Dec 31, 2024
@mcayuelas-ledger mcayuelas-ledger force-pushed the chore/market-widget-integration-test branch 3 times, most recently from f7c14f5 to 12c75d2 Compare December 31, 2024 10:49
@@ -57,6 +57,7 @@ function WidgetRow({ data, index, range, enableNewFeature }: PropsBodyElem) {
py="6px"
onClick={enableNewFeature ? onCurrencyClick : undefined}
featureFlagEnabled={enableNewFeature}
data-testid={"market-performance-widget-row-" + index}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"market-performance-widget-row-" + index ->

`market-performance-widget-row-${index}` 

@@ -1,7 +1,7 @@
import { MarketItemPerformer } from "@ledgerhq/live-common/market/utils/types";
import { PortfolioRange } from "@ledgerhq/types-live";

import { CurrencyCheck, Order } from "~/renderer/screens/dashboard/MarketPerformanceWidget/types";
import { CurrencyCheck, Order } from "~/newArch/features/MarketPerformanceWidget/types";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LLD/features/arketPerformanceWidget/types

@@ -0,0 +1,22 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to get rid of this ? if not can you add a comment above to justify why ? thanks

@mcayuelas-ledger mcayuelas-ledger force-pushed the chore/market-widget-integration-test branch from 12c75d2 to 8df3136 Compare January 3, 2025 08:59
Copy link
Contributor

@themooneer themooneer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (unit test based PR that have no impact on the functional side)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants