Skip to content

feat(debug-console): integrate dxscript code editor and align chart c…#35

Open
antonio-pedro99 wants to merge 5 commits into
dxFeed:mainfrom
antonio-pedro99:feature/dxscript-code-editor-and-align-dxchart
Open

feat(debug-console): integrate dxscript code editor and align chart c…#35
antonio-pedro99 wants to merge 5 commits into
dxFeed:mainfrom
antonio-pedro99:feature/dxscript-code-editor-and-align-dxchart

Conversation

@antonio-pedro99
Copy link
Copy Markdown
Member

@antonio-pedro99 antonio-pedro99 commented Apr 22, 2026

This pull request refactors the charting and code editor integration in the dxlink-docs package to use new, specialized packages for chart and editor functionality. It removes direct dependencies on @devexperts/dxcharts-lite and Ace editor, replacing them with @dxscript/dxlink-dxcharts-lite and @dxscript/dxlink-dxscript-editor. The chart rendering logic in the debug console is updated to leverage the new chart API, simplifying the code and improving maintainability. Several files related to the old Ace editor integration, chart configuration, and code completions are removed.

Dependency and Integration Updates:

  • Switched chart and editor dependencies from @devexperts/dxcharts-lite, ace-builds, and react-ace to @dxscript/dxlink-dxcharts-lite and @dxscript/dxlink-dxscript-editor in package.json, and removed @dxscript/js-samples.
  • Imported the new chart CSS from @dxscript/dxlink-dxcharts-lite/styles.css to ensure correct chart styling.

Chart Rendering Refactor:

  • Updated CandlesChannelManager and script-candles-channel-manager to use the new IndiChart component and its API, removing manual chart creation, color configuration, and direct DOM manipulation. Chart data is now pushed via the new API, and error handling is added. [1] [2] [3] [4]

Code Cleanup and Removal:

  • Removed the custom Ace editor mode integration and code completions for dxscript, as well as the chart color configuration file, since these are now handled by the new editor and chart packages. [1] [2] [3]

  • Removed the unused JSIcon component from the debug console icons.…omponents with dxscript/dxlink-dxcharts-lite

  • Replace @devexperts/dxcharts-lite with @dxscript/dxlink-dxcharts-lite for chart rendering

  • Integrate @dxscript/dxlink-dxscript-editor for script editing with samples and error display

  • Refactor CandlesChannelManager and ScriptCandlesChannelManager to use IndiChart and IndiChartHandle

  • Simplify indicator data handling and chart updates

  • Remove legacy JSIcon and AceEditor code

  • Update dependencies and lockfile accordingly

Fixes #32

…omponents with dxscript/dxlink-dxcharts-lite

- Replace @devexperts/dxcharts-lite with @dxscript/dxlink-dxcharts-lite for chart rendering
- Integrate @dxscript/dxlink-dxscript-editor for script editing with samples and error display
- Refactor CandlesChannelManager and ScriptCandlesChannelManager to use IndiChart and IndiChartHandle
- Simplify indicator data handling and chart updates
- Remove legacy JSIcon and AceEditor code
- Update dependencies and lockfile accordingly
Comment thread dxlink-javascript/dxlink-docs/package.json Outdated
@antonio-pedro99 antonio-pedro99 marked this pull request as ready for review April 29, 2026 12:06
@antonio-pedro99 antonio-pedro99 marked this pull request as draft April 29, 2026 12:06
@antonio-pedro99 antonio-pedro99 marked this pull request as ready for review April 29, 2026 12:11
@antonio-pedro99 antonio-pedro99 requested a review from Fyzu April 30, 2026 11:19
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.

[debug-console]: align dxChart features with the new dxScript version

2 participants