spark-wallet icon indicating copy to clipboard operation
spark-wallet copied to clipboard

feature proposal: recent command history dropdown

Open m-schmoock opened this issue 3 years ago • 2 comments

I think it would be a simple and efficient addition to have some kind of a drop-down in the console screen, where one can select previous successful commands.

Ideally we can design the current command input box in a way that it can be used for text input and the dropdown function with some triangle button on the right side.

m-schmoock avatar Dec 14 '20 21:12 m-schmoock

This could be pretty useful indeed!

Another alternative is adding a small "re-run" button next to the command shown in the history, which would keep the UI simpler.

shesek avatar Dec 16 '20 03:12 shesek

@shesek The command history should be persisted, because currently when app is restarted the command history is empty... Not sure if there's an UI element that can act as an 'editable dropdown'. We have to keep in mind that a lot of commands take arguments which one would like to edit before repeating a command...

Another thing that came in my mind is that the apps console view could call 'help' internally to discover the accessible commands to pre-fill the dropdown or have some auto completion. But that's very nice to have stuff :D

m-schmoock avatar Dec 18 '20 10:12 m-schmoock