Skip to content

Status line action menu, symbol logo toggle, and hidden-chart eye - #101

Merged
alaa-eddine merged 1 commit into
devfrom
feat/statusline-action-menu
Aug 30, 2026
Merged

alaa-eddine merged 1 commit into
devfrom
feat/statusline-action-menu

Conversation

@alexgrover

@alexgrover alexgrover commented Aug 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Right-click action menu on the status line — a checkable toggle per element (Symbol logo, Symbol name, Market status, OHLC values, Bar change values) plus Hide chart / Show chart, driving the same candleVisible renderer feature as the object tree's eye. The click never opens the chart's own context menu.
  • New Symbol logo toggle in the settings dialog's Status line tab (status-line.logo), mirrored across style-linked cells like the other parts. Hiding Symbol name now also hides the venue/timeframe meta beside it ("BTCUSDT · BINANCE · 1h" reads as one label).
  • Legend-row dressing — hovering the status line outlines it with the same inset border the indicator legend rows wear; while the chart is hidden the line dims to 0.5, drops its OHLC and bar-change readouts, and shows an eye button that brings the chart back. Everything returns exactly as configured. External toggles (object tree eye) converge via a re-sync on every readout refresh, since candleVisible has no change event.
  • Segment visibility and menu descriptors are extracted into a pure statusline-model.ts (mirroring context-menu-model.ts) with unit tests; CHANGELOG and user docs updated.

Test plan

  • Gate: typecheck, lint, test (1442, incl. 8 new model tests), build all green
  • Oracle suite: 23/23 scenarios pass
  • Playground (live Binance data): menu opens with correct check states; logo/name toggles hide the right segments; Hide chart dims the line, hides OHLC+change, shows the eye; the eye restores the chart; settings dialog shares state with the menu; object-tree eye toggles converge on the status line

Note

Low Risk
UI-only changes to the status line overlay and prefs shape; chart visibility uses the existing candleVisible renderer feature with no auth or data-path changes.

Overview
The in-chart status line gains a right-click menu with checkable toggles for each segment (symbol logo, name, market status, OHLC, bar change) plus Hide chart / Show chart, wired to the same candleVisible path as the object tree. Part changes go through the cell host so style sync and persistence stay consistent with the settings dialog.

A new logo segment is exposed in chart settings (status-line.logo) and in saved status prefs; hiding symbol name also hides the venue/timeframe meta beside it.

Legend-row behavior matches indicator rows: hover inset outline, 0.5 opacity when the price series is hidden, OHLC/change suppressed in that state, and an eye control to show the chart again. Visibility rules live in pure statusline-model.ts (segmentVisibility, statuslineMenuItems) with unit tests; docs and the changelog describe the feature.

Reviewed by Cursor Bugbot for commit ccb9530. Bugbot is set up for automated code reviews on this repo. Configure here.

Right-clicking the status line opens an action menu with a checkable
toggle per element (symbol logo, symbol name, market status, OHLC,
bar change) plus hide/show for the chart's price series - the same
switch as the object tree's eye. The symbol logo gets its own toggle
in the settings dialog's Status line tab, and hiding the symbol name
also hides the venue/timeframe meta beside it.

The line now dresses like the indicator legend rows: hovering
outlines it, and while the chart is hidden it dims, drops its OHLC
and change readouts, and shows an eye button that brings the chart
back. Segment visibility and the menu descriptors live in a pure
model module with unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 29, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_8f2c30fd-5151-4f49-9df6-60094aa4a686)

@alaa-eddine
alaa-eddine merged commit d9709ff into dev Aug 30, 2026
1 check passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants