Commit Graph

608 Commits

Author SHA1 Message Date
Xabier Larrakoetxea 560aef66d5
Add linechart y-axis value formatter option API
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-25 06:17:01 +02:00
Jakub Sobon 2f1d16bbea
Merge pull request #186 from mum4k/go1.10
Advancing to Go1.10.
2019-04-18 23:04:27 -04:00
Jakub Sobon 5dd1aff803
Advancing to Go1.10.
- switching to math.Round and deleting out clone.
- switching all bytes.Buffer instances to strings.Builder.
2019-04-18 22:55:05 -04:00
Jakub Sobon 544632f1e9
Merge pull request #185 from slok/linechart-no-values
Allow empty values on line chart
2019-04-18 14:45:14 -04:00
Xabier Larrakoetxea 53abc10da3
Remove not required constants from linechart minMax wrapper
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-18 20:33:53 +02:00
Xabier Larrakoetxea 2ae5ca1dcb
Simplify MinMax result float checks on test
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-18 20:32:30 +02:00
Xabier Larrakoetxea b54694ed12
LineChart defaults to 0 mix and max when these are NaN
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-17 13:42:05 +02:00
Xabier Larrakoetxea 9b25e35172
Make MinMax return NaN when all values are NaN
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-17 13:40:32 +02:00
Xabier Larrakoetxea 6cf2caf0b6
Update changelog
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-14 10:23:12 +02:00
Xabier Larrakoetxea 42c2731286
Allow 'no values' on linechart represented by NaN float64 that will be displayed as empty cells
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-04-14 10:16:44 +02:00
Jakub Sobon 76c4fc0ec5
Merge pull request #182 from mum4k/grid-options
Allow options on intermediate containers in the grid.
2019-04-07 17:08:19 -04:00
Jakub Sobon d31b767d5d
Allow options on intermediate containers in the grid.
Fixes #181.
2019-04-07 16:58:18 -04:00
Jakub Sobon ea2e0b7855
Merge pull request #180 from mum4k/sd-capacity
SegmentDisplay now reports its capacity.
2019-04-07 00:05:23 -04:00
Jakub Sobon 2de4a9a865
SegmentDisplay now reports its capacity. 2019-04-06 23:57:22 -04:00
Jakub Sobon 9543219b48
Merge pull request #179 from mum4k/draw-metadata
Provide metadata to widgets when drawing.
2019-04-03 23:26:27 -04:00
Jakub Sobon 10d4a55348
Provide metadata to widgets when drawing. 2019-04-03 23:13:18 -04:00
Jakub Sobon a9515f2721
Switching termdashdemo back to grid layout. 2019-03-30 03:00:41 -04:00
Jakub Sobon 4237512047
Merge pull request #177 from mum4k/release-0-8-0
Release v0.8.0
2019-03-30 02:35:15 -04:00
Jakub Sobon d5fdc1faae
Updating the CHANGELOG. 2019-03-30 02:24:37 -04:00
Jakub Sobon bf6b61a7ce
Merge pull request #176 from mum4k/dynamic-layout
Container now supports dynamic layout changes.
2019-03-30 02:12:29 -04:00
Jakub Sobon bfb092622b
Adding recording of dynamic layout changes. 2019-03-30 01:55:53 -04:00
Jakub Sobon ad0b42162f
Fixing termdash_test. 2019-03-30 01:46:55 -04:00
Jakub Sobon efa673a3e3
Termdashdemo now demonstartes dynamic layout changes. 2019-03-30 01:43:13 -04:00
Jakub Sobon f3ff03c1ed
Discover widgets dynamically.
Events now discover widgets when they are sent. Previously widgets
subscribed directly to events which is incompatible with dynamic
layouts. Only widgets currently placed into containers should be getting
events.
2019-03-30 00:30:13 -04:00
Jakub Sobon fdb659eedf
Updating Changelog. 2019-03-29 00:27:37 -04:00
Jakub Sobon 782d7c3117
Container now supports dynamic layout changes. 2019-03-29 00:24:22 -04:00
Jakub Sobon 85bcf9d8d9
Function that finds container with a specific ID. 2019-03-28 23:04:34 -04:00
Jakub Sobon 0f0f1d4bc8
Validate the tree only once at creation. 2019-03-28 22:50:29 -04:00
Jakub Sobon 461a242338
Margin to be set while Drawing only.
Background: #165
2019-03-28 22:48:10 -04:00
Jakub Sobon c755affe43
Ability to set IDs on containers. 2019-03-28 22:46:33 -04:00
Jakub Sobon 96d136019e
Calculating container areas upon Draw only. 2019-03-28 22:30:09 -04:00
Jakub Sobon f157523aae
Merge pull request #175 from mum4k/174-prevent-mutation
Prevent external mutation of data passed into widgets.
2019-03-20 23:42:39 -04:00
Jakub Sobon 3587cb9d76
Improving test coverage for scale. 2019-03-20 23:31:31 -04:00
Jakub Sobon 68fb7606d9
Prevent external mutation of data passed into widgets.
Fixes #174.
2019-03-20 23:20:16 -04:00
Jakub Sobon 4d01df32a5
Adding syntax highlight to two commands in README. 2019-03-18 23:24:01 -04:00
Jakub Sobon ab013dd021
Better documentation for Grid.
Noting restriction of max height/width and what happens if all widths /
heights are less than 100%.
2019-03-11 22:02:49 -04:00
Jakub Sobon c0a069c153
Merge pull request #173 from mum4k/container-resize
Correctly track container focus when the terminal size increases.
2019-03-11 01:15:28 -04:00
Jakub Sobon 4203d0e794
Correctly track container focus when the terminal size increases.
Fixes #169.
2019-03-11 01:04:03 -04:00
Jakub Sobon 926d5226fa
Merge pull request #172 from mum4k/grid-builder
A new API for building terminal layouts.
2019-03-11 00:24:36 -04:00
Jakub Sobon f3e414fee1
Adding licences. 2019-03-11 00:12:33 -04:00
Jakub Sobon a170c5f99d
Fixing lint issues. 2019-03-10 23:54:42 -04:00
Jakub Sobon 66256fd465
Updating CHANGELOG. 2019-03-10 23:36:42 -04:00
Jakub Sobon 45ce014546
Termdashdemo shows both grid and container layout patterns. 2019-03-10 23:33:29 -04:00
Jakub Sobon 0469007a4c
Adding licences. 2019-03-10 23:00:02 -04:00
Jakub Sobon 2cb4cc9797
Adding a grid builder. 2019-03-10 22:59:44 -04:00
Jakub Sobon cd44225552
Fixing a typo. 2019-03-09 00:13:41 -05:00
Jakub Sobon e6ef3f7ed1 Merge branch 'master' into devel 2019-03-07 00:37:49 -05:00
Jakub Sobon b7a6d70ff6 Merge branch 'master' into devel 2019-03-07 00:37:21 -05:00
Jakub Sobon 3d3463d824
Adding logo 2019-03-07 00:28:30 -05:00
Jakub Sobon a0ce76cff4
Adding logo. 2019-03-07 00:23:23 -05:00