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

Ramin/rebase fe changes with dev 3 #304

Closed

Conversation

ramin-deriv
Copy link
Contributor

Clickup link:
Fixes issue: #

This PR contains the following changes:

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

Developers Note (Optional)

Pre-launch Checklist (For PR creator)

As a creator of this PR:

  • ✍️ I have included clickup id and package/app_name in the PR title.
  • 👁️ I have gone through the code and removed any temporary changes (commented lines, prints, debug statements etc.).
  • ⚒️ I have fixed any errors/warnings shown by the analyzer/linter.
  • 📝 I have added documentation, comments and logging wherever required.
  • 🧪 I have added necessary tests for these changes.
  • 🔎 I have ensured all existing tests are passing.

Reviewers

Pre-launch Checklist (For Reviewers)

As a reviewer I ensure that:

  • ✴️ This PR follows the standard PR template.
  • 🪩 The information in this PR properly reflects the code changes.
  • 🧪 All the necessary tests for this PR's are passing.

Pre-launch Checklist (For QA)

  • 👌 It passes the acceptance criteria.

Pre-launch Checklist (For Maintainer)

  • [MAINTAINER_NAME] I make sure this PR fulfills its purpose.

maryia-deriv and others added 30 commits October 31, 2022 11:04
- setup drawing tools config
- migrate flutter to version 3.10.0
- update dependencies
* feat: make_drawings_draggable

* line_changes_added_before_cleanup

* cleanup

* extract_drawing_tool_chart

* fixed_crosshair_issue

* fix_long_press_issue

* make_drawing_class_abstract

* fix_review_issues

* added_enum_for_darwing_parts

* fix_review_comments

* fix_review_pointed_out_issues

* fix_comments

* add initial value for draggable edge point and remove extra inputs

* add vector.zero

* drawing_selection_added

* review_comments

* handle unfinished drawings

* fix_review_comments

* fix_json_autogenerated_files_issue
- Add continuous drawing tool
- add trend drawing tool
- add ray drawing tool
* feat: add_continuous_drawing_tool

* a little refactor

* cleanup

* refactor

* refactor the code

* add comment

* fix_review_comments

* extracting drawing tools logic from deriv chart

* fix the issue with dragging line edge points

* feat: add_fibfan_drawing_tool

* fix_draggable_edge_points_bug

* fix_draggable_edge_points_bug

* add_typedef_for_onadddrawing

* add_labels

* fix_issue

* fix_label_issue

* fix review comments

* fix review comments

* constants added

* fix issue with markers and shadow overlapping
- add rectangle drawing tool
- add Horizontal Drawing tool
* Ahmad/78749/Drawing tool- Horizontal

* Ahmad/78749/Drawing tool- Horizontal

* adding constant file

* yCood, _startingYPoint to quote,_startingQuote

* Adding label

* drawing Label class

* PR fixes

* testing branch

* removing comment

* PR Fixes

* Adding descriptive comment

* merge commit fix

* sequence of drawing tools in dialog

* label design fix

* merge fixes reopened

---------

Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
- drawing tools performance improvement
- add web support
- add restore drawing feature
- drawing tools integration
* feat: expose chart scaling

* feat: web adapter init

* chore: add models

* chore: fix lint issues

* chore: fix issue with map

* chore: fix map issue 2

* chore: update light theme colors

* feat: integrate multiplier barrier and shade

* feat: draggable barrier - relative and absolute

* feat: add web markers support

* feat: contract replay painter

* chore: add interops and callbacks

* chore: add util functions

* chore: add flag to hide crosshair

* chore: active marker drawing and update end icon

* Revert "feat: draggable barrier - relative and absolute"

This reverts commit 0ecba93c26852abf42953aa6b7f01969a2ee68de.

* Revert "feat: integrate multiplier barrier and shade"

This reverts commit 49fa8a87f4925f4ed697ee20d249ad027e9fee5d.

* chore: fix instance issue

* fix: marker drawings

* refactor: start and end markers

