docs(wiki): document StatusWidget MonitorTag-via-Tag binding - #368
Draft
HanSur94 wants to merge 2 commits into
Draft
docs(wiki): document StatusWidget MonitorTag-via-Tag binding#368HanSur94 wants to merge 2 commits into
HanSur94 wants to merge 2 commits into
Conversation
…214 PR #214 fixed StatusWidget to accept a MonitorTag bound via 'Tag'/'Sensor' (routing it through the existing Threshold/monitor path instead of crashing on the SensorTag-only .Y access). Add this binding form to the StatusWidget API reference and the Dashboard Engine Guide's Status widget examples. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JR2uomErYdm8bMZAUv76sf
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JR2uomErYdm8bMZAUv76sf
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.
Summary
Follow-up wiki update for PR #214 ("Fix first-run onboarding: README/wiki quickstart + StatusWidget MonitorTag crash"), which was just merged.
PR #214 already fixed
wiki/Installation.mdandwiki/_Sidebar.mddirectly (FastPlot→FastSense rename), but it didn't update the wiki's user-facing docs for the actual behavior fix:StatusWidgetcan now be bound directly to aMonitorTagvia'Tag'/'Sensor'— the constructor routes it through the existingThreshold/monitor path (deriveStatusFromMonitorTag_) instead of crashing on the SensorTag-only.Yaccess. This is exactly the pattern the fixed README dashboard snippet now uses (d.addWidget('status', ..., 'Tag', alarm, ...)).wiki/API-Reference:-Dashboard.md— added the MonitorTag-via-'Tag'binding form to theStatusWidgetusage summary, alongside the existing Sensor-first / Threshold-bound / legacy forms.wiki/Dashboard-Engine-Guide.md— added a corresponding example to the "Status (health indicator)" section.No other wiki pages referenced the specific snippets PR #214 fixed (Tags / dashboard quickstart), and
wiki/Getting-Started.md'ssetScale()example already matched theexample_basic.mordering fix, so no change was needed there.Test plan
register(,pressure_data,status/Thresholdbindings,setScale/YScaleordering)🤖 Generated with Claude Code
Generated by Claude Code