mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #179] [MERGED] Provide metadata to widgets when drawing. #237
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#237
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/179
Author: @mum4k
Created: 4/4/2019
Status: ✅ Merged
Merged: 4/4/2019
Merged by: @mum4k
Base:
devel← Head:draw-metadata📝 Commits (1)
10d4a55Provide metadata to widgets when drawing.📊 Changes
26 files changed (+297 additions, -127 deletions)
View changed files
📝
CHANGELOG.md(+10 -0)📝
container/container_test.go(+38 -5)📝
container/draw.go(+6 -1)📝
container/draw_test.go(+75 -21)📝
container/grid/grid_test.go(+43 -43)📝
doc/widget_development.md(+5 -2)📝
internal/fakewidget/fakewidget.go(+20 -14)📝
internal/fakewidget/fakewidget_test.go(+42 -10)📝
termdash_test.go(+11 -0)📝
widgetapi/widgetapi.go(+9 -1)📝
widgets/barchart/barchart.go(+1 -1)📝
widgets/barchart/barchart_test.go(+2 -1)📝
widgets/button/button.go(+1 -1)📝
widgets/button/button_test.go(+3 -2)📝
widgets/donut/donut.go(+1 -1)📝
widgets/donut/donut_test.go(+2 -1)📝
widgets/gauge/gauge.go(+1 -1)📝
widgets/gauge/gauge_test.go(+2 -1)📝
widgets/linechart/linechart.go(+1 -1)📝
widgets/linechart/linechart_test.go(+9 -8)...and 6 more files
📄 Description
Currently contains only one signal - letting the widget know that its container is focused.
Fixes #18
Fixes #178
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.