[PR #179] [MERGED] Provide metadata to widgets when drawing. #237

Closed
opened 2026-03-03 16:23:28 +03:00 by kerem · 0 comments
Owner

📋 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: develHead: draw-metadata


📝 Commits (1)

  • 10d4a55 Provide 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.

## 📋 Pull Request Information **Original PR:** https://github.com/mum4k/termdash/pull/179 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 4/4/2019 **Status:** ✅ Merged **Merged:** 4/4/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `devel` ← **Head:** `draw-metadata` --- ### 📝 Commits (1) - [`10d4a55`](https://github.com/mum4k/termdash/commit/10d4a55348d4ffaabc518a0f70553be9613adb33) Provide metadata to widgets when drawing. ### 📊 Changes **26 files changed** (+297 additions, -127 deletions) <details> <summary>View changed files</summary> 📝 `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_ </details> ### 📄 Description Currently contains only one signal - letting the widget know that its container is focused. Fixes #18 Fixes #178 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:23:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#237
No description provided.