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 | Hamza/88557/replace-connect-with-use-store-trader-parent #8270

Conversation

jim-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

@boring-cyborg boring-cyborg bot added the Trader label Apr 17, 2023
@vercel
Copy link

vercel bot commented Apr 17, 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 Jun 12, 2023 3:48am

@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 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/8270](https://github.com/binary-com/deriv-app/pull/8270)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-jim-deriv-jim-88557replace-connect-wi-cf8fea.binary.sx?qa_server=red.binaryws.com&app_id=24070
    - **Original**: https://deriv-app-git-fork-jim-deriv-jim-88557replace-connect-wi-cf8fea.binary.sx
- **App ID**: `24070`

@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 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-jim-deriv-jim-88557replace-connect-wi-cf8fea.binary.sx/

@codecov-commenter
Copy link

codecov-commenter commented Apr 17, 2023

Codecov Report

Merging #8270 (804d223) into master (54f6d7b) will decrease coverage by 0.07%.
The diff coverage is 3.67%.

@@            Coverage Diff             @@
##           master    #8270      +/-   ##
==========================================
- Coverage   19.98%   19.91%   -0.07%     
==========================================
  Files        1816     1817       +1     
  Lines       41173    41304     +131     
  Branches     8191     8189       -2     
==========================================
- Hits         8227     8225       -2     
- Misses      32094    32227     +133     
  Partials      852      852              
Impacted Files Coverage Δ
...components/src/components/u-i-loader/ui-loader.tsx 0.00% <ø> (ø)
packages/stores/src/mockStore.ts 0.00% <ø> (ø)
...s/Elements/ContractDrawer/contract-drawer-card.jsx 0.00% <0.00%> (ø)
...onents/Elements/ContractDrawer/contract-drawer.jsx 0.00% <0.00%> (ø)
...dals/MarketUnavailableModal/market-unavailable.jsx 0.00% <0.00%> (ø)
...portedContractModal/unsupported-contract-modal.jsx 0.00% <0.00%> (ø)
.../Elements/PositionsDrawer/positions-modal-card.jsx 0.00% <0.00%> (ø)
...ements/TogglePositions/toggle-positions-mobile.jsx 0.00% <0.00%> (ø)
...src/App/Components/Form/TimePicker/time-picker.jsx 0.00% <0.00%> (ø)
.../trader/src/App/Containers/Modals/trade-modals.jsx 0.00% <0.00%> (ø)
... and 61 more

…ket unavailable trade modals unsupported contract modal (#79)

* refactor: remove connect from market-countdown-timer

* refactor: remove connect from market-unavailable

* refactor: remove connect from trade-modals

* refactor: move is_visible prop to market-unavailable

* refactor: remove connect from unsupported-contract-modal
* refactor: replace connect in Trader package v1.0

* refactor: replace connect with useTraderStore v1.2

* refactor: replace connect with useTraderStore v1.2.1

* refactor: replace connect with useTraderStore v1.2.2

* refactor: replace connect with useTraderStore v1.2.3
hamza-deriv and others added 3 commits April 19, 2023 09:51
* refactor: replace connect in Trader package v1.0

* refactor: replace connect with useTraderStore v1.2

* refactor: replace connect with useTraderStore v1.2.1

* refactor: replace connect with useTraderStore v1.2.2

* refactor: replace connect with useTraderStore v1.2.3

* refactor: replace connect with useTraderStore v1.3

* refactor: replace connect with useTraderStore v1.4
…s modal card toggle positions mobile time picker populate header (#81)

* refactor: remove connect from positions-drawer

* refactor: remove connect from positions-modal-card

* refactor: remove connect from toggle-positions-mobile

* refactor: remove connect from time-picker

* refactor: remove connect from populate-header
…rade settings extensions progress slider stream routes (#83)

* refactor: remove connect from positions-drawer

* refactor: remove connect from positions-modal-card

* refactor: remove connect from toggle-positions-mobile

* refactor: remove connect from time-picker

* refactor: remove connect from populate-header

* refactor: remove connect from trade-footer-extensions

* refactor: migrate trade-header-extensions to ts and remove connect from it

* refactor: migrate trade-settings-extensions to ts and remove connect from it

* refactor: remove connect from progress-slider-stream and routes

* chore: update mocstore with new fields
@gitguardian
Copy link

gitguardian bot commented Jun 1, 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 9956f27 packages/account/src/Components/currency-selector/tests/currency-selector.spec.tsx View secret
- Generic High Entropy Secret 9956f27 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!

@sonarcloud
Copy link

sonarcloud bot commented Jun 12, 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 2 Code Smells

No Coverage information No Coverage information
0.2% 0.2% Duplication

@github-actions
Copy link
Contributor

github-actions bot commented Jun 12, 2023

Generating Lighthouse report...

@sandeep-deriv sandeep-deriv merged commit a431f4c into binary-com:master Jun 12, 2023
@jim-deriv jim-deriv deleted the Jim/88557/replace-connect-with-use-store-trader-parent branch November 23, 2023 07:11
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.

10 participants