Skip to content

Add semantic candle gaps and configurable live demo - #286

Merged
brandtnewlabs merged 1 commit into
mainfrom
codex/semantic-candle-gaps
Aug 26, 2026
Merged

Add semantic candle gaps and configurable live demo#286
brandtnewlabs merged 1 commit into
mainfrom
codex/semantic-candle-gaps

Conversation

@brandtnewlabs

Copy link
Copy Markdown
Owner

Summary

  • add explicit no-trades, unavailable, and unknown candle-gap metadata without synthesizing OHLC records
  • add independently configurable bridge, band, and label styles, including theme fallbacks and per-section enable/disable behavior
  • integrate gaps with rendering, range/scrub behavior, tooltips, and focused-candle interaction while excluding generated marks from volume, momentum, and extrema
  • add a live Empty candles demo with raw, forward-only, semantic, and fully styled treatments
  • keep trade-stream labels anchored to the chart lower edge when volume bars are enabled
  • document and export the public API, including the supporting reference-band paint controls

Verification

  • npm run verify — 107 suites passed; 1,611 tests passed; 5 skipped
  • npm run build:lib
  • React Doctor — 100/100
  • agent-device QA on iPhone 17 Pro: validated all semantic states, live moving candles/trades, volume layout, and every styled-demo control

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@brandtnewlabs
brandtnewlabs marked this pull request as ready for review August 23, 2026 11:05
@brandtnewlabs
brandtnewlabs merged commit fe28261 into main Aug 26, 2026
5 checks passed
@brandtnewlabs
brandtnewlabs deleted the codex/semantic-candle-gaps branch August 26, 2026 07:08
@brandtnewlabs
brandtnewlabs restored the codex/semantic-candle-gaps branch August 26, 2026 07:08
@brandtnewlabs
brandtnewlabs deleted the codex/semantic-candle-gaps branch August 26, 2026 07:08
@brandtnewlabs
brandtnewlabs restored the codex/semantic-candle-gaps branch August 26, 2026 07:09
@brandtnewlabs
brandtnewlabs deleted the codex/semantic-candle-gaps branch August 26, 2026 07:10
brandtnewlabs added a commit that referenced this pull request Aug 26, 2026
## Summary

- add `lineGaps` with shared renderer-neutral `ChartGap*` types
- split line stroke, area/gradient, dot-lattice, and threshold fills
across declared gaps, with configurable prior-value bridges, bands, and
labels
- extend scrubbing and tooltips with semantic gap context while letting
real samples override gap metadata
- expand the live Chart gaps demo to switch between moving line and
candle charts and showcase bridge, band, label, and color controls
- document the public API and add focused rendering, path, crosshair,
and component coverage

## Testing

- `npm run verify` — 108 suites passed; 1,622 tests passed, 5 skipped
- `npm run build:lib`
- `CI=1 npx react-doctor@latest --verbose --diff` — 96/100; only
existing/required maintainability warnings
- agent-device on iPhone 17 Pro simulator — verified moving live line
data, raw/semantic/styled treatments, bridge and band toggles, and
candle + volume + trade-stream regression; no runtime or worklet errors

## Stack

- depends on #286
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.

1 participant