When waiting for action, animate "spinner" #32

Open
opened 2025-02-11 10:54:16 +00:00 by anton · 1 comment
Owner

Instead of printing new lines with prompt for commands like icepick workflow generate-nonce-account, it may be nice to use a bash style spinner sequence like:

-\|/ or \|/

Nice to have, not a high priority.

Instead of printing new lines with prompt for commands like `icepick workflow generate-nonce-account`, it may be nice to use a bash style spinner sequence like: `-\|/` or `\|/` Nice to have, not a high priority.
Owner

The difficult part of this is making Icepick modules not be aware of the context in which they're run, but... icepick-internal already assumes it's running on a machine that has the ability to read to/from SD cards.

I think this may need to be modified as a return value for Icepick to iterate over. Maybe returning a non-blob message would be interpreted as "something to show the user", and we can just repeatedly update that value with a new spinner.

The same would likely apply for the various await-funds mechanisms.

The difficult part of this is making Icepick modules not be aware of the context in which they're run, but... `icepick-internal` already assumes it's running on a machine that has the ability to read to/from SD cards. I think this may need to be modified as a return value for Icepick to iterate over. Maybe returning a non-blob message would be interpreted as "something to show the user", and we can just repeatedly update that value with a new spinner. The same would likely apply for the various `await-funds` mechanisms.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
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: public/icepick#32
No description provided.