forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maryia/OPT-323/feat: Accumulators barriers improvements (deriv-com#9554)
* feat: make barriers persistent on dtrader chart * fix: profit font for responsive * Revert "feat: make barriers persistent on dtrader chart" This reverts commit c13147f. * chore: reduce profit text font size * feat: passing whitespace to charts for accu * feat: test draft persistent barriers on the chart * Revert "feat: test draft persistent barriers on the chart" This reverts commit 5dde3d5. * chore: increase width * chore: added barriers for each sold contract * chore: remove barrier-spot difference value for sold contract barriers * feat: redesign mobile infobox * feat: re-design profit tooltip * feat: add yaxis margin for default rescaling to keep barrier range in sight * feat: using yAxisMargin to re-scale the chart * feat: use yAxisMargin prop to adjust scaling * chore: use settings to set scaling * test: add tests for getAccuChartScaleParams * chore: finish incapsulating logic in smartcharts * refactor: drawShadedBarriers * test: refactor and improve tests for getAccuBarriersDTraderTimeout * test: refactor and improve tests for getAccuBarriersDTraderTimeout * refactor: drawAccuBarrierRange * fix: initial rendering of barrier range in c.details * test: getAccuBarriersDTraderTimeout * build: update charts version to 1.3.3 * build: update charts to the latest version * refactor: rename var * revert: max tix for mobile + update whitespace value for accumulators * fix: longcode tooltip & barrier range width in dtrader mobile * fix: max_longcode_length as per latest design change * fix: accu barrier range width * revert: unnecessary files * revert: package-lock * revert: package-lock
- Loading branch information
1 parent
f58572e
commit 4687847
Showing
16 changed files
with
218 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.