Add feeder photo background to heatmap + analytics section on local dashboard - #12
Merged
Merged
Conversation
…shboard - Update renderHeatmapGrid() to accept an optional feeder photo URL; the image is drawn as canvas background and heatmap cells are semi-transparent so the feeder photo shows through beneath the heat colors. Empty cells (count=0) are fully transparent so the feeder is visible in quiet zones. Falls back to dark background if photo is missing. - Public stats page now loads img/feeder.jpg as the heatmap background; place a photo of your feeder at website/img/feeder.jpg to enable it. - Add Bird Analytics section to the local Flask dashboard (port 8080) with summary cards (visits today/week, peak hour, streak), the position heatmap using /static/feeder.jpg as background, a 24-hour activity bar chart, and a behavior breakdown with percentage bars. Data is fetched from /api/analytics on load and every 2 minutes. https://claude.ai/code/session_01PThGWo2FsMsk3v3Yb61ffx
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.
$(cat <<'EOF'
Summary
renderHeatmapGrid()now draws a feeder photo as the canvas background, with semi-transparent green heat cells overlaid so the photo shows through. Empty cells are fully transparent. Falls back to dark background iffeeder.jpgis missing. Drop your feeder photo atwebsite/img/feeder.jpgto enable it on the public stats page./static/feeder.jpgbackground), a 24-hour activity bar chart, and a behavior breakdown with percentage bars. Fetches from/api/analyticson load and every 2 minutes.To enable feeder photo
website/img/feeder.jpgweb/static/feeder.jpghttps://claude.ai/code/session_01PThGWo2FsMsk3v3Yb61ffx
EOF
)
Generated by Claude Code