Enchance frostfs-cli container policy-playground user experience with readline library #1396

Closed
opened 2024-09-27 07:39:27 +00:00 by a-savchuk · 0 comments
Member

I often get frustrated when typing long policies in policy-playground because I can't use the arrow keys for navigation. When I wanna slightly modify just entered policy, I'm forced either retype the entire policy or copy it somewhere, modify it, and paste it back.

Describe the solution you'd like

I suggest using the chzyer/readline library, which is already used in frostfs-adm. This would enhance prompt navigation, allow to use shortcuts and command history.

## Is your feature request related to a problem? Please describe. I often get frustrated when typing long policies in `policy-playground` because I can't use the arrow keys for navigation. When I wanna slightly modify just entered policy, I'm forced either retype the entire policy or copy it somewhere, modify it, and paste it back. ## Describe the solution you'd like I suggest using the [chzyer/readline](https://github.com/chzyer/readline) library, which is already used in `frostfs-adm`. This would enhance prompt navigation, allow to use shortcuts and command history.
a-savchuk added the
enhancement
discussion
frostfs-cli
triage
labels 2024-09-27 07:39:27 +00:00
fyrchik added this to the vNext milestone 2024-10-02 06:22:51 +00:00
achuprov self-assigned this 2024-11-11 08:08:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1396
No description provided.