snaptastic
snaptastic copied to clipboard
[Request] Update install text in real time
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:
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.
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.
Tried it again, still can't seem to get it working unfortunately.
Is it an API issue? We could file one to include progress indication, or at least change it to "Installation in progress"
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.
You could at least try to add a spinner for starters.
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)