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

DTRA / Kate / DTRA-1542 / [DTreader-V2]: Guide and Allow equal changes #16215

Conversation

kate-deriv
Copy link
Contributor

@kate-deriv kate-deriv commented Jul 26, 2024

Changes:

Allow equals:

  • Remove carousel component
  • Remove logic with saving user selection
  • Remove 'Save' button
  • Replace explanation text

Guide component:

  • Remove horizontal scrollbar (width should be 0) for IOS
  • Change paddings in trade type selection part

Extra:

  • Refactor Purchase button, based on comments
  • Update Quill UI version to the latest and remove TODO with associated task for InputField with numbers
  • Refactor tests

Screenshots:

Screenshot 2024-07-26 at 1 12 45 PM
Screenshot 2024-07-26 at 1 12 51 PM
Screenshot 2024-07-26 at 1 12 20 PM

@boring-cyborg boring-cyborg bot added the Trader label Jul 26, 2024
Copy link

vercel bot commented Jul 26, 2024

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Jul 26, 2024 0:09am

Copy link
Contributor

github-actions bot commented Jul 26, 2024

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/16215](https://github.com/binary-com/deriv-app/pull/16215)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-kate-deriv-kate-dtra-1542allowequalchanges.binary.sx?qa_server=red.derivws.com&app_id=24096
    - **Original**: https://deriv-app-git-fork-kate-deriv-kate-dtra-1542allowequalchanges.binary.sx
- **App ID**: `24096`

Copy link
Contributor

github-actions bot commented Jul 26, 2024

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 33
🟧 Accessibility 70
🟧 Best practices 83
🟧 SEO 77
🟧 PWA 78

Lighthouse ran with https://deriv-app-git-fork-kate-deriv-kate-dtra-1542allowequalchanges.binary.sx/

@coveralls
Copy link

coveralls commented Jul 26, 2024

Coverage Status

coverage: 46.228% (-0.002%) from 46.23%
when pulling d0defcf on kate-deriv:kate/DTRA-1542/allow_equal_changes
into 210a5bb on binary-com:master.

@@ -47,7 +46,7 @@ const LastDigitPrediction = observer(({ is_minimized, is_stats_mode }: TLastDigi
key={`last-digit-prediction${is_minimized ? '-minimized' : ''}`}
/>
}
value={last_digit.toString()} // TODO: remove toString after TextField supports a numeric 0 value in quill-ui
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue was fixed in the latest quill version

@@ -31,7 +31,6 @@ const LastDigitPrediction = observer(({ is_minimized, is_stats_mode }: TLastDigi
};
const onActionSheetClose = () => {
setIsOpen(false);
//TODO: check if we need these 2 resets below after latest Quill Action sheet changes will be in our branch
Copy link
Contributor Author

@kate-deriv kate-deriv Jul 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked, it's not connected with quill, it's because state is stored in the parent. Hence, remove

@kate-deriv kate-deriv changed the title DTRA / Kate / DTRA-1542 / [DTreader-V2]: Guide and Allow equal changes [WIP] DTRA / Kate / DTRA-1542 / [DTreader-V2]: Guide and Allow equal changes Jul 26, 2024
@kate-deriv kate-deriv marked this pull request as ready for review July 26, 2024 10:46
Copy link

sonarcloud bot commented Jul 26, 2024

Copy link
Contributor

Generating Lighthouse report...

@balakrishna-deriv balakrishna-deriv merged commit bce1cc1 into binary-com:master Jul 29, 2024
9 checks passed
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.

5 participants