fix dialog buttons focus
parent
752869c937
commit
0d48d32c61
2
Makefile
2
Makefile
|
|
@ -3,7 +3,7 @@ PACKAGE := github.com/derailed/$(NAME)
|
|||
GIT := $(shell git rev-parse --short HEAD)
|
||||
SOURCE_DATE_EPOCH ?= $(shell date +%s)
|
||||
DATE := $(shell date -u -d @${SOURCE_DATE_EPOCH} +%FT%T%Z)
|
||||
VERSION ?= v0.24.0
|
||||
VERSION ?= v0.24.1
|
||||
IMG_NAME := derailed/k9s
|
||||
IMAGE := ${IMG_NAME}:${VERSION}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s_small.png" align="right" width="200" height="auto"/>
|
||||
|
||||
# Release v0.24.1
|
||||
|
||||
## Notes
|
||||
|
||||
Thank you to all that contributed with flushing out issues and enhancements for K9s! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make K9s better are as ever very much noted and appreciated!
|
||||
|
||||
If you feel K9s is helping your Kubernetes journey, please consider joining our [sponsorhip program](https://github.com/sponsors/derailed) and/or make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer)
|
||||
|
||||
On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_invite/enQtOTA5MDEyNzI5MTU0LWQ1ZGI3MzliYzZhZWEyNzYxYzA3NjE0YTk1YmFmNzViZjIyNzhkZGI0MmJjYzhlNjdlMGJhYzE2ZGU1NjkyNTM)
|
||||
|
||||
## Maintenance Release!
|
||||
|
||||
☡ IMPORTANT!! v0.24.0 is a bad drop!! Apparently while upgrading the dependencies in the v0.24.0, I've managed to hose the dialog's buttons focus hence producing the incorrect default button behavior. So please upgrade to v0.24.1 ASAP!!
|
||||
|
||||
---
|
||||
|
||||
## Resolved Issues/Features
|
||||
|
||||
* [Issue #821](https://github.com/derailed/k9s/issues/821) Default color is no longer transparent.
|
||||
* [Issue #933](https://github.com/derailed/k9s/issues/933) Unable to cordon node.
|
||||
|
||||
## Resolved PRs
|
||||
|
||||
* [PR #941](https://github.com/derailed/k9s/pull/941) Add Monokai skin. My new favorite skin! Big Thanks to [Mike SigsWorth](https://github.com/mikesigs)!!
|
||||
|
||||
---
|
||||
|
||||
<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/imhotep_logo.png" width="32" height="auto"/> © 2020 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
2
go.mod
2
go.mod
|
|
@ -8,7 +8,7 @@ require (
|
|||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/cenkalti/backoff/v4 v4.1.0
|
||||
github.com/derailed/popeye v0.9.0
|
||||
github.com/derailed/tview v0.4.7
|
||||
github.com/derailed/tview v0.4.9
|
||||
github.com/drone/envsubst v1.0.2 // indirect
|
||||
github.com/fatih/color v1.10.0
|
||||
github.com/fsnotify/fsnotify v1.4.9
|
||||
|
|
|
|||
5
go.sum
5
go.sum
|
|
@ -171,6 +171,9 @@ github.com/derailed/popeye v0.9.0 h1:0zP4BAzo94RUjrUkzgF962v0zL9B3xyopd7kU7tMxuc
|
|||
github.com/derailed/popeye v0.9.0/go.mod h1:g3hudQlbEEChCA7U44fA+utTM9xQpD4pINUMQaiq5Gs=
|
||||
github.com/derailed/tview v0.4.7 h1:XBu2gW/PInLXOrWtm/B7V78T2+LMdt8DWquRT8L08F8=
|
||||
github.com/derailed/tview v0.4.7/go.mod h1:FrWq4XTQjisx2NIl9n3j6OD6NL03HxUYeVvZwSy1JYE=
|
||||
github.com/derailed/tview v0.4.8 h1:TDiKARhooi4uQ37p/8XuxvLYRS2IDg8dHhJrlDRSBy8=
|
||||
github.com/derailed/tview v0.4.8/go.mod h1:FrWq4XTQjisx2NIl9n3j6OD6NL03HxUYeVvZwSy1JYE=
|
||||
github.com/derailed/tview v0.4.9/go.mod h1:FrWq4XTQjisx2NIl9n3j6OD6NL03HxUYeVvZwSy1JYE=
|
||||
github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
|
||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
|
||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
|
||||
|
|
@ -955,6 +958,8 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie
|
|||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
|
||||
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
|
||||
helm.sh/helm v1.2.1 h1:Jrn7kKQqQ/hnFWZEX+9pMFvYqFexkzrBnGqYBmIph7c=
|
||||
helm.sh/helm v2.17.0+incompatible h1:cSe3FaQOpRWLDXvTObQNj0P7WI98IG5yloU6tQVls2k=
|
||||
helm.sh/helm/v3 v3.2.0 h1:V12EGAmr2DJ/fWrPo2fPdXWSIXvlXm51vGkQIXMeymE=
|
||||
helm.sh/helm/v3 v3.2.0/go.mod h1:ZaXz/vzktgwjyGGFbUWtIQkscfE7WYoRGP2szqAFHR0=
|
||||
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ func (t *Table) ViewSettingsChanged(settings config.ViewSetting) {
|
|||
// StylesChanged notifies the skin changed.
|
||||
func (t *Table) StylesChanged(s *config.Styles) {
|
||||
t.SetBackgroundColor(s.Table().BgColor.Color())
|
||||
t.SetBorderColor(s.Table().FgColor.Color())
|
||||
t.SetBorderColor(s.Frame().Border.FgColor.Color())
|
||||
t.SetBorderFocusColor(s.Frame().Border.FocusColor.Color())
|
||||
t.SetSelectedStyle(tcell.StyleDefault.Foreground(t.styles.Table().CursorFgColor.Color()).Background(t.styles.Table().CursorBgColor.Color()).Attributes(tcell.AttrBold))
|
||||
t.fgColor = s.Table().CursorFgColor.Color()
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ func (s *Sanitizer) Init(ctx context.Context) error {
|
|||
|
||||
s.bindKeys()
|
||||
s.SetBackgroundColor(s.app.Styles.Xray().BgColor.Color())
|
||||
s.SetBorderColor(s.app.Styles.Xray().FgColor.Color())
|
||||
s.SetBorderColor(s.app.Styles.Frame().Border.FgColor.Color())
|
||||
s.SetBorderFocusColor(s.app.Styles.Frame().Border.FocusColor.Color())
|
||||
s.SetGraphicsColor(s.app.Styles.Xray().GraphicColor.Color())
|
||||
s.SetTitle(strings.Title(s.gvr.R()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue