Improve system settings disk usage analyzer



  • @mymike I like this approach.

    Having thought about it, only for cache I see the use of bulk cleaning. That could be done with a button in the header, if needed.

    Although the right image does look cleaner, as @CiberSheep already said, I can imagine, that very small portions of data can look like "dirt on the screen" or a graphical fault.

    Maybe make the not filled bar's color a tiny bit brighter?

    And (don't beat me 😏 ) do we need the dividers? I think in many places we found, that things look nicer without them.

    As for the main action: Which is the main purpose? Managing apps data or uninstalling apps? OR Which is the more "dangerous/intrusive" action? Delete or clear?
    I think, I would go for the first one and say managing data is the main purpose, so have the clear button red.

    Will uninstall prompt the user to clear all data (popup maybe)?



  • @mymike
    I agree with ciberSheep, I prefer the one on the right.
    And I also agree with danfro that deleting the app is not the prime focus here.

    I deleting the app can be managed with swipe right and delete.
    Expanding the app line gives option to cleanup some data with a single action : cleaning.
    Long press to allow bulk modification.

    The question I have is what would be the best way to choose the action performed in mass ?!
    I like the idea of the "sorting" option as an input, but I hear the drawbacks...



  • @danfro said in Improve system settings disk usage analyzer:

    Maybe make the not filled bar's color a tiny bit brighter?

    Yeah, I'll make a test

    And (don't beat me 😏 ) do we need the dividers? I think in many places we found, that things look nicer without them.

    Idk, but I'll test this one too 👍🏻

    As for the main action: Which is the main purpose? Managing apps data or uninstalling apps? OR Which is the more "dangerous/intrusive" action? Delete or clear?
    I think, I would go for the first one and say managing data is the main purpose, so have the clear button red.

    Yeah, I think I'll make red the clear button.

    Will uninstall prompt the user to clear all data (popup maybe)?

    Yes, I already posted it but you may have missed it 😉



  • @AppLee said in Improve system settings disk usage analyzer:

    I deleting the app can be managed with swipe right and delete.

    Ok, I'll try the swipe and remove the uninstall button

    Expanding the app line gives option to cleanup some data with a single action : cleaning.

    Well, right now if you select e.g. cache and then press uninstall, the dialog will select "Choose what to delete" instead of the default "Delete all app data" and will check cache from the list in the popup.

    Long press to allow bulk modification.

    The question I have is what would be the best way to choose the action performed in mass ?!

    An idea could be to make the user to chose it later: Long press, select the apps, press the "Clean..." button at the bottom and a popup will ask you "What do you want to clean from these apps?" and it will list the apps you have selected with an option selector for cache, config and data.

    If we want we can also put an uninstall button (grey) at the bottom when in bulk mode. Or, more hidden as the impact is quite big, put the swipe to right in the list item floating at the bottom...



  • @mymike

    Yes, I already posted it but you may have missed it 😉

    "Forgot about it" is the better wording. 👼 Sorry.



  • So I fixed some other things like update asynchronously the list when uninstalling an app or cleaning some data. I added a pull-to-refresh component too to update the list manually.
    It's all in this github branch if someone is interested https://github.com/mymike00/system-settings/tree/xenial_-_better-disk-usage
    If someone wants a .deb to test these changes, let me know.



  • I managed to get things working for bulk cleaning, but the GUI can still be improved. What do you think?
    bcc8ef9f-cead-49a6-93e4-ae50140b2fde-immagine.pngffe97779-83f7-4b99-ab2d-cda686e54375-immagine.png



  • @mymike Ouh, it's getting a lot better on every iteration 🙂 good work

    Off topic: I have a new favorite word: Orologio



  • @CiberSheep said in Improve system settings disk usage analyzer:

    @mymike Ouh, it's getting a lot better on every iteration 🙂 good work

    Thanks!

    Off topic: I have a new favorite word: Orologio

    ahahah 😂



  • So, finally testing this on my phone. Very nice!

    A few things to think about:

    • we should move storage to a separate point in the main screen (has been said here before I think)
    • could the buttons be made wider? Then only the label is going to change. The buttons changing size looks "dizzy".
    • I am not sure if we need to paint a "refreshing list" somehow after clearing something. I cleared the cache of one app and it disappeared. Panic. After thinking for a second, sure it moved down the list. 😉 But I guess users are always wary when deleting things.
    • when multiselecting, I like how the apps are listed at the bottom. But here could we maybe rename the button to "proceed" or so? Then the user does not need to worry about what is going to be deleted but will expect another prompt/choice (that is coming after pressing the button).
    • the multiselect dialog could do with a space between the "Which type of data..." and the list of apps. Or maybe place them in brackets? "... selected apps (list of apps)?"
    • if nothing is selected in expanded view, tapping on the (disabled) "clear" button does collapse the view. That feels not natural? Maybe do nothing there?

    Just some thoughts. Maybe too nutpicking. No real need to change things. More suggestions if others feel the same, then we can think about it.

    If I discover more, I will come back. Enjoying it now I am... 🙂