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

Mahdiyeh/73628/compare account modal #6721

Conversation

mahdiyeh-deriv
Copy link
Contributor

Changes:

Please include a summary of the change and which issue is fixed below:

  • ...

When you need to add unit test

  • If this change disrupt current flow
  • If this change is adding new flow

When you need to add integration test

  • If components from external libraries are being used to define the flow, e.g. @deriv/components
  • If it relies on a very specific set of props with no default behavior for the current component.

Test coverage checklist (for reviewer)

  • Ensure utility / function has a test case
  • Ensure all the tests are passing

Type of change

  • Bug fix
  • New feature
  • Update feature
  • Refactor code
  • Translation to code
  • Translation to crowdin
  • Script configuration
  • Improve performance
  • Style only
  • Dependency update
  • Documentation update
  • Release

@vercel
Copy link

vercel bot commented Oct 9, 2022

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

Name Status Preview Updated
deriv-app ✅ Ready (Inspect) Visit Preview Oct 11, 2022 at 5:51AM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2022

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/6721](https://github.com/binary-com/deriv-app/pull/6721)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-mahdiyeh-fs-mahdiyeh-73628compareacco-f25d52.binary.sx?qa_server=frontend.binaryws.com&app_id=24061
    - **Original**: https://deriv-app-git-fork-mahdiyeh-fs-mahdiyeh-73628compareacco-f25d52.binary.sx
- **App ID**: `24061`

@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2022

Codecov Report

❗ No coverage uploaded for pull request base (pre-appstore@fff7e6d). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             pre-appstore    #6721   +/-   ##
===============================================
  Coverage                ?   21.29%           
===============================================
  Files                   ?     1532           
  Lines                   ?    34037           
  Branches                ?     5951           
===============================================
  Hits                    ?     7248           
  Misses                  ?    26309           
  Partials                ?      480           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -123,6 +125,7 @@ const content: TModalContentProps[] = [
'Choosing this jurisdiction will give you a Financial STP account. Your trades will go directly to the market and have tighter spreads.'
),
},
derivx: { text: localize('St. Vincent & Grenadines') },
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need Deriv X related info here?
Is this part of the requirements?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for the modal that we should show to the trading-hub we need to show mt5 and derivx details together.
image

Copy link
Contributor

@matin-deriv matin-deriv left a comment

Choose a reason for hiding this comment

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

pls address the failed builds.

@@ -314,7 +314,7 @@ const DMT5CompareModalContent = ({
'financial_bvi',
'financial_vanuatu',
'financial_labuan',
...(should_show_derivx ? ['derivx'] : []),
...(should_show_derivx && synthetic_accounts_count > 0 ? ['derivx'] : []),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

when we have mt5 synthetic accounts we should show derivx

@sonarcloud
Copy link

sonarcloud bot commented Oct 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mahdiyeh-deriv mahdiyeh-deriv merged commit 350813f into deriv-com:pre-appstore Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants