[PR #195] [MERGED] Release v0.9.0 #248

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

📋 Pull Request Information

Original PR: https://github.com/mum4k/termdash/pull/195
Author: @mum4k
Created: 4/29/2019
Status: Merged
Merged: 4/29/2019
Merged by: @mum4k

Base: masterHead: release-0-9-0


📝 Commits (10+)

  • 10d4a55 Provide metadata to widgets when drawing.
  • 9543219 Merge pull request #179 from mum4k/draw-metadata
  • 2de4a9a SegmentDisplay now reports its capacity.
  • ea2e0b7 Merge pull request #180 from mum4k/sd-capacity
  • bf72b5d Skeleton of the TextInput widget.
  • d31b767 Allow options on intermediate containers in the grid.
  • 76c4fc0 Merge pull request #182 from mum4k/grid-options
  • b031be6 Adding a type that holds data in the text input field.
  • 2cfaf25 Initial functionality and tests for the field editor.
  • 2e7d295 Planning out the editing algorithm.

📊 Changes

63 files changed (+6692 additions, -579 deletions)

View changed files

📝 .travis.yml (+1 -1)
📝 CHANGELOG.md (+35 -6)
📝 README.md (+13 -1)
📝 container/container_test.go (+38 -5)
📝 container/draw.go (+6 -1)
📝 container/draw_test.go (+75 -21)
📝 container/grid/grid.go (+31 -4)
📝 container/grid/grid_test.go (+121 -43)
doc/images/termdashdemo_0_7_0.gif (+0 -0)
doc/images/termdashdemo_0_9_0.gif (+0 -0)
doc/images/textinputdemo.gif (+0 -0)
📝 doc/widget_development.md (+5 -2)
📝 internal/area/area.go (+46 -0)
📝 internal/area/area_test.go (+170 -0)
📝 internal/canvas/buffer/buffer.go (+5 -0)
📝 internal/canvas/buffer/buffer_test.go (+12 -0)
📝 internal/draw/text.go (+2 -2)
📝 internal/faketerm/diff.go (+2 -2)
📝 internal/faketerm/faketerm.go (+2 -2)
📝 internal/fakewidget/fakewidget.go (+20 -14)

...and 43 more files

📄 Description

[0.9.0] - 28-Apr-2019

Added

  • The TextInput widget, an input field allowing interactive text input.
  • The Donut widget can now display an optional text label under the donut.

Changed

  • Widgets now get information whether their container is focused when Draw is
    executed.
  • The SegmentDisplay widget now has a method that returns the observed character
    capacity the last time Draw was called.
  • The grid.Builder API now allows users to specify options for intermediate
    containers, i.e. containers that don't have widgets, but represent rows and
    columns.
  • Line chart widget now allows math.NaN values to represent "no value" (values
    that will not be rendered) in the values slice.

Breaking API changes

  • The widgetapi.Widget.Draw method now accepts a second argument which provides
    widgets with additional metadata. This affects all implemented widgets.
  • Termdash now requires at least Go version 1.10, which allows us to utilize
    math.Round instead of our own implementation and strings.Builder instead
    of bytes.Buffer.
  • Terminal shortcuts like Ctrl-A no longer come as two separate events,
    Termdash now mirrors termbox-go and sends these as one event.

🔄 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/195 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 4/29/2019 **Status:** ✅ Merged **Merged:** 4/29/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `master` ← **Head:** `release-0-9-0` --- ### 📝 Commits (10+) - [`10d4a55`](https://github.com/mum4k/termdash/commit/10d4a55348d4ffaabc518a0f70553be9613adb33) Provide metadata to widgets when drawing. - [`9543219`](https://github.com/mum4k/termdash/commit/9543219b4861060d63e3a91ee7baa774a4554b35) Merge pull request #179 from mum4k/draw-metadata - [`2de4a9a`](https://github.com/mum4k/termdash/commit/2de4a9a8650b5bd30307b75d35f8bd3baf524346) SegmentDisplay now reports its capacity. - [`ea2e0b7`](https://github.com/mum4k/termdash/commit/ea2e0b78559955107f7efd9b1df951ab56622243) Merge pull request #180 from mum4k/sd-capacity - [`bf72b5d`](https://github.com/mum4k/termdash/commit/bf72b5ddc27ac7df8177bacd4bad7515739a351c) Skeleton of the TextInput widget. - [`d31b767`](https://github.com/mum4k/termdash/commit/d31b767d5d3925daf2b2ec8ae913edfffa592f02) Allow options on intermediate containers in the grid. - [`76c4fc0`](https://github.com/mum4k/termdash/commit/76c4fc0ec5fdfdf6e4fee3c63726f01d047a7943) Merge pull request #182 from mum4k/grid-options - [`b031be6`](https://github.com/mum4k/termdash/commit/b031be60462aa37404971195e83039e6137b90bd) Adding a type that holds data in the text input field. - [`2cfaf25`](https://github.com/mum4k/termdash/commit/2cfaf25b9b1e7fad857adbafbbaf8771424f8bcc) Initial functionality and tests for the field editor. - [`2e7d295`](https://github.com/mum4k/termdash/commit/2e7d295af76bd0caaa62fac088c1f50791b2b0ef) Planning out the editing algorithm. ### 📊 Changes **63 files changed** (+6692 additions, -579 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+1 -1) 📝 `CHANGELOG.md` (+35 -6) 📝 `README.md` (+13 -1) 📝 `container/container_test.go` (+38 -5) 📝 `container/draw.go` (+6 -1) 📝 `container/draw_test.go` (+75 -21) 📝 `container/grid/grid.go` (+31 -4) 📝 `container/grid/grid_test.go` (+121 -43) ➖ `doc/images/termdashdemo_0_7_0.gif` (+0 -0) ➕ `doc/images/termdashdemo_0_9_0.gif` (+0 -0) ➕ `doc/images/textinputdemo.gif` (+0 -0) 📝 `doc/widget_development.md` (+5 -2) 📝 `internal/area/area.go` (+46 -0) 📝 `internal/area/area_test.go` (+170 -0) 📝 `internal/canvas/buffer/buffer.go` (+5 -0) 📝 `internal/canvas/buffer/buffer_test.go` (+12 -0) 📝 `internal/draw/text.go` (+2 -2) 📝 `internal/faketerm/diff.go` (+2 -2) 📝 `internal/faketerm/faketerm.go` (+2 -2) 📝 `internal/fakewidget/fakewidget.go` (+20 -14) _...and 43 more files_ </details> ### 📄 Description ## [0.9.0] - 28-Apr-2019 ### Added - The `TextInput` widget, an input field allowing interactive text input. - The `Donut` widget can now display an optional text label under the donut. ### Changed - Widgets now get information whether their container is focused when Draw is executed. - The SegmentDisplay widget now has a method that returns the observed character capacity the last time Draw was called. - The grid.Builder API now allows users to specify options for intermediate containers, i.e. containers that don't have widgets, but represent rows and columns. - Line chart widget now allows `math.NaN` values to represent "no value" (values that will not be rendered) in the values slice. #### Breaking API changes - The widgetapi.Widget.Draw method now accepts a second argument which provides widgets with additional metadata. This affects all implemented widgets. - Termdash now requires at least Go version 1.10, which allows us to utilize `math.Round` instead of our own implementation and `strings.Builder` instead of `bytes.Buffer`. - Terminal shortcuts like `Ctrl-A` no longer come as two separate events, Termdash now mirrors termbox-go and sends these as one event. --- <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:31 +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#248
No description provided.