gopass icon indicating copy to clipboard operation
gopass copied to clipboard

Evaluate survey

Open dominikschulz opened this issue 4 years ago • 4 comments

We should consider replacing most of pkg/termio with github.com/AlecAivazis/survey.

In terms of License (MIT), dependencies (few) and features (~all we need) it looks good.

dominikschulz avatar Sep 13 '21 18:09 dominikschulz

Indeed, looks good and it would force a refactoring of the whole UI

AnomalRoil avatar Sep 14 '21 06:09 AnomalRoil

That sounds almost like a bad thing. Well at least like a lot of work. But I think we could first give it a try for some less critical parts, e.g. gopass create. And if that doesn't surprise us (bad) then we can consider doing a more holistic implementation.

dominikschulz avatar Sep 17 '21 19:09 dominikschulz

I did look into this a bit and it seems feasible, however we'd either need to keep a wrapper around that lib or we'd loose some of the hard-learned fixes for subtle issues.

However it might be an option for the less critical, more UX-heavy workflows like recipient selection or gopass create. I'll try to adopt it for gopass create to see how well it works for us.

dominikschulz avatar Oct 08 '21 14:10 dominikschulz

Looking a little bit further I realized that it doesn't seem to support our nested dialogs. It can still be useful but not as useful as I first though.

Might be a good beginner issue to migrate some of our selection dialogs to this but I won't do it (probably).

dominikschulz avatar Dec 24 '21 07:12 dominikschulz

No progress here and no urgent need to prioritize this.

dominikschulz avatar Dec 04 '22 09:12 dominikschulz