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

[BOT][Accumulators]maryia/bot-1980/feat: Adapt QS form as per new design #17016

Conversation

maryia-matskevich-deriv
Copy link
Contributor

@maryia-matskevich-deriv maryia-matskevich-deriv commented Sep 30, 2024

Changes:

Acceptance criteria:

  • A search field will be provided to enable faster information retrieval.
    If the user searches the trade type like accumulators - we show accumulators as a parent and all its groups with strategies like Martingale and so on.
    if the user searches "Martingale" - we will show all parents/trade types like "Accumulators" and behind it "Martingale"

  • The 'Learn More' button, previously integrated into a switcher, will now be an icon button adjacent to the search field. Tapping on it will bring users to the Tutorial page.
    Once the user searches for something on Quick Strategy search and clicks on the icon for the tutorial tab. What we do is redirect to the tutorial page, and show all related material from guidelines, videos, and content.

  • Users can filter strategies by trade type. The default setting for this page will display 'All'.

  • When the strategy dropdown is expanded, a list of available trade types for that specific strategy will be displayed.

  • Once users proceed to the last step, there will be 3 CTAs for desktop version.
    “Run” - this primary CTA will start the bot. In case there is field that is not filled, tapping on the CTA will validate the field and return error.
    “Load” - this secondary CTA is for the users that do not wish to start their bot yet. Clicking on this button will load the strategy to the workspace and users will be able to further edit using blockly and add custom parameters.
    “Back” - tertiary CTA to go back to the previous step and we will save the previous state of the field except if they choose another strategy.

  • A stepper will be implemented in the desktop design to clearly guide users on their next steps. Will be implemented in deriv-com/quill-ui

On mobile:

  • Tapping the close icon near the stepper will close the entire pop-up, redirecting users to the Bot Builder workspace.
    Once users proceed to the last step, there will be 2 CTAs for responsive version.
  • “Run” - this primary CTA will start the bot. In case there is field that is not filled, tapping on the CTA will validate the field and return error.
  • “Back” - secondary CTA to go back to the previous step and we will save the previous state of the field except if they choose another strategy.
  • A stepper will be implemented in the responsive design to clearly guide users on their next steps using linear progress bar and header with the steps

‼️Small refinement to the scope of the task:
We will show only chips with 'options' since strategies with trade type accumulator and multiplier aren't ready. So, chips such as 'all', 'accumulator', and 'multiplier' will be hidden for now.
It will be changed once the task with accumulators and multipliers is completed.

Screenshots:

Please provide some screenshots of the change.

@boring-cyborg boring-cyborg bot added the Bot label Sep 30, 2024
Copy link

vercel bot commented Sep 30, 2024

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Oct 22, 2024 8:23am

Copy link

sonarcloud bot commented Sep 30, 2024

Copy link
Contributor

github-actions bot commented Sep 30, 2024

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/deriv-com/deriv-app/pull/17016](https://github.com/deriv-com/deriv-app/pull/17016)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-maryia-matskevich-deriv-maryia-bot-1980.binary.sx?qa_server=red.derivws.com&app_id=32878
    - **Original**: https://deriv-app-git-fork-maryia-matskevich-deriv-maryia-bot-1980.binary.sx
- **App ID**: `32878`

Copy link
Contributor

github-actions bot commented Sep 30, 2024

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 27
🟧 Accessibility 70
🟢 Best practices 92
🟧 SEO 77
🟧 PWA 78

Lighthouse ran with https://deriv-app-git-fork-maryia-matskevich-deriv-maryia-bot-1980.binary.sx/

sandeep-deriv
sandeep-deriv previously approved these changes Oct 18, 2024
Copy link
Contributor

Generating Lighthouse report...

@sandeep-deriv sandeep-deriv changed the base branch from master to feature/quick-strategy-redesign October 23, 2024 02:32
@sandeep-deriv sandeep-deriv merged commit 2d1bbd7 into deriv-com:feature/quick-strategy-redesign Oct 23, 2024
7 checks passed
sandeep-deriv added a commit that referenced this pull request Oct 23, 2024
…ign (#17016) (#17296)

* feat: Adapt QS form as per new design

* refactor: desktop form wrapper component

* refactor: desktop form wrapper component(2)

* fix: btn back on the desktop

* refactor: add useCallback for renderContent

* refactor: strategy list component

* fix: test cases of quick strategy

* refactor: change logic as per new configuration of QS

* add Stepper component from Quill, install quill libraries, update the version

* chore: add temp stepper.scss

* chore: merge master, resolve conflicts(part2)

* fix: UI Bugs while creating a quick strategy

* chore: update package-lock file

* fix: eslint issues

* style: fix margin strategy-template-picker

* fix: tablet version bugs and rtl

* fix: search option and change the color

* fix: tooltip text

* Delete packages/bot-web-ui/package-lock.json

* chore: remove server bot icons and parameters

---------

Co-authored-by: maryia-matskevich-deriv <[email protected]>
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