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

[TRAH] Sergei / TRAH 3229 / Making Traders Hub the landing page and introducing Traders Hub's logged out version #14740

Merged

Conversation

sergei-deriv
Copy link
Contributor

@sergei-deriv sergei-deriv commented Apr 22, 2024

Changes:

NOTE: Extends this PR because broken tests due to routes changes were fixed there.

  • Making Traders Hub the landing page and introducing Trader's Hub logged out version
  • Modified 2 types of header: 1. for logged out version; 2. for DTrader; 3. for Trader's Hub

Screenshots:

[Desktop EU]
image

[Desktop Non-EU]
image

[Responsive EU]
image

[Responsive Non-EU]
image

Copy link

vercel bot commented Apr 22, 2024

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

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview May 24, 2024 9:29am

Copy link
Contributor

github-actions bot commented Apr 22, 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/14740](https://github.com/binary-com/deriv-app/pull/14740)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-sergei-deriv-sergei-trah-3229th-logou-4eb5a4.binary.sx?qa_server=red.derivws.com&app_id=32760
    - **Original**: https://deriv-app-git-fork-sergei-deriv-sergei-trah-3229th-logou-4eb5a4.binary.sx
- **App ID**: `32760`

Copy link
Contributor

github-actions bot commented Apr 22, 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-sergei-deriv-sergei-trah-3229th-logou-4eb5a4.binary.sx/

Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
9 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.9% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Generating Lighthouse report...

@habib-deriv habib-deriv merged commit f505fd1 into binary-com:master May 27, 2024
9 checks passed
vinu-deriv pushed a commit to vinu-deriv/deriv-app that referenced this pull request May 28, 2024
…ntroducing Traders Hub's logged out version (binary-com#14740)

* chore: initial setup

* chore: test case fix

* chore: fixing test cases

* chore: fixing test cases

* chore: binary link fix

* chore: add root route /

* feat: started

* feat: intermediate result

* feat: intermediate result 2

* feat: add 1st test case

* chore: review fix

* chore: fixing test case

* chore: redirecting trading button to dtrader

* fix: test case

* fix: trigger

* feat: change hardcoded dtrader route to routes.trade

* feat: add trustpilot widget

* refactor: extract the code to separate components

* feat: add getLandingCompany to client store

* feat: create trustpilot helper function

* feat: add some icons for banner and trustpilot

* feat: intermediate result

* feat: complete widget and banner

* feat: refactor the code a little bit

* feat: complete with options and multipliers

* feat: change trustpilot data type

* feat: changed content for CFDs part

* feat: renamed some components

* feat: change 3 headers

* fix: add mock for header tests

* feat: complete changes for header

* feat: change trust pilot widget data

* feat: separate styles

* feat: add some styles

* fix: remove exclamation mark

* feat: make legacy TH route as root

* fix: implement sonalcloud suggestions

* fix: repair tests

* feat: get back changes for content because it will be done by card trah-3251

* feat: create separate components for option and cfds titles and description

* feat: remove waiting for landing company and show just eu and non-eu versions

* feat: change routes to legacy th

* feat: change routes to legacy th 2

* fix: repair tests due to route changes

* feat: add exact to the trades_hub route

* feat: add position absolute to the image

* feat: add redirection from old traders hub route to the new one

* fix: same route for wallets and TH

* fix: change route order to fix old TH route redirect

* feat: add redirection to dtrader

* fix: wallet_transfer route in shared

* chore: code clean-up

* chore: more code clean-up

* fix: move wallets check out of appstore

Co-authored-by: Aum <aum@deriv.com>

* chore: reset file to base branch

* fix: compare account route height and hover shadow clipping

* chore: remove unused import

* fix: repair wallet tests

* fix: add logged_in_app_platform and logged_out_app_platform

* feat: show content for incognito

* chore: refactor routes.ts for better readability

* fix: insufficient balance modal button routing

* fix: routing to contract page giving 404

* feat: change options & multipliers to options

* feat: update mobile header

---------

Co-authored-by: ahmadtaimoor-deriv <129935294+ahmadtaimoor-deriv@users.noreply.github.com>
Co-authored-by: nijil-deriv <nijil@deriv.com>
Co-authored-by: Aum <aum@deriv.com>
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.

8 participants