mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #175] [MERGED] Prevent external mutation of data passed into widgets. #235
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#235
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/175
Author: @mum4k
Created: 3/21/2019
Status: ✅ Merged
Merged: 3/21/2019
Merged by: @mum4k
Base:
devel← Head:174-prevent-mutation📝 Commits (2)
68fb760Prevent external mutation of data passed into widgets.3587cb9Improving test coverage for scale.📊 Changes
10 files changed (+193 additions, -10 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
widgets/barchart/barchart.go(+5 -2)📝
widgets/barchart/barchart_test.go(+55 -0)📝
widgets/barchart/options.go(+3 -1)📝
widgets/linechart/internal/axes/scale.go(+5 -0)📝
widgets/linechart/internal/axes/scale_test.go(+1 -0)📝
widgets/linechart/linechart.go(+16 -7)📝
widgets/linechart/linechart_test.go(+47 -0)📝
widgets/segmentdisplay/segmentdisplay_test.go(+34 -0)📝
widgets/sparkline/sparkline_test.go(+24 -0)📄 Description
Also better logging for out of bounds errors in LineChart.
Fixes #174.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.