Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General enhancement proposals #25

Open
augustwester opened this issue Sep 11, 2024 · 5 comments
Open

General enhancement proposals #25

augustwester opened this issue Sep 11, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@augustwester
Copy link

augustwester commented Sep 11, 2024

Sorry if this is too general for one issue. Let me know if I should split it into separate issues for each request.

Feature requests:

  • Option to yank the path to the currently highlighted object / directory to the clipboard
  • Option to open the currently highlighted object / directory in the S3 console in the browser

Navigation enhancement proposals:

  • Add support for using arrow-keys. (I personally like the vim-like keybindings of j/k and g/G but I know a lot of people would prefer using the arrow keys.)
  • Use Esc to navigate back instead of backspace. I think k9s has nailed keyboard navigation, and would love for stu to behave in a similar way. I would personally prefer to exit stu with <C-c>.
  • I love the new refresh option, but why is it mapped to R and not r? Maybe there is a good reason for this, but since r isn't already mapped to an action, I'm curious why R was chosen.

Thanks again for making this great tool!

@lusingander lusingander added the enhancement New feature or request label Sep 11, 2024
@lusingander
Copy link
Owner

Option to yank the path to the currently highlighted object / directory to the clipboard

This seems useful.

Option to open the currently highlighted object / directory in the S3 console in the browser

This may currently be what you can do with the x key (Although, it's a little different in that it opens the currently open hierarchy in a browser).

Navigation enhancement proposals

I mostly agree with you on these.
To be honest, I added keys without much thought when I first implemented it 👻
(As for the R key, this was because we use r in object details and we wanted to prevent pressing it by mistake.)

However, there is probably no one right answer for key bindings that will please everyone.
Probably the only way to achieve is to allow users to customize their own keybindings.
This is something I've been wanting to implement for a long time, but it's not easy so I haven't gotten around to it yet.

@augustwester
Copy link
Author

This may currently be what you can do with the x key (Although, it's a little different in that it opens the currently open hierarchy in a browser).

I totally missed this. This is great!

Thanks for considering the other proposals 😊

@lusingander
Copy link
Owner

Option to yank the path to the currently highlighted object / directory to the clipboard

In #30, I implemented the feature to copy the information of the resource highlighted on the bucket or object list.

It may not be exactly how you imagine it, this is to ensure consistency with object detail page, and I think the functionality is sufficient for now.

@augustwester
Copy link
Author

Amazing, really appreciate your responsiveness to the suggestions! 🙌

@lusingander
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants