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

feat: chat box message after order creation #8405

Merged
merged 12 commits into from
Sep 18, 2023

Conversation

nada-deriv
Copy link
Contributor

Changes:

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

  • ... Chat box message after order creation.

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 May 1, 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 Sep 14, 2023 7:41am

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 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/8405](https://github.com/binary-com/deriv-app/pull/8405)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-nada-deriv-nada-p2ps-491chatbox-message.binary.sx?qa_server=red.binaryws.com&app_id=32220
    - **Original**: https://deriv-app-git-fork-nada-deriv-nada-p2ps-491chatbox-message.binary.sx
- **App ID**: `32220`

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 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-nada-deriv-nada-p2ps-491chatbox-message.binary.sx/

@codecov-commenter
Copy link

codecov-commenter commented May 1, 2023

Codecov Report

Merging #8405 (c93b1c0) into master (d5c38a0) will increase coverage by 20.83%.
Report is 343 commits behind head on master.
The diff coverage is 18.75%.

❗ Current head c93b1c0 differs from pull request most recent head ac1cd05. Consider uploading reports for the commit ac1cd05 to get more accurate results

@@             Coverage Diff             @@
##           master    #8405       +/-   ##
===========================================
+ Coverage    0.05%   20.89%   +20.83%     
===========================================
  Files         117     1554     +1437     
  Lines        3425    36074    +32649     
  Branches      893     7064     +6171     
===========================================
+ Hits            2     7538     +7536     
- Misses       3423    27795    +24372     
- Partials        0      741      +741     
Files Changed Coverage Δ
...p2p/src/components/order-details/order-details.jsx 0.00% <0.00%> (ø)
...ges/p2p/src/components/orders/chat/chat-footer.jsx 0.00% <ø> (ø)
...p/src/components/orders/chat/chat-message-text.jsx 0.00% <0.00%> (ø)
...s/p2p/src/components/orders/chat/chat-messages.jsx 0.00% <0.00%> (ø)
packages/p2p/src/stores/sendbird-store.js 0.00% <0.00%> (ø)
packages/p2p/src/utils/chat-message.js 36.84% <60.00%> (ø)

... and 1587 files with indirect coverage changes

Copy link
Contributor

@niloofar-deriv niloofar-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 👍

@sonarcloud
Copy link

sonarcloud bot commented May 1, 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
7.0% 7.0% Duplication

farrah-deriv
farrah-deriv previously approved these changes May 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jul 3, 2023
@gitguardian
Copy link

gitguardian bot commented Jul 3, 2023

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
- Generic High Entropy Secret e2d2b25 packages/account/src/Components/currency-selector/tests/currency-selector.spec.tsx View secret
- Generic High Entropy Secret e2d2b25 packages/account/src/Components/currency-selector/tests/currency-selector.spec.tsx View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

@coveralls
Copy link

coveralls commented Jul 11, 2023

Coverage Status

coverage: 9.644%. remained the same when pulling 9591977 on nada-deriv:nada/P2PS-491/chatbox-message into a69c685 on binary-com:master.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 18, 2023

Generating Lighthouse report...

@sonarcloud
Copy link

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

farrah-deriv
farrah-deriv previously approved these changes Aug 15, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 14, 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
53.7% 53.7% Duplication

@DerivFE DerivFE merged commit 4662737 into binary-com:master Sep 18, 2023
5 of 6 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
8 participants