k9s/internal/config/data
Zak Cook 99d47ab7e7
Fix "Mark Range": reduce maximum namespaces in `favorites`, fix shadowing of ctrl+space (#2927)
* fix: avoid creating a ctrl+space key when index out of range

* fix: reduce maximum favorite namespaces to 9, making space for "all"

* fix: correct index incrementation

* refactor: remove usage of NumKeys

* feat: check for favorite namespace index in NumKeys

* feat: break when out of number keys, increment index when slot found
2024-11-09 12:26:36 -07:00
..
testdata K9s/release v0.30.3 (#2381) 2023-12-25 12:06:23 -07:00
config.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
context.go K9s/release v0.32.5 (#2740) 2024-06-15 10:14:57 -06:00
context_int_test.go checking for nil pointer in merge namespace (#2659) 2024-04-20 11:05:54 -06:00
context_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
dir.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
dir_test.go K9s/release v0.30.5 (#2397) 2023-12-27 17:40:44 -07:00
feature_gate.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
helpers.go K9s/release v0.32.5 (#2740) 2024-06-15 10:14:57 -06:00
helpers_test.go K9s/release v0.31.0 (#2440) 2024-01-08 18:30:49 -07:00
ns.go Fix "Mark Range": reduce maximum namespaces in `favorites`, fix shadowing of ctrl+space (#2927) 2024-11-09 12:26:36 -07:00
ns_test.go Fix Mark-Range command: ensure that NS Favorite doesn't exceed the limit (#2881) 2024-09-14 12:40:45 -06:00
types.go K9s/release v0.31.5 (#2469) 2024-01-12 14:59:38 -07:00
view.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
view_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00