dynamic-cli icon indicating copy to clipboard operation
dynamic-cli copied to clipboard

Keybindings?

Open lainq opened this issue 3 years ago • 13 comments

🚀 Feature

My idea: After displaying the results(from StackExchange), we can open up the stdin to receive keypresses. So that we can perform specific tasks(or functions) with keyboard shortcuts.

Examples: ctrl+s - > to save results to a file ctrl+r -> Reload the results.

And many more...

The keyboard module will help us listen for keypresses.

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

I implemented this feature while I was working on a project. I thought we could implement this feature in dynamic-cli because it makes it easier for people to use the cli.

Pitch

explained above

lainq avatar Jul 04 '21 10:07 lainq

Hi👋 thanks for creating your first issue for IOSF, Will get back to you soon !.

github-actions[bot] avatar Jul 04 '21 10:07 github-actions[bot]

Hey @pranavbaburaj . I think this would be a awesome features to work and this will also increase the UX as such in the cli. We can start working on it to make this happen

GouravSardana avatar Jul 05 '21 08:07 GouravSardana

@pranavbaburaj Are we working on this or do we need any discussion on it?

GouravSardana avatar Jul 28 '21 13:07 GouravSardana

If you are busy, I can also pick it up

GouravSardana avatar Jul 28 '21 13:07 GouravSardana

If you are busy, I can also pick it up

ye, I have exams. I will work on it after the exams. 🙂

lainq avatar Jul 28 '21 14:07 lainq

@GouravSardana, I am a gssoc participant. Can I work on this issue?

AbhijitDutta338 avatar Mar 03 '22 18:03 AbhijitDutta338

Yeah sure.

lainq avatar Mar 03 '22 18:03 lainq

Go ahead and work on it. In your PR tag this issue

GouravSardana avatar Mar 03 '22 18:03 GouravSardana

@GouravSardana @pranavbaburaj I noticed that when we are searching in dynamic-cli we can use arrow keys to navigate the results that are shown as a list. Can you tell me in which file it is implemented?

AbhijitDutta338 avatar Mar 08 '22 13:03 AbhijitDutta338

@GouravSardana Sir, also I would like to ask if it would be possible to have a small call. I have some doubts that I wanted to clarify.

AbhijitDutta338 avatar Mar 08 '22 13:03 AbhijitDutta338

@GouravSardana @pranavbaburaj I noticed that when we are searching in dynamic-cli we can use arrow keys to navigate the results that are shown as a list. Can you tell me in which file it is implemented?

Those keybindings are parts of the tui library we are using, not a part of out project repo.

lainq avatar Mar 08 '22 16:03 lainq

Understood @pranavbaburaj sir, thanks!

AbhijitDutta338 avatar Mar 08 '22 17:03 AbhijitDutta338

@GouravSardana I would like to work on this issue so could you please assign this issue to me.

sahilsuman933 avatar Mar 21 '22 14:03 sahilsuman933