[PR #177] [MERGED] Release v0.8.0 #238

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/177
Author: @mum4k
Created: 3/30/2019
Status: Merged
Merged: 3/30/2019
Merged by: @mum4k

Base: masterHead: release-0-8-0


📝 Commits (10+)

  • cc460d4 Fixing one typo and adding two missing error checks.
  • 50c00a2 Moving fakewidget to the internal subdirectory.
  • 80843ae Merge pull request #157 from mum4k/api-docs
  • 54c5dff Factoring the line wrapping logic out of the text widget.
  • 61aca3f Removing Text's dependency on wrap.Needed.
  • 87cab66 Simplifying the text widget.
  • f102632 Implementing AtWords wrapping mode.
  • c43e453 Text validation moved to the wrap package.
  • 2742487 The text widget now wraps at words.
  • 4465dce Wait for subscribers to process events.

📊 Changes

56 files changed (+6128 additions, -1341 deletions)

View changed files

📝 .travis.yml (+1 -1)
📝 CHANGELOG.md (+31 -1)
📝 README.md (+4 -2)
📝 container/container.go (+255 -96)
📝 container/container_test.go (+1445 -517)
📝 container/draw.go (+15 -3)
📝 container/draw_test.go (+301 -2)
📝 container/focus.go (+25 -3)
📝 container/focus_test.go (+8 -0)
container/grid/grid.go (+268 -0)
container/grid/grid_test.go (+754 -0)
📝 container/options.go (+386 -22)
📝 container/traversal.go (+28 -0)
📝 container/traversal_test.go (+60 -0)
doc/images/termdashdemo_0_8_0.gif (+0 -0)
📝 doc/images/textdemo.gif (+0 -0)
📝 internal/area/area.go (+57 -0)
📝 internal/area/area_test.go (+303 -0)
📝 internal/canvas/buffer/buffer.go (+14 -0)
📝 internal/canvas/buffer/buffer_test.go (+53 -6)

...and 36 more files

📄 Description

[0.8.0] - 30-Mar-2019

Added

  • New API for building layouts, a grid.Builder. Allows defining the layout
    iteratively as repetitive Elements, Rows and Columns.
  • Containers now support margin around them and padding of their content.
  • Container now supports dynamic layout changes via the new Update method.

Changed

  • The Text widget now supports content wrapping on word boundaries.
  • The BarChart and SparkLine widgets now have a method that returns the
    observed value capacity the last time Draw was called.
  • Moving widgetapi out of the internal directory to allow external users to
    develop their own widgets.
  • Event delivery to widgets now has a stable defined order and happens when the
    container is unlocked so that widgets can trigger dynamic layout changes.

Fixed

  • The termdash_test now correctly waits until all subscribers processed events,
    not just received them.
  • Container focus tracker now correctly tracks focus changes in enlarged areas,
    i.e. when the terminal size increased.
  • The BarChart, LineChart and SegmentDisplay widgets now protect against
    external mutation of the values passed into them by copying the data they
    receive.

🔄 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/177 **Author:** [@mum4k](https://github.com/mum4k) **Created:** 3/30/2019 **Status:** ✅ Merged **Merged:** 3/30/2019 **Merged by:** [@mum4k](https://github.com/mum4k) **Base:** `master` ← **Head:** `release-0-8-0` --- ### 📝 Commits (10+) - [`cc460d4`](https://github.com/mum4k/termdash/commit/cc460d43b7c8e67eb98e2aecb9df4e8dffcfd19e) Fixing one typo and adding two missing error checks. - [`50c00a2`](https://github.com/mum4k/termdash/commit/50c00a2c8fff5734f5e5f9d8867e90662fecaf9a) Moving fakewidget to the internal subdirectory. - [`80843ae`](https://github.com/mum4k/termdash/commit/80843ae031388468010005cf4f12590c6867a772) Merge pull request #157 from mum4k/api-docs - [`54c5dff`](https://github.com/mum4k/termdash/commit/54c5dff63e3f60c83b34405ef46aa66c21b55ac9) Factoring the line wrapping logic out of the text widget. - [`61aca3f`](https://github.com/mum4k/termdash/commit/61aca3fb6210ee59ca757e9f082841c564acda35) Removing Text's dependency on wrap.Needed. - [`87cab66`](https://github.com/mum4k/termdash/commit/87cab66617798c6260bfcf45e2dedf987d3b0382) Simplifying the text widget. - [`f102632`](https://github.com/mum4k/termdash/commit/f102632bd4ac766ecd113092d1c95e278e803cd1) Implementing AtWords wrapping mode. - [`c43e453`](https://github.com/mum4k/termdash/commit/c43e4530380b3a6a191ddd76224de85d540d8244) Text validation moved to the wrap package. - [`2742487`](https://github.com/mum4k/termdash/commit/2742487fc0e85f96f5716b4d2c640d3b9aa62f48) The text widget now wraps at words. - [`4465dce`](https://github.com/mum4k/termdash/commit/4465dced2d470b1269e1ee26f50ca48fdf37c8c8) Wait for subscribers to process events. ### 📊 Changes **56 files changed** (+6128 additions, -1341 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+1 -1) 📝 `CHANGELOG.md` (+31 -1) 📝 `README.md` (+4 -2) 📝 `container/container.go` (+255 -96) 📝 `container/container_test.go` (+1445 -517) 📝 `container/draw.go` (+15 -3) 📝 `container/draw_test.go` (+301 -2) 📝 `container/focus.go` (+25 -3) 📝 `container/focus_test.go` (+8 -0) ➕ `container/grid/grid.go` (+268 -0) ➕ `container/grid/grid_test.go` (+754 -0) 📝 `container/options.go` (+386 -22) 📝 `container/traversal.go` (+28 -0) 📝 `container/traversal_test.go` (+60 -0) ➕ `doc/images/termdashdemo_0_8_0.gif` (+0 -0) 📝 `doc/images/textdemo.gif` (+0 -0) 📝 `internal/area/area.go` (+57 -0) 📝 `internal/area/area_test.go` (+303 -0) 📝 `internal/canvas/buffer/buffer.go` (+14 -0) 📝 `internal/canvas/buffer/buffer_test.go` (+53 -6) _...and 36 more files_ </details> ### 📄 Description ## [0.8.0] - 30-Mar-2019 ### Added - New API for building layouts, a grid.Builder. Allows defining the layout iteratively as repetitive Elements, Rows and Columns. - Containers now support margin around them and padding of their content. - Container now supports dynamic layout changes via the new Update method. ### Changed - The Text widget now supports content wrapping on word boundaries. - The BarChart and SparkLine widgets now have a method that returns the observed value capacity the last time Draw was called. - Moving widgetapi out of the internal directory to allow external users to develop their own widgets. - Event delivery to widgets now has a stable defined order and happens when the container is unlocked so that widgets can trigger dynamic layout changes. ### Fixed - The termdash_test now correctly waits until all subscribers processed events, not just received them. - Container focus tracker now correctly tracks focus changes in enlarged areas, i.e. when the terminal size increased. - The BarChart, LineChart and SegmentDisplay widgets now protect against external mutation of the values passed into them by copying the data they receive. --- <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#238
No description provided.