* chore: add digit contract toggle

* refactor: tick points

* chore: fix quote grid initial render

* refactor: chart options

* add indicatorsRepo

* fix: order of repaint check

* chore: add id to indicators

* fix: ambiguous import issue

* chore: indicator integration

* refactor: add dart interop

* refactor: interop

* chore: remove web_adapter

* chore: show y-axis on indicators

* chore: remove unused import

* chore: add id to series

* feat: add bottom chart options

* chore: add crosshair callbacks

* chore: update dataFitMode

* chore: show icons if the prop is null

* refactor: remove unused code

* refactor: marker and crosshair

* fix: series type comparison

* fix: review comments

* refactor: remove painters related to web charts

* refactor: remove web marker paintings

* refactor: remove web related props

* chore: remove bool compare

* chore: add repository interface

* refactor: modify to interface

* add maxCurrentTickOffset config

* chore: remove id

* refactor: indicator repository

* chore: add bar style to gator

* chore: remove id from indicator config

* chore: generate g.dart files

* chore: macd add configs

* chore: add roc line style

* chore: add linestyle to StochasticOscillator

* chore: add linestyle to william r indicator

* chore: add color config to aroon indicator

* chore: add ADX configs

* chore: add ichimoku line styles

* chore: add bollinger line styles

* chore: add linestyle to ma env

* chore: add line style to alligator

* chore: remove id form add on

* chore: update bollinger bands colors

* refactor: remove marker area changes

* refactor: update to _getIndicatorSeries

* chore: add createAddOn callback

* chore: add title to the indicator

* chore: sort out review comments

* feat: add expand/collapse and move icons

* fix: null exception on delete indicator

* chore: remove unnecessary non-nullable type

* fix: pinch-to-zoom

* fix: add missing title to dpo

* chore: hide move icons when expanded

* fix: builds the widget after animation to render the y-axis correctly

* fix: pinch to zoom on mobile

* refactor: make functions in repository consistent

* chore: add linestyle to dpo indicator

* chore: update crosshair doc

* refactor: update to repo interface

