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

Sandeep/bot 398/quick strategy refactor 2 #10615

Conversation

sandeep-deriv
Copy link
Contributor

Refactor Quick-Strategy (Including Mobile Responsive)

  • Redesign as per the new design: Figma
  • Make quick-strategy to adapt to new fields quickly
  • Make quick-strategy to adapt to new strategies quickly
  • Provide test coverage for the same
  • Convert to TS if there is anything which is not in TS
  • Add the ability to form group and group interrelated fields together

Screenshots:

Mobile Responsive:

Screenshot 2023-10-12 at 1 42 33 PM Screenshot 2023-10-12 at 1 42 56 PM

With error message:
Screenshot 2023-10-12 at 1 44 58 PM

Desktop

Screenshot 2023-10-12 at 1 44 31 PM

With error message:
Screenshot 2023-10-12 at 1 44 43 PM

@vercel
Copy link

vercel bot commented Oct 12, 2023

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Oct 23, 2023 9:28am

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 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/10615](https://github.com/binary-com/deriv-app/pull/10615)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-sandeep-deriv-sandeep-bot-398quick-st-f7b764.binary.sx?qa_server=red.binaryws.com&app_id=30365
    - **Original**: https://deriv-app-git-fork-sandeep-deriv-sandeep-bot-398quick-st-f7b764.binary.sx
- **App ID**: `30365`

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2023

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 15
🟧 Accessibility 75
🟢 Best practices 92
🟧 SEO 85
🟧 PWA 80

Lighthouse ran with https://deriv-app-git-fork-sandeep-deriv-sandeep-bot-398quick-st-f7b764.binary.sx/

@gitguardian
Copy link

gitguardian bot commented Oct 13, 2023

⚠️ GitGuardian has uncovered 1 secret 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 secret in your pull request
GitGuardian id Secret Commit Filename
- Generic High Entropy Secret e54aaa5 nx.json 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 secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  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 Oct 13, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug D 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 83 Code Smells

No Coverage information No Coverage information
4.0% 4.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

vinu-deriv
vinu-deriv previously approved these changes Oct 23, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 23, 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 24 Code Smells

No Coverage information No Coverage information
3.9% 3.9% Duplication

@sandeep-deriv sandeep-deriv merged commit d15ee12 into deriv-com:master Oct 23, 2023
5 of 6 checks passed
aum-deriv pushed a commit to aum-deriv/deriv-app that referenced this pull request Oct 24, 2023
* refactor: 🔥 quick strategy refactor -- working on the desktop dialog design

* refactor: working on quick strategy redesign

* refactor: working on quick strategy dynamic form

* refactor: working on QS dynamic form

* refactor: quick strategy finalizing

* refactor: adding missing test coverage and fixed minor issues

* refactor: updated names in the store with the params in the quick strategy

* refactor: adding test cases for the newly added quick strategy components

* chore: reverted changes to the unrelated component

* refactor: working on quick strategy component test coverage

* chore: added back the reverted change

* chore: added back the reverted change

* refactor: added remaining test case for quick strategy

* refactor: added interface for quick-strategy-store-1

* refactor: removed duplicate import statement

* refactor: quick strategy, updated breaking test suits

* refactor: quick strategy fallback to first symbol if default symbol is not available

* refactor: quick strategy -  wrapped qs-input-label with store observer

* refactor: quick-strategy - initialize trade_type and duration_value error on change of symbol

* refactor: quick-strategy - is_strategy_modal_open is replaced with is_open

* refactor: quick-strategy - linked setFormVisibility with dashboard tile

* refactor: quick-strategy cleanup the old store and components

* refactor: quick-strategy updated test cases

* refactor: quick-strategy fixing minor ui issues

* refactor: quick-strategy - updated tooltip messages for unit

* refactor: quick-strategy - fixed minor ui bugs and round off

* refactor: quick-strategy alignment and reset form fix

* refactor: quick-strategy fixed run/edit issue and test update

* refactor: quick-strategy - form field should be required

* refactor: quick-strategy updated qs description

* refactor: quick-strategy - added input mode to stop showing keyboard on mobile responsive

* refactor: quick-strategy - fixed edit button disable issue
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.

6 participants