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

Kate / DTRA-384 /Video improvement #9868

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

kate-deriv
Copy link
Contributor

@kate-deriv kate-deriv commented Aug 29, 2023

Changes:

  • CSS changes
  • Refactor component: remove width and hight attributes from ContractTypeDescriptionVideo + remove isMobile() (will be deprecated soon)
  • Refactor test cases

Screenshots:

Please provide some screenshots of the change.

@vercel
Copy link

vercel bot commented Aug 29, 2023

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Aug 29, 2023 2:45pm

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 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/9868](https://github.com/binary-com/deriv-app/pull/9868)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-kate-deriv-kate-videoimprovement.binary.sx?qa_server=red.binaryws.com&app_id=32210
    - **Original**: https://deriv-app-git-fork-kate-deriv-kate-videoimprovement.binary.sx
- **App ID**: `32210`

@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2023

🚨 Lighthouse report for the changes in this PR:

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

Lighthouse ran with https://deriv-app-git-fork-kate-deriv-kate-videoimprovement.binary.sx/

@sonarcloud
Copy link

sonarcloud bot commented Aug 29, 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

@@ -197,4 +197,14 @@
}
}
}
&__video {
width: 100%;
Copy link
Contributor

Choose a reason for hiding this comment

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

does it work with width being 480px instead of 100%?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you can try test link

Copy link
Contributor

Choose a reason for hiding this comment

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

ok lets change it to 480px or 48rem. That width is per design i believe

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, my bad, it'll work with 100%, but not with rem/px.

@DerivFE DerivFE merged commit ee2e186 into binary-com:master Sep 18, 2023
5 checks passed
@DerivFE
Copy link
Collaborator

DerivFE commented Sep 18, 2023

✨ PR has been merged by Paimon the Release Bot

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

Successfully merging this pull request may close these issues.

4 participants