* Bug fixes 1 (#12)

* chore: exposes scrollBy function

* chore: customize msPerPx and leftMargin

* chore: add second intervals

* chore: configuration to change rainbow colors

* Ahmad/78749/Drawing tool- Horizontal

* Ahmad/78749/Drawing tool- Horizontal

* adding constant file

* removing the horizontal tool functionality

* chore: expore series and indicator configs

* chore: make line series public inorder to access it from outside the chart

* chore: expose indicator series and fix williams oscillator series

* chore: expose indicator series

* fix: bottom title for dark theme

* chore: expose make series and configs

* fix: wrap expandedIndex in setState

* fix: channel fill for bollinger and donchian

* fix: check shouldUpdate for series to draw it when the config is changed

* chore: add shouldRepaint override for MA Series

* chore: fix bottom chart title color

* chore: modify candle colors for light theme

* fix: theme text

* chore: fix theme text

* fix: html mode barrier painting

* fix for endIndex

* removing stashed data

* day seperator

* revert zigzag fix

* chore: remove candle style here

* changing color to theme color

* formatting

* chore: add showLastIndicator config

* chore: add pipsize for bottom indicators

* chore: add last indicator alligator

* chore: add pipsize to indicators #2

* chore: add pipsize and lastindicatorstyle to idnicators #3

* chore: add pipsize and lastindicatorstyle to indicators #4

* chore: add last indicator style for overlay indicators

* chore: add fcb configs

* refactor: timestamp variable

* chore: add adx shading

* chore: fix y-axis labels

* Ahmad/Adx Indicator fix (#11)

* smi fix

* adx and gator

* chore: add container to get height and width from size

* chore: revert startWithDataFitMode

* chore: add showDataFitButton and animation props

* chore: add padding and margin to props

* revert: vertical padding

* chore: expose verticalPaddingFraction

* fix: isLive issue

* chore: revert changes

* chore: customize minIntervalWidth

* chore: remove showLoadingAnimationForHistoricalData customization.

* chore: move assets to different package

* refactor: controller fn

* chore: get current msPerPx

* Revert "chore: move assets to different package"

This reverts commit be7fea8e24a3abf4427d51d35691794eceb55c36.

* chore: add maxIntervalWidth

* chore: add loading animation color

* chore: add condition to show scroll to recent button

* chore: call onScale update

* chore: crosshair related changes

---------

Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
Co-authored-by: ahmadtaimoor-deriv <[email protected]>

* chore: remove unused import

* chore: add line styles for rainbow indicator

* fix: merge issues

* chore: add assert to RainbowIndicatorConfig

* feat: add combinePaths function

* chore: update document

* Update lib/src/deriv_chart/chart/data_visualization/helpers/find_intersection.dart

Co-authored-by: ramin-deriv <[email protected]>

* chore: add animation dependency to marker area

* chore: add minElapsedTimeToFollow prop

* chore: add props to customize animation duration and to show blink animation

* chore: update distant constant to fix flickering issue

* fix: indicator exception on selecting MovingAverageType

* fix: duplicate import

* refactor: make duration props non nullable

* fix: expanded index when bottom indicator is removed

---------

Co-authored-by: balakrishna-binary <[email protected]>
Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
Co-authored-by: ahmadtaimoor-deriv <[email protected]>
Co-authored-by: ramin-deriv <[email protected]>
* add_drawing_tool_documentation

* add more description base on review comments

* small fix

* add more description
* fix trend drawing off-screen calculation

* improve DraggableEdgePointExtension doc

* Fix issues after merge commit

* add repaint boundary

* remove the print statement
…ly (#281)

* showing line seperator on day only

* line space fix

* checking chart with zoom

* removing granularity

* add comment
* refactor: move onTapDown code to onLongPressDown

* chore: improve performance of x-axis scroll

* refactor: pass animation duration to bottom chart

* refactor: remove minElapsedTimeToFollow

* chore: export barrier objects

* fix: zoom jump issue

* chore: add repaint boundary to marker, xaxis and yaxis labels and annotations

* chore: remove repaint boundary for annotations

* fix: annotations jump issue

* fix: clamp epoch on scale

* fix: zoom issue
* adding needsRepaint

* removing space

* returning true in horizontal needsRepaint

* review fixes

* review comment fix formatting

* removing if condition

* optimizing return statement

* line and fibfan repaint on each render

* adding comment for line and fibfan

* fix for mouse for drawing tool
Bahar and others added 29 commits March 7, 2024 17:52
- Add continuous drawing tool
- add trend drawing tool
- add ray drawing tool
* feat: add_continuous_drawing_tool

* a little refactor

* cleanup

* refactor

* refactor the code

* add comment

* fix_review_comments

* extracting drawing tools logic from deriv chart

* fix the issue with dragging line edge points

* feat: add_fibfan_drawing_tool

* fix_draggable_edge_points_bug

* fix_draggable_edge_points_bug

* add_typedef_for_onadddrawing

* add_labels

* fix_issue

* fix_label_issue

* fix review comments

* fix review comments

* constants added

* fix issue with markers and shadow overlapping
- add rectangle drawing tool
- add Horizontal Drawing tool
* Ahmad/78749/Drawing tool- Horizontal

* Ahmad/78749/Drawing tool- Horizontal

* adding constant file

* yCood, _startingYPoint to quote,_startingQuote

* Adding label

* drawing Label class

* PR fixes

* testing branch

* removing comment

* PR Fixes

* Adding descriptive comment

* merge commit fix

* sequence of drawing tools in dialog

* label design fix

* merge fixes reopened

---------

Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
- drawing tools performance improvement
- add restore drawing feature
- drawing tools integration
* feat: expose chart scaling

* feat: web adapter init

* chore: add models

* chore: fix lint issues

* chore: fix issue with map

* chore: fix map issue 2

* chore: update light theme colors

* feat: integrate multiplier barrier and shade

* feat: draggable barrier - relative and absolute

* feat: add web markers support

* feat: contract replay painter

* chore: add interops and callbacks

* chore: add util functions

* chore: add flag to hide crosshair

* chore: active marker drawing and update end icon

* Revert "feat: draggable barrier - relative and absolute"

This reverts commit 0ecba93.

* Revert "feat: integrate multiplier barrier and shade"

This reverts commit 49fa8a8.

* chore: fix instance issue

* fix: marker drawings

* refactor: start and end markers

* chore: add digit contract toggle

* refactor: tick points

* chore: fix quote grid initial render

* refactor: chart options

* add indicatorsRepo

* fix: order of repaint check

* chore: add id to indicators

* fix: ambiguous import issue

* chore: indicator integration

* refactor: add dart interop

* refactor: interop

* chore: remove web_adapter

* chore: show y-axis on indicators

* chore: remove unused import

* chore: add id to series

* feat: add bottom chart options

* chore: add crosshair callbacks

* chore: update dataFitMode

* chore: show icons if the prop is null

* refactor: remove unused code

* refactor: marker and crosshair

* fix: series type comparison

* fix: review comments

* refactor: remove painters related to web charts

* refactor: remove web marker paintings

* refactor: remove web related props

* chore: remove bool compare

* chore: add repository interface

* refactor: modify to interface

* add maxCurrentTickOffset config

* chore: remove id

* refactor: indicator repository

* chore: add bar style to gator

* chore: remove id from indicator config

* chore: generate g.dart files

* chore: macd add configs

* chore: add roc line style

* chore: add linestyle to StochasticOscillator

* chore: add linestyle to william r indicator

* chore: add color config to aroon indicator

* chore: add ADX configs

* chore: add ichimoku line styles

* chore: add bollinger line styles

* chore: add linestyle to ma env

* chore: add line style to alligator

* chore: remove id form add on

* chore: update bollinger bands colors

* refactor: remove marker area changes

* refactor: update to _getIndicatorSeries

* chore: add createAddOn callback

* chore: add title to the indicator

* chore: sort out review comments

* feat: add expand/collapse and move icons

* fix: null exception on delete indicator

* chore: remove unnecessary non-nullable type

* fix: pinch-to-zoom

* fix: add missing title to dpo

* chore: hide move icons when expanded

* fix: builds the widget after animation to render the y-axis correctly

* fix: pinch to zoom on mobile

* refactor: make functions in repository consistent

* chore: add linestyle to dpo indicator

* chore: update crosshair doc

* refactor: update to repo interface

* Bug fixes 1 (#12)

* chore: exposes scrollBy function

* chore: customize msPerPx and leftMargin

* chore: add second intervals

* chore: configuration to change rainbow colors

* Ahmad/78749/Drawing tool- Horizontal

* Ahmad/78749/Drawing tool- Horizontal

* adding constant file

* removing the horizontal tool functionality

* chore: expore series and indicator configs

* chore: make line series public inorder to access it from outside the chart

* chore: expose indicator series and fix williams oscillator series

* chore: expose indicator series

* fix: bottom title for dark theme

* chore: expose make series and configs

* fix: wrap expandedIndex in setState

* fix: channel fill for bollinger and donchian

* fix: check shouldUpdate for series to draw it when the config is changed

* chore: add shouldRepaint override for MA Series

* chore: fix bottom chart title color

* chore: modify candle colors for light theme

* fix: theme text

* chore: fix theme text

* fix: html mode barrier painting

* fix for endIndex

* removing stashed data

* day seperator

* revert zigzag fix

* chore: remove candle style here

* changing color to theme color

* formatting

* chore: add showLastIndicator config

* chore: add pipsize for bottom indicators

* chore: add last indicator alligator

* chore: add pipsize to indicators #2

* chore: add pipsize and lastindicatorstyle to idnicators #3

* chore: add pipsize and lastindicatorstyle to indicators #4

* chore: add last indicator style for overlay indicators

* chore: add fcb configs

* refactor: timestamp variable

* chore: add adx shading

* chore: fix y-axis labels

* Ahmad/Adx Indicator fix (#11)

* smi fix

* adx and gator

* chore: add container to get height and width from size

* chore: revert startWithDataFitMode

* chore: add showDataFitButton and animation props

* chore: add padding and margin to props

* revert: vertical padding

* chore: expose verticalPaddingFraction

* fix: isLive issue

* chore: revert changes

* chore: customize minIntervalWidth

* chore: remove showLoadingAnimationForHistoricalData customization.

* chore: move assets to different package

* refactor: controller fn

* chore: get current msPerPx

* Revert "chore: move assets to different package"

This reverts commit be7fea8.

* chore: add maxIntervalWidth

* chore: add loading animation color

* chore: add condition to show scroll to recent button

* chore: call onScale update

* chore: crosshair related changes

---------

Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
Co-authored-by: ahmadtaimoor-deriv <[email protected]>

* chore: remove unused import

* chore: add line styles for rainbow indicator

* fix: merge issues

* chore: add assert to RainbowIndicatorConfig

* feat: add combinePaths function

* chore: update document

* Update lib/src/deriv_chart/chart/data_visualization/helpers/find_intersection.dart

Co-authored-by: ramin-deriv <[email protected]>

* chore: add animation dependency to marker area

* chore: add minElapsedTimeToFollow prop

* chore: add props to customize animation duration and to show blink animation

* chore: update distant constant to fix flickering issue

* fix: indicator exception on selecting MovingAverageType

* fix: duplicate import

* refactor: make duration props non nullable

* fix: expanded index when bottom indicator is removed

---------

Co-authored-by: balakrishna-binary <[email protected]>
Co-authored-by: Ahmad Taimoor <ahmadtaimoor@Ahmad-Taimoor-Suddles-MacBook-Pro-C02YN1TNJGH6.local>
Co-authored-by: ahmadtaimoor-deriv <[email protected]>
Co-authored-by: ramin-deriv <[email protected]>
* add_drawing_tool_documentation

* add more description base on review comments

* small fix

* add more description
* fix trend drawing off-screen calculation

* improve DraggableEdgePointExtension doc

* Fix issues after merge commit

* add repaint boundary

* remove the print statement
* refactor: move onTapDown code to onLongPressDown

* chore: improve performance of x-axis scroll

* refactor: pass animation duration to bottom chart

* refactor: remove minElapsedTimeToFollow

* chore: export barrier objects

* fix: zoom jump issue

* chore: add repaint boundary to marker, xaxis and yaxis labels and annotations

* chore: remove repaint boundary for annotations

* fix: annotations jump issue

* fix: clamp epoch on scale

* fix: zoom issue

* chore: allow config for dataFitPadding

* chore: temp fix for missing y-axis

* chore: create a y-axis label painter for web

* chore: add x-axis labels for web

* chore: add XAxisModelWeb

* Revert "chore: add XAxisModelWeb"

This reverts commit ddc58c476eb41e05e29a56f73c40dfccf956de7c.

* chore: add XAxisWrapper

* refactor: rename x-axis file

* chore: update docs

* fix: scroll animation on 1m above intervals

* chore: update documentation

* chore: update documentation

* refactor: update textstyle creation
* fibfan fix

* fixing the trend invisibility on overlap

* overlap fix

* removing extra code

* review changes

* review fix
* removing calculateValues and refactor donchain

* adding PR in pubspec

* review fix

* changing technical analysis branch

* change dev branch

* review fix
* fibfan fix

* fixing the trend invisibility on overlap

* overlap fix

* removing extra code

* review changes

* review fix

* regression bug
…or change (#299)

* fix: change overbought, oversold color and make color picker work

* fix: change from relative to absolute import

* fix: make import more specific rather than importing the whole deriv_chart folder

* fix: resolve comment

* fix: put overbought and oversold style from smi indicator config instead of options
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.

7 participants