k9s/internal/ui
tyzbit cc1c86ccb4
feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799)
* feat(app): add Go Back and Last View

Go Back walks back through the history until at the oldest saved view

Last View switches between the current and previous views like how "cd -" works

* feat(history): add keyboard shortcuts to navigate history

* fix(tests): fix history/app tests

* docs(README): update history and last command navigation info

* fix(internal): add missing parameter

* feat(help): add history keybinds

* fix(help): adjust capitalization for history commands

* docs(readme): fix typo

Co-authored-by: merusso <merusso@gmail.com>

---------

Co-authored-by: merusso <merusso@gmail.com>
2025-02-15 17:40:29 -07:00
..
dialog Dialog boxes use dialog style (#2150) 2025-01-12 09:27:49 -07:00
action.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
action_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
app.go Fix typos (#3026) 2024-12-16 09:09:22 -07:00
app_test.go K9s/release v0.32.5 (#2740) 2024-06-15 10:14:57 -06:00
config.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
config_int_test.go K9s/release v0.30.7 (#2416) 2024-01-02 23:57:07 -07:00
config_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
crumbs.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
crumbs_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
deltas.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
deltas_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
flash.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
flash_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
indicator.go K9s/release v0.31.9 (#2543) 2024-02-15 17:43:29 -07:00
indicator_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
key.go feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799) 2025-02-15 17:40:29 -07:00
logo.go K9s/release v0.31.6 (#2487) 2024-01-17 23:52:48 -07:00
logo_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
menu.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
menu_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
modal_list.go Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
padding.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
padding_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
pages.go Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
pages_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
prompt.go Fix typos (#3026) 2024-12-16 09:09:22 -07:00
prompt_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
select_table.go fix view sorting being reset (#2736) 2024-06-15 09:03:13 -06:00
splash.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
splash_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
table.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
table_helper.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
table_helper_test.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
table_test.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
tree.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
types.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00