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

feat: flexible order time selection ui changes #4

Merged

Conversation

nada-deriv
Copy link
Owner

@nada-deriv nada-deriv commented Aug 23, 2023

Changes:

ui changes for flexible order time selection => dropdown in create/edit ad, new modal onclicking info icon

Screenshots:

Please provide some screenshots of the change.
Screenshot 2023-08-24 at 9 50 38 AM
Screenshot 2023-08-24 at 9 51 04 AM

Screenshot 2023-08-24 at 10 02 41 AM

@coveralls
Copy link

coveralls commented Aug 23, 2023

Pull Request Test Coverage Report for Build 5962748296

  • 10 of 13 (76.92%) changed or added relevant lines in 6 files are covered.
  • 5718 unchanged lines in 52 files lost coverage.
  • Overall coverage increased (+0.09%) to 10.137%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/p2p/src/components/my-ads/create-ad-form.jsx 0 1 0.0%
packages/p2p/src/components/my-ads/edit-ad-form.jsx 0 1 0.0%
packages/p2p/src/constants/modals.js 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
packages/cashier/src/constants/routes-config.tsx 1 90.0%
packages/cashier/src/pages/withdrawal/withdrawal.tsx 1 93.22%
packages/cashier/src/components/cashier-locked-checker/cashier-locked-checker.tsx 4 53.85%
packages/cashier/src/pages/withdrawal/withdrawal-verification-email/withdrawal-verification-email.tsx 6 0%
packages/cashier/src/containers/cashier/cashier.tsx 10 80.34%
packages/cfd/dist/cfd/js/CFDPasswordModal.js 50 0%
packages/cfd/dist/cfd/js/CFDResetPasswordModal.js 50 0%
packages/cfd/dist/cfd/js/CFDServerErrorDialog.js 50 0%
packages/cfd/dist/cfd/js/CFDTopUpDemoModal.js 50 0%
packages/cfd/dist/cfd/js/CompareAccountsModal.js 50 0%
Totals Coverage Status
Change from base Build 5951980856: 0.09%
Covered Lines: 10174
Relevant Lines: 83817

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Aug 24, 2023

Generating Lighthouse report...

export const order_list = {
ACTIVE: 'active',
INACTIVE: 'inactive',
};

export const order_time_info_message = localize('Orders will expire if they aren’t completed within this time.');

Choose a reason for hiding this comment

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

why is this in constants file?

@nada-deriv nada-deriv merged commit 4d91c47 into nada/P2PS-637/flexible-order-time Aug 28, 2023
2 checks passed
nada-deriv pushed a commit that referenced this pull request Sep 7, 2023
* refactor: ts migration of chart loader

* refactor: ts migration of screen large form and started purchase

* refactor: add types in store and refcator contract

* refactor: ts migaration of purchase field

* refactor: ts migration of cancel deal info

* refactor: ts migration of the purchase btn

* refactor: cancel deal info

* refactor: remove simular types

* refactor: create file for types

* chore: cover return value with react fragment

* refactor: apply suggestions

* refactor: update imports

* refactor: type returned value

* refactor: left an explanation of expecting ts error

