## [0.8.1] - 2026-03-18 - Plugin System Refactor, Chart Patterns & Drawing Tool Improvements#32
Merged
alaa-eddine merged 8 commits intomainfrom Mar 18, 2026
Merged
## [0.8.1] - 2026-03-18 - Plugin System Refactor, Chart Patterns & Drawing Tool Improvements#32alaa-eddine merged 8 commits intomainfrom
alaa-eddine merged 8 commits intomainfrom
Conversation
Fix : allow setting empty title
Plugins refactor
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[0.8.1] - 2026-03-18 - Plugin System Refactor, Chart Patterns & Drawing Tool Improvements
Added
LineTool/,FibonacciTool/,MeasureTool/, etc.) with a dedicatedDrawingRendererclass, tool class, andindex.tsbarrel. Key architectural changes:DrawingRenderer/DrawingRenderContextinterfaces exported fromtypes.ts— renderers receive typed pixel coordinates and selection state, returning an ECharts graphic element.DrawingRendererRegistry— maps drawing type strings to their renderer; plugins self-register on init.DrawingTypewidened from a fixed union tostring, allowing fully custom drawing types.ChartContextgainsregisterDrawingRenderer()so plugins can extend the render pipeline.ToolGroupclass — wraps multiple plugins into a single toolbar button with a chevron-indicator dropdown.ABCDPatternTool— classic 4-point ABCD harmonic patternXABCDPatternTool— 5-point XABCD harmonic patternCypherPatternTool— Cypher harmonic patternHeadAndShouldersTool— Head & Shoulders / Inverse H&SThreeDrivesPatternTool— Three Drives patternTrianglePatternTool— Triangle (ascending / descending / symmetrical)FibSpeedResistanceFanTool— Fibonacci Speed & Resistance FanFibonacciChannelTool): Multi-segment channel drawn from two anchor points with configurable Fibonacci levels.FibTrendExtensionTool): Three-point trend extension tool projecting Fibonacci price targets beyond the impulse move.Ctrlwhile placing or dragging a drawing point snaps it to nearby OHLC levels on the closest candle. Implemented inAbstractPluginand active across all drawing tools.Fixed
show: false, pan and zoom interactions stopped working entirely. Fixed by keeping the underlying event listeners active regardless of visibility.DrawingEditorcausing incorrect point snapping and state transitions when placing and editing multi-point drawing tools.