Commit Graph

96 Commits

Author SHA1 Message Date
bradley
29f9abf35c
Merge pull request #236 from stokito/status_unicode
Use more clear status marks
2021-06-10 22:06:40 -04:00
bradley
82e731e577
Merge pull request #239 from stokito/cpu_color
CPU upper: > 70% yellow/warn and > 90% is red/danger
2021-06-10 22:04:54 -04:00
Bradley Cicenas
a603c1b58c Merge remote-tracking branch 'remotes/stokito/uptime' 2021-06-10 22:01:45 -04:00
bradley
0094cba5ea
Merge pull request #244 from stokito/fix_243
#243 Fix bug: show ENV variables
2020-12-14 12:29:25 -05:00
Sergey Ponomarev
491cd85b4d Additional columns 2020-12-11 21:58:37 +02:00
Sergey Ponomarev
9545dfba31 Extract MetaCol 2020-12-11 20:59:35 +02:00
Sergey Ponomarev
f2c28c5fb0 #243 Fix bug: show ENV variables
Previously only last env variable is shown
2020-12-09 23:06:14 +02:00
Sergey Ponomarev
c2401cb33a #128 Set column Name to fixed width 30 2020-11-27 23:12:16 +02:00
Sergey Ponomarev
4850f817f3 status.go: use more clear status marks 2020-11-25 22:29:10 +02:00
Sergey Ponomarev
10c49018a6 status.go: make logic more explicit 2020-11-25 22:21:19 +02:00
Sergey Ponomarev
4973bc83ff cpu color: make threshold upper: > 70% warn and > 90% is danger 2020-11-24 00:51:09 +02:00
Sergey Ponomarev
7632420ecc cpu color: check lower values first
this is simpler to understand and faster for usual containers
2020-11-24 00:22:25 +02:00
Sergey Ponomarev
4fbc998a41 status.go: simplify Buffer()
s.health and s.status are always have only one element with a single char length
2020-11-23 15:23:07 +02:00
Sergey Ponomarev
9a41252764 #207 CPU unscaled column changes color according to system total usage
If container uses two cores then CPU column will be always red even if we have dozens of other free cores and CPUS is 1%
2020-11-20 23:24:13 +02:00
Sergey Ponomarev
f377dcaee2 #207 Replace scaleCpu option with dedicated column CPU Scaled
The new column is disabled by default.
2020-11-20 23:08:19 +02:00
Sergey Ponomarev
2bcfc365f7 Single Container View: truncate ID
Truncation Id inside of NewSingle() doesn't work.
It even doesn't have any effect.
Instead truncate the ID inside of NewMeta() call
2020-11-03 14:11:58 +02:00
Bradley Cicenas
68e4c32c1b
add textcol setter, static CID column width 2020-10-31 14:52:30 +00:00
Sergey Ponomarev
c984b270db #135 Add uptime column 2020-10-26 16:32:51 +02:00
Sergey Ponomarev
41c04fefa2 text.go: to do not manually truncate id and name columns
This truncation is already handled by termui
2020-10-26 15:43:55 +02:00
Bradley Cicenas
bbecbc66b9
fix byte format for compact view (short) 2020-10-25 16:02:31 +00:00
Bradley Cicenas
192d3eaa7a Merge branch '0.7.4-dev' into master 2020-10-25 11:41:49 -04:00
Bradley Cicenas
a8e235beca commit missing compact column, row files 2020-10-25 10:31:51 -04:00
Bradley Cicenas
f11a705b8b add padding to column menu 2020-10-25 10:31:51 -04:00
Bradley Cicenas
6fe6e7c316 truncate id in compact widget 2020-10-25 10:31:51 -04:00
Bradley Cicenas
7c6b5c54dc init column config menu 2020-10-25 10:31:51 -04:00
Bradley Cicenas
c7a8bfa26f integrate widget order, toggling into global config and compact grid 2020-10-25 10:31:51 -04:00
Bradley Cicenas
6b79e5a370 remove unused static col width 2020-10-25 10:31:51 -04:00
Bradley Cicenas
eb8237cbb1 continuing compact widget refactor 2020-10-25 10:31:51 -04:00
Bradley Cicenas
60875b179c initial refactor of all column widgets to standard interface 2020-10-25 10:31:19 -04:00
Bradley Cicenas
ea5968edce update sig 2020-10-25 10:23:30 -04:00
Bradley Cicenas
0ca5235ae5 continuing compact widget refactor 2020-10-25 10:23:30 -04:00
Bradley Cicenas
8427b0c81d initial refactor of all column widgets to standard interface 2020-10-25 10:23:30 -04:00
Bradley Cicenas
4d7d69d4cf
refactor byte unit formatting, add unit-specific display precision 2020-10-25 14:08:06 +00:00
Bradley Cicenas
f704898212
commit missing compact column, row files 2020-01-03 13:20:31 +00:00
Bradley Cicenas
5585a22962
add padding to column menu 2020-01-03 12:25:54 +00:00
Bradley Cicenas
ca5d40b7cc
truncate id in compact widget 2020-01-03 12:07:54 +00:00
Bradley Cicenas
22a5607012
init column config menu 2020-01-02 23:02:53 +00:00
Bradley Cicenas
ee25f80a9c
integrate widget order, toggling into global config and compact grid 2020-01-02 14:00:55 +00:00
Bradley Cicenas
d34b9c2bf6 remove unused static col width 2019-11-11 22:04:25 +00:00
Bradley Cicenas
d56cc9475a
update sig 2019-11-06 12:31:57 +00:00
Bradley Cicenas
7fdcd7bbf1 continuing compact widget refactor 2019-07-05 19:09:30 -04:00
Bradley Cicenas
923edb967e initial refactor of all column widgets to standard interface 2019-07-05 19:08:16 -04:00
Bradley Cicenas
4c4f041b40 improve health check visibility 2019-06-22 18:42:48 +00:00
CodeLingo Bot
b401e7b17e Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-07 02:33:29 +00:00
bartfokker
93556a1754 replace += with ++ 2018-10-25 22:17:53 +02:00
bartfokker
efef345665 remove unneeded fmt.Sprintf 2018-10-25 22:13:04 +02:00
bartfokker
f158fa742f simplify append operation by omitting loop 2018-10-25 22:12:46 +02:00
Serhii Bilonozhko
9a185b2388 env-var 2018-10-05 17:35:22 -04:00
Bradley Cicenas
caf6fc63c1 add config toggle for full-row cursor 2018-09-17 01:33:52 +00:00
Bradley Cicenas
cf352f7c8a implement full-row cursor highlighting 2018-09-17 01:24:06 +00:00