* Akmal / feat: migrate EmptyPortfolioMessage, ErrorComponent and Page404 in Trader package (#5)

* feat: migrate Page404 to Typescript

* feat: migrate EmptyPortfolioMessage to Typescript

* feat: migrate ErrorComponent to Typescript

* fix: dialog prop

* fix: dialog type

* chore: remove React.FC

* maryia/WEBREL-321/feat: migrate Actions files to TS (#4)

* feat: migrate /contract-type.js to ts & remove barrier.js

* feat: migrate duration to ts + remove unused currency.js

* feat: migrate actions/purchase to ts

* feat: migrate actions/symbol to ts

* feat: migrate start-date.js to ts

* feat: migrate actions/test.js to ts

* chore: improve types in start-date and duration

* fix: address review comments

* revert: unnecessary line deletion

* fix: address reviews

* refactor: remove some code smells

* refactor: remove code smells

* refactor: update types in stores

* Akmal / feat: migrate utils in Trader package  (deriv-com#9)

* feat: migrate MarketUnderlying to Typescript

* feat: migrate errors to Typescript

* feat: migrate error spec to Typescript

* feat: migrate index to Typescript

* feat: migrate validator to Typescript

* feat: trigger vercel

* chore: sort options alphabetically

* fix: TValidationResult type

* chore: prettier formatting

* refactor: reduce code smells

* chore: validator type improvements (deriv-com#12)

* Kate / DTRA-249 / Code refactoring and removing duplicated files (deriv-com#13)

* refactor: remove duplicated file

* refactor: test improvements

* fix: removed forgotten import

* chore: empty commit to retrigger checks

* refactor: apply suggestion

* maryia/DTRA-260/TS migration of /Constants files & SmartChart/Helpers files in Trader (#6)

* feat: validation-rules and ui.js to ts

* chore: squash merge maryia/WEBREL-321/actions-to-TS changes

* chore: added types to validation-rules.ts

* chore: remove unused ui.js, migrate used ui.js and index.js to ts

* chore: remove unused ui.js

* chore: remove unused markers.js, and migrate barriers.js to ts

* chore: added types to barriers.js and its test

* test: add missing test for removeBarrier to barriers

* Revert "chore: squash merge maryia/WEBREL-321/actions-to-TS changes"

* feat: migrated chart-barrier-store.js to ts

* feat: remove unused ChartMarkerStore

* build: trigger build

* fix: address review comments

* henry/webrel-319/ts-migration-modules-trading-helpers-folder (deriv-com#11)

* fix: merge conflicts

* fix: resolve comments

* fix: remove comment

* fix: add loadash types dependency

* refactor: move error type to common props file

* fix: circle CI

* fix: resolve comment

* fix: bug

* fix: convert returntype to use ttradestore

* empty commit

* fix: type change

* fix: resolve comments

* fix: comments

* maryia/861n17c54/fix: sonarcloud warnings (deriv-com#14)

* fix: sonarcloud warnings

* fix: types

* fix: resolve conflicts

* refactor: apply suggestions

* refactor: add last suggestion

* refactor: tests

* refactor: update function

* refactor: add ts migration of exist tests

* fix: tests

* fix: test case

---------

Co-authored-by: Akmal Djumakhodjaev <akmal@binary.com>
Co-authored-by: Maryia <103177211+maryia-deriv@users.noreply.github.com>
Co-authored-by: henry-deriv <118344354+henry-deriv@users.noreply.github.com>
Co-authored-by: Matin shafiei <matin@deriv.com>
nada-deriv pushed a commit that referenced this pull request Sep 20, 2023
…hint

chore: refactored temporarily barred hint component
nada-deriv pushed a commit that referenced this pull request Sep 27, 2023
* fix: initial commit

* fix: initial setup for useReportsStore

* chore: remove connect from account-statistics (#2)

* chore: remove connect from filter-component (#3)

* fix: refactor useReportsStores

* chore: remove connect from Indicative-cell (#4)

* fix: reduce typescript errors

* fix: sonarcloud

* fix: resolve typescript errors

* chore: remove connect from composite-calendar

* fix: type fix

* fix: remove connect files and mobx providers

* fix: resolve comments

* fix: resolve comment

* fix: remove unused files

* fix: fix types

* fix: resolve comments

* fix: resolve comments

* fix: snoarcloud

* fix: comment

* fix: comment

* fix: resolve comment

* fix: add onclick to test

* fix: reset with master

* fix: resolve comment

---------

Co-authored-by: Matin shafiei <matin@binary.com>
Co-authored-by: “Matin-deriv” <matin@deriv.com>
nada-deriv pushed a commit that referenced this pull request Jan 10, 2024
* fix: delete export from ButtonGroup

* feat: add TradeModal

* feat: add some data

* feat: add test button

* feat: add images and some styles

* refactor: delete comments

* feat: add onClick for CFDs open modal button

* feat: almost done

* feat: almost done

* refactor: delete helper code from TradersHubRoute

* feat: implemet review suggestions

* feat: implement more comments

* feat: change mt5 to CFDPlatforms

* feat: implement comments 3

* feat: change Text size

* feat: implement comments #4
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.

6 participants