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

Jim/WEBREL-890/p2p-chat-messages-are-disappearing-when-shifting-the-tabs-and-chat-page-is-breaking #9537

Conversation

jim-deriv
Copy link
Contributor

Changes:

  • Refactored code from reaction to when, so that the initialiseOrderMessages is called when the user navigates back to the p2p chat page.

Screenshots:

@boring-cyborg boring-cyborg bot added the P2P label Aug 2, 2023
@vercel
Copy link

vercel bot commented Aug 2, 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 3, 2023 7:44am

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 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/9537](https://github.com/binary-com/deriv-app/pull/9537)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-jim-deriv-jim-webrel-890p2p-chat-mess-74192b.binary.sx?qa_server=red.binaryws.com&app_id=31483
    - **Original**: https://deriv-app-git-fork-jim-deriv-jim-webrel-890p2p-chat-mess-74192b.binary.sx
- **App ID**: `31483`

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 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-jim-deriv-jim-webrel-890p2p-chat-mess-74192b.binary.sx/

@coveralls
Copy link

coveralls commented Aug 2, 2023

Coverage Status

coverage: 9.643%. remained the same when pulling c1b5647 on jim-deriv:Jim/WEBREL-890/p2p-chat-messages-are-disappearing-when-shifting-the-tabs-and-chat-page-is-breaking into 419bc1b on binary-com:master.

farrah-deriv
farrah-deriv previously approved these changes Aug 2, 2023
…s-are-disappearing-when-shifting-the-tabs-and-chat-page-is-breaking
…s-are-disappearing-when-shifting-the-tabs-and-chat-page-is-breaking
@sonarcloud
Copy link

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

@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2023

Generating Lighthouse report...

@amina-deriv amina-deriv merged commit abffbe4 into binary-com:master Aug 3, 2023
3 checks passed
matin-deriv pushed a commit to matin-deriv/deriv-app that referenced this pull request Aug 8, 2023
…abs-and-chat-page-is-breaking (binary-com#9537)

* fix: display chat messages when the active_chat_channel is truthy

* ci: trigger build

* chore: clear active chat channel when back button is cleared and set reaction to fire immediately

* chore: remove unused when

* chore: update sendbird to v4.9.5

* chore: show loader when loading previous messages

* refactor: restore console warns based on code reviews
@jim-deriv jim-deriv deleted the Jim/WEBREL-890/p2p-chat-messages-are-disappearing-when-shifting-the-tabs-and-chat-page-is-breaking branch November 23, 2023 07:12
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.

8 participants