Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

[Request] Update install text in real time #42

Open
alicerunsonfedora opened this issue Jul 8, 2018 · 6 comments
Open

[Request] Update install text in real time #42

alicerunsonfedora opened this issue Jul 8, 2018 · 6 comments

Comments

@alicerunsonfedora
Copy link

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.

@unbelievableflavour
Copy link
Owner

unbelievableflavour commented Jul 9, 2018

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
Copy link
Owner

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

@alicerunsonfedora
Copy link
Author

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

@unbelievableflavour
Copy link
Owner

unbelievableflavour commented Jan 12, 2019

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.

@aggalex
Copy link

aggalex commented Apr 7, 2019

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

@ChildishGiant
Copy link

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants