Commit Graph

63 Commits

Author SHA1 Message Date
Aurélien Lajoie dacd3be920
Fix running icon
Use ▶ for running status
2022-04-26 19:10:52 +02:00
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
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 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
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 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 4c4f041b40 improve health check visibility 2019-06-22 18:42:48 +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
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
Bradley Cicenas 44a54e070d combine conditionals 2018-02-01 16:55:23 +00:00
Bradley Cicenas 92ca9bf7eb remove textcol coloring 2017-08-28 10:48:13 +09:00
Bradley Cicenas 05242a83f0 refactor status widget, include health indicator 2017-08-28 10:45:14 +09:00
Bradley Cicenas add44c0f18 add common status colors to global theme 2017-08-28 08:46:01 +09:00
Alexandr Kozlenkov 626d50d3e9 Added health row to Info Single mode.
Change color status logic.

Highlight health status for Name column:
- starting - yellow
- healthy - green
- unhealthy - magenta

reformat

Fixed misprint

Removed unused colors of state widget.

Moved changes to another branch

Removed unused colors of state widget.

Remove swarm changes from master

Remove swarm changes from master

Remove swarm changes from master
2017-08-28 07:55:43 +09:00
Bradley Cicenas 954aaeb06b rename Memory widget 2017-08-09 14:05:45 +02:00
Bradley Cicenas b88c143914 add offset sanity check to CompactGrid Align() 2017-07-07 15:43:03 +03:00
Bradley Cicenas 2d284d9277 rename metrics subpackage 2017-06-26 15:35:57 +00:00
Bradley Cicenas e82d77ecb0 add option for color inversion 2017-03-15 10:02:46 +10:00
Bradley Cicenas 3553b0af9d cap cpu gauge % to 100 in compact view 2017-03-13 09:00:17 +11:00
Bradley Cicenas 2134110224 add static width for specific columns 2017-03-12 20:58:56 +11:00
Bradley Cicenas 77c3d00e67 update io labels 2017-03-12 16:31:12 +11:00
f1yegor dbaebe0192 add pids, IO stat 2017-03-12 02:35:40 +01:00
Bradley Cicenas bcf05b7f42 fix panic on row removal 2017-03-08 22:19:43 +11:00
Bradley Cicenas 2b80832a36 add pagination support for compact view 2017-03-08 18:45:31 +11:00