snaptastic icon indicating copy to clipboard operation
snaptastic copied to clipboard

[Request] Update install text in real time

Open alicerunsonfedora opened this issue 6 years ago • 6 comments

I've started using Snaptastic on ElementaryOS to install some packages like Hugo, documentation-builder, and others. There's a part in the Snaptastic UI that I think could be a bit improved to inform the user a bit better.

Currently, when snaps are installing, this screen is presented: Imgur The text doesn't appear to change, and it may confuse the user as to what is exactly happening. I am unsure if this is specific to my machine and it doesn't display other text, but I think there should be some strings in the process that displays what's exactly going on, eg.:

  • "Downloading package"
  • "Installing package"

It may be a small change, but I think this will definitely help users understand what's going on without attempting to figure it out.

alicerunsonfedora avatar Jul 08 '18 19:07 alicerunsonfedora

Hi, that's a cool idea, but unfortunately i tried that a while ago, and couldn't get the steps of the process from the snapd api. Maybe that changed now, as i haven't looked at it for a while now.

unbelievableflavour avatar Jul 09 '18 07:07 unbelievableflavour

Tried it again, still can't seem to get it working unfortunately.

unbelievableflavour avatar Jan 11 '19 07:01 unbelievableflavour

Is it an API issue? We could file one to include progress indication, or at least change it to "Installation in progress"

alicerunsonfedora avatar Jan 12 '19 15:01 alicerunsonfedora

I just have no Idea how to get the progress. And i can't find any logical examples or documentation explaining how.

I could make separate screens for the in progress actions like uninstalling, installing and updating. But that wouldnt make it way more clear.

unbelievableflavour avatar Jan 12 '19 20:01 unbelievableflavour

You could at least try to add a spinner for starters.

aggalex avatar Apr 07 '19 18:04 aggalex

From a quick dive into the docs, it appears you might be able to use GET /v2/changes/[id] (See https://snapcraft.io/docs/snapd-api for more)

ChildishGiant avatar Feb 24 '21 20:02 ChildishGiant