-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or requestNew feature or requestin-progressMark issue as being worked onMark issue as being worked on
Description
When using the history navigation in K9s
, if I go back in history and then switch to a new view, the new view is currently added to the end of the history list, but all the "forward" history is kept. This results in a confusing navigation experience, as the history no longer reflects a linear path.
I would expect the behavior to be similar to browser history:
- If I go back in history and then switch to a new view, all forward history from the current index should be discarded, and the new view should be added at the end.
- This way, the history always represents the actual navigation path, and "back" and "forward" actions remain intuitive.
Steps to reproduce:
- Navigate through several views.
- Go back in history.
- Switch to a new view.
- Observe that the new view is appended, but the forward history is still present.
Expected behavior:
After switching to a new view from a previous point in history, all forward history should be truncated before adding the new view.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestin-progressMark issue as being worked onMark issue as being worked on