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

Henry/how to earn payout component #51

Conversation

henry-deriv
Copy link

Changes:

Please provide a summary of the change.

Screenshots:

Please provide some screenshots of the change.

github-actions bot and others added 30 commits May 15, 2024 09:57
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
…vice (binary-com#15052)

* feat(wallets): ✨ add API error handling for withdrawal service

* fix(wallets): 🎨 apply comments
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
…ture flag (binary-com#15036)

* refactor: make `has_wallets` shadow `is_next_wallet_enabled` when `true`

* refactor: extra changes re prev commit

* refactor: e2e tests upd

* refactor: e2e mock upd

* refactor: hide wallets migration stuff behind feature flag

* refactor: revert changes causing integration tests to fail

* refactor: remove typo

* refactor: correct update to client store

* refactor: `<React.Fragment>`

* refactor: dont use `useStoreWalletAccountsList` when unnecessary

* fix: tests

* refactor: revert `<Devtools />` conditional render

* refactor: logic

* refactor: remove flag for <DevTools />

* refactor: `client-store` correction

* fix: revert a bad refactor

* fix: tests

* refactor: remove unused imports

* refactor: remove unused import
…t when transfer button is clicked (binary-com#15156)

* chore: hide close icon and set ctrader account as default when transfer button is clicked

* chore: add type declaration
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
…consume from core (binary-com#15106)

* chore: added dependencies to externals to consume from core

* fix: repnamed js to TS extension
…nd-wallet-header (binary-com#15014)

* feat: added useBalanceSubscription hook

* feat: replaced balance in the header with subscribable balance

* feat: added balance subscription for wallet header balance

* feat: added unit tests for balance for WalletCashierHeader

* chore: fix sonarcloud issues

* chore: added data-testid for the real/demo wallet switcher

* chore: fix integration test for balance

* fix: added subscribed balance call to wallet card in mobile carousel

* fix: fix integration tests

* fix: balance glitching on switching wallet in carousel
…ports (binary-com#15109)

* chore: test cases for error and page404 component

* chore: add test case
)

* refactor: add tests for loader component

* chore: empty commit for checks retriggering
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
…5151)

* chore: 🔥 fix the active_symbols refetching issue on bot

* chore: 🔥 added useeffect to refrain the bot from calling the api multiple times'
Co-authored-by: DerivFE <fe-access@regentmarkets.com>
…ary-com#15107)

* chore: send email when forgot password is clicked

* chore: add sendemail call to modal on mobile

* chore: rename hook

* docs: add tsdoc

* chore: add sendemail to dependency array

* chore: add error handling logic

* chore: add error handling for sent email template

* chore: remove unnecessary dependencies
* perf: added a test case and some mocks for TransferForm tests

* perf: added more test cases

* perf: added more test cases
…end API errors (binary-com#15074)

* feat: suspend cryptocurrency deposit

* Merge branch 'master' of github.com:binary-com/deriv-app into WALL-3274/suspend-cryptocashier-deposit

* fix: updated unit tests

* fix: updated withdrawal error screen unit test

* chore: added check for CryptoConnectionError

* chore: added providers for deposit and withdrawal error screens

* fix: updated content components

* fix: updated component structure
* feat: wait for switch

* chore: Implement new joyride steps

* chore: update react-joyride and remove old joyride implementation

* chore: small style changes for Desktop flow

* chore: update steps in tour guide

* chore: update onboarding for Mobile view for wallets

* chore: refactor tour guide for wallets

* chore: fix test case for AccountList

* chore: refactor joyride

* feat: reverted back to previous version

* chore: i think i fix the flickering 👀

* chore: replace deriv/react-joyride with the react-joyride

* chore: update import statements

* chore: fix not scrolling when press back

* chore: fix test cases

* chore: added small changes for tour guide

---------

Co-authored-by: Wojciech Brygola <wojciech@regentmarkets.com>
* chore: console mobile os detect func

* chore: console mobile os detect func

* chore: console mobile os detect func

* chore: updated mobile os detect function

* chore: updated mobile os detect function

* chore: created async based os detect function

* chore: console

* chore: console

* chore: test react-device-detect package

* chore: test react-device-detect package

* chore: test react-device-detect package

* Revert "chore: test react-device-detect package"

This reverts commit 1ec874f.

* Revert "chore: test react-device-detect package"

This reverts commit a71712a.

* Revert "chore: test react-device-detect package"

This reverts commit 397a006.

* chore: test new regex

* chore: test new regex

* Revert "chore: test new regex"

This reverts commit 7483513.

* Revert "chore: test new regex"

This reverts commit fba5af8.

* chore: removed test useEffect

* chore: updated test cases

* fix: sonarcloud issues

* fix: updated huawei regex

* fix: console

* fix: removed updated regex

* fix: updated regex

* fix: updated regex to Set

* chore: console ua parser

* chore: console ua parser

* Revert "chore: console ua parser"

This reverts commit 4f6e581.

* Revert "chore: console ua parser"

This reverts commit 6d3e714.

* chore: merge master
Copy link

vercel bot commented May 30, 2024

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

Name Status Preview Comments Updated (UTC)
deriv-app ❌ Failed (Inspect) May 30, 2024 9:31am

Copy link

Generating Lighthouse report...

akmal-deriv pushed a commit that referenced this pull request Jun 6, 2024
* chore: empty commit

* feat: tabs + background + initialized EmptyMessage component

* Maryia/Positions-redesign/improve EmptyMessage component + add tests (#50)

* feat: redirect to trade upon button click on the empty page

* test: EmptyMessage

* chore: empty commit

* DTRA-1279 / Kate / Filter [WIP] (#51)

* feat: add dropdowm and action sheet

* feat: add apply functionality

* chore: remove unused functionality

* refactor: separate apply logic

* feat: add clear all functionality

* feat: apply filtration logic

* fix: filtration bug

* chore: rename variables

* refactor: extract filtration logic into a util function

* chore: empty commit

* fix: sonarcloud issues

* chore: empty commit

* chore: add modules store  and useclosedposition hook (#52)

* refactor: remove todo and change some prop based on quill updates (#54)

* DTRA-1279 / Kate / Use hook for real data (#55)

* feat: use hook for real data

* refactor: apply suggestions

* Maryia/positions-redesign/Contract cards [WIP] (#53)

* feat: init ContractCard

* feat: Contract cards

* feat: use ReportsStoreProvider

* style: remove unnecessary comment

* fix: key

* fix: remove old card styles

* fix: types

* fix: use contract_info in filterPositions

* fix: do not show buttons for sold contracts

* DTRA-1279 / Kate / Refactor handling open and closed positions and their filtration (#56)

* refactor: move stor values to poitions content file

* chore: remove code smell

* Maryia/positions-redesign/Contract cards improvements + fetching Open positions + formatProfitTableTransactions TS migration (#58)

* refactor: contract-card-list and card

* feat: buttons demo + animation improvements

* feat: finilize Duration component for the card

* chore: ts migration for closed positions

* fix: console error with remaining time & showing empty message only when empty

* feat: connect real open postions + style and filter fixes

* fix: style

* DTRA-1279/ Kate / Create filter component  (#57)

* feat: create new filter component

* feat: apply radio button

* refactor: default time filter logic

* feat: add time filtration

* refactor: remove unused css

* DTRA-1279 / Kate / Refactor: add new content for empty page (#59)

* refactor: add new content for empty page

* chore: test text update

* Maryia/positions-redesign/Contract cards data update fix (#61)

* fix: Accumulators tick passed count

* fix: contract cards update

* fix: show loading only when should not show empty message or cards

* chore: update quill version (#63)

* Maryia/positions-redesign/Contract card loading state and status timer updates + EmptyPositions update (#64)

* feat: loading functionality + fix for status timer

* chore: update copy for empty-positions

* revert: use hasActionButtons prop instead of impicit onClose

* DTRA-1279/ Kate/ Feat: add Date picker (#62)

* feat: add second action sheet

* feat: add date range formatting and refactored existing code

* feat: add range selection filtration

* refactor: chip and time filter

* fix: empty posituions after filtration

* refactor: do clean up

* chore: rename variables

* chore: localization

* DTRA-1279 / Kate/ Add filtration hooks  (#65)

* feat: create hooks

* refactor: rename methods

* DTRA-1279 / Kate / Add tests  (#66)

* refactor: add tests for chip component

* refactor: add tests for date picker

* refactor: add tests for contract type filter

* refactor: add tests for custom time filter button

* refactor: add tests for positions utils

* DTRA-1279 / Kate / Double filtration and extra filter options (#67)

* fix: filtration for today and yersterday

* fix: double filter

* refactor: change style after design confirmation and sort props

* refactor: start adding tets for time filter

* chore: apply suggestions

* chore: update quill and token library version

* DTRA-1279 / Kate / Add section separator  (#68)

* feat: add sections with date

* feat: make filter always visible

* refactor: style for date separator

* refactor: format time function

* refactor: add tests

* chore: remove unused wrapper

* chore: apply suggestions

* DTRA-1279 / Kate / Tech Debt (#69)

* refactor: add more test cases for time-filter

* refactor: add tests for hooks

* refactor: removed some todos

* Maryia/positions-redesign/finilise contract card + add total profit loss + initiate pagination in closed positions (#70)

* refactor: utilize Tag in ContractCardStatusTimer

* chore: add opacity transition to buttons when revealing/hiding them

* feat: add total profit + improve card

* fix: card deletion transition + total pnl positioning

* feat: add pagination on scroll (initial version)

* fix: loading state and loading more on infinite scroll in Closed tab (#71)

* DTRA-1279 / Kate / Tech Debt part 2 [WIP] (#72)

* refactor: add tests for utils functions + removed unused hook

* refactor: move total profit loss to a separate folder and add  tests

* refactor: add tests for positions

* refactor: add tests for position content file

* Maryia/positions-redesign/test contract card + fix scroll behavior, dates formatting, and filtering Closed positions (#73)

* test: contract-card

* fix: hide filters on scroll + utilize moment for formatting date in closed tab

* refactor: update quill version and refactor

* refactor: chip component (#74)

* refactor: position content page

* Maryia/positions-redesign/test: ContractCardList, ContractCardStatusTimer, PositionsStore, getCurrentTick() + refactoring (#75)

* test: contract-card-list

* test: ContractCardStatusTimer

* test: getCurrentTick() in contract.tsx in shared

* test: PositionsStore

* test: add more tests to ContractCardList

* refactor: desctructure props in mocked component

* Maryia/positions-redesign/fix: tests + address sonarcloud + use clsx (#76)

* fix: tests + address sonarcloud

* refactor: use clsx instead of classnames

* refactor: sonarcloud - reduce complexity

* fix: cards filtering in PositionsContent + tests + style+bug fixes

* build: trigger checks

* fix: hasNoActiveFilters condition

* fix: update package version and remove prop from action sheet

* chore: rename function

* Maryia/positions-redesign/feat: display correct active positions count (binary-com#77)

* feat: display correct active positions count

* fix: BottomNav tests

* refactor: filter behaviour

* chore: add padding

* fix: positions count in footer to not show 0 (binary-com#78)

* refactor: total profit loss

* chore: add tests for tpl and refactor date picker

* refactor: add loadre inside of empty positions

* fix: tests

* Maryia/positions-redesign/fix: loader on infinite scroll in Closed tab + make redirectTo prop optional in ContractCard (binary-com#79)

* fix: place loading after contract cards sections

* chore: make redirection optional when clicking on contract card

* chore: rename timet

* DTRA-1279 / Kate / Add a single date selection (binary-com#80)

* feat: add partial range

* refactor: tests

* refactor: callback

---------

Co-authored-by: kate-deriv <kate@regentmarkets.com>
Co-authored-by: kate-deriv <121025168+kate-deriv@users.noreply.github.com>
Co-authored-by: balakrishna-deriv <56330681+balakrishna-deriv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.