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

Farzin/PRODQA-921/Cashier dark mode issue #8700

Conversation

farzin-deriv
Copy link
Contributor

Changes:

Please provide a summary of the change.

Screenshots:

Please provide some screenshots of the change.

Screen.Recording.2023-05-23.at.12.23.59.PM.mov

@vercel
Copy link

vercel bot commented May 23, 2023

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

Name Status Preview Comments Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2023 1:26pm

@github-actions
Copy link
Contributor

github-actions bot commented May 23, 2023

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/8700](https://github.com/binary-com/deriv-app/pull/8700)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-farzin-deriv-farzin-prodqa-921cashier-a95702.binary.sx?qa_server=red.binaryws.com&app_id=32820
    - **Original**: https://deriv-app-git-fork-farzin-deriv-farzin-prodqa-921cashier-a95702.binary.sx
- **App ID**: `32820`

@github-actions
Copy link
Contributor

github-actions bot commented May 23, 2023

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 20
🟧 Accessibility 75
🟢 Best practices 92
🟧 SEO 85
🟢 PWA 90

Lighthouse ran with https://deriv-app-git-fork-farzin-deriv-farzin-prodqa-921cashier-a95702.binary.sx/

@farzin-deriv farzin-deriv marked this pull request as ready for review May 23, 2023 04:57
nijil-deriv
nijil-deriv previously approved these changes May 23, 2023
Comment on lines -9 to -13
const {
traders_hub: { is_low_risk_cr_eu_real },
ui: { is_dark_mode_on },
} = useStore();

Copy link
Member

@shayan-deriv shayan-deriv May 24, 2023

Choose a reason for hiding this comment

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

it's not that important but just for having more consistency for our code style I'm asking this. I saw in this PR we are getting our data from store like this:

const {
        common: { current_language },
    } = useStore();

but here you actually changed the syntax. IMO the way you wrote it is more clear to understand , So I think we can discuss and agree on one of the formats for the future

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shayan-deriv Yeah agree with you, I personally try to avoid nested object destructuring cause it will be hard to follow by eye. It similar to nested ternary operator situation 👀

Copy link
Member

@shayan-deriv shayan-deriv left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented May 30, 2023

Codecov Report

Merging #8700 (7ad9763) into master (f443097) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##           master    #8700   +/-   ##
=======================================
  Coverage   40.02%   40.02%           
=======================================
  Files         212      212           
  Lines        4497     4497           
  Branches     1239     1239           
=======================================
  Hits         1800     1800           
  Misses       2465     2465           
  Partials      232      232           

@sonarcloud
Copy link

sonarcloud bot commented May 30, 2023

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
0.0% 0.0% Duplication

@amina-deriv amina-deriv merged commit 5bd39ca into binary-com:master May 30, 2023
@farzin-deriv farzin-deriv deleted the farzin/PRODQA-921/cashier_dark_mode_issue branch May 30, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants