Skip to content

Merge branch 'main' of github.com:PlummersSoftwareLLC/NightDriverStrip#899

Open
davepl wants to merge 3 commits into
mainfrom
v2stockapi
Open

Merge branch 'main' of github.com:PlummersSoftwareLLC/NightDriverStrip#899
davepl wants to merge 3 commits into
mainfrom
v2stockapi

Conversation

@davepl

@davepl davepl commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Updates the stock server to show the correct, live data, and uses the new V2 api to fetch it.

  • I read the contribution guidelines in CONTRIBUTING.md.
  • I understand the BlinkenPerBit metric, and maximized it in this PR.
  • I selected main as the target branch.
  • All code herein is subjected to the license terms in COPYING.txt.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Stocks (matrix) effect to fetch and display live quote data using the newer v2 stock API payloads, and adds a Debug CLI command to manually refresh/print quotes. It also refines the web installer wizard’s step navigation UX.

Changes:

  • Update PatternStocks to request and parse v2 quote payloads (including compact v2 format), and adjust display logic accordingly.
  • Add a quotes Debug CLI command to refresh and print stock quote data.
  • Improve installer wizard step navigation (clickable walked steps, locked steps, ARIA/disabled handling), plus minor styling adjustments.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/formatsize.cpp Changes size formatting behavior (precision handling).
src/debug_cli.cpp Adds a quotes CLI command that refreshes and prints stock quotes.
include/effects/matrix/PatternStocks.h Switches stock fetching to v2 API, adds parsing helpers and quote refresh helpers, updates rendering logic.
config/installer_index.html Updates wizard step UI to buttons with walked/locked navigation and related event handling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/formatsize.cpp Outdated
Comment thread include/effects/matrix/PatternStocks.h
Comment thread src/debug_cli.cpp Outdated
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.

2 participants