Improve system settings disk usage analyzer
-
@danfro Yeah, that could work. Even if I don't like much the long press to trigger it. If you don't know about it, it's hard to find...
But now that I think about it again: what about a table with a row for each app and in the row put appname+icon and the 3 values with a checkbox or a custom button that keeps the pressed state. in the table header you have the buttons to select a whole column (e.g. all the cache column)
This way the colored bars doesn't fit very well, the table needs to be quite compact -
@mymike True, a table might work better. Would a "super table" work, where cache, data and config are separate columns? A bit like this:
Bold = row/column tapped and fully selected.
-
The downside of the super table is that it is less immediate to see what takes up space, am I wrong?
Also it's all too compacted in my sketch, but I guess making rows more tall won't help much...
What about hiding the app name and show only the icon?
Let me explain this better: There is a simple list like here With a button at the bottom "Start cleaning space". Now the app name, the bar and the size on the right disappear and the 3 columns appear. tap or keep pressed on the icon to see temporarily the name.
The issue here is: bars (or circles) should be proportional to what. proportional to the app size? proportional to other values on the column? proportional to everything else (like 1 degree/pixel is 1MB)?I haven't talked about burst uninstalling yet...Dedicated page? But for each app you uninstall you have to decide whether to keep, remove or select the data to remove, and so the super table already lets you to do so, but there's little space left for an additional uninstall button (or 3, like the 3 options in the dialog)... A row under each app with the three buttons? "Uninstall & Clear", "Uninstall & Keep", "Uninstall & Select". The first will check all the three columns for that app, the second will uncheck them ad the third won't touch them. All of them would mark the app as "to be uninstalled" when confirming the cleaning with the bottom button.
Oh, maybe an uninstall button/icon can make the row under the app with the 3 button visible...I'm getting lost in this super table sigh, to many thing to show and to many actions the user can perform, and they need to match perfectly each other... But maybe something cool can came out of this
-
@mymike
I see we are both lost because it starts to be too complex.
Let summarize things a bit.
I'm focusing here on actions and visual information. In my process, it helps figuring how to perform such actions given the chosen display.As you're the one doing the hard work you have the decision power.
Actions evoked:
- Remove app
- Clean app data
- Bulk cleaning app data
- Clean app config
- Bulk cleaning app config
- Clean app cache
- Bulk cleaning app cache
If I missed some, please complete the list.
Then we have the visual components.
We have to decide what will be displayed. Again I list all that I have in mind.- App data size
- App config size
- App cache size
- App total size
- App name
- App logo
- Checkbox to select app to be deleted
- Checkbox for app's items to be cleaned
- Sorting options
- Visual confirmation that sorting is applied properly
- Visual information regarding the relative size of data, cache and config
- Action buttons
- Warnings
- Action feedback
Of course all information and all actions don't have to be implemented.
It might help to sort what's important and what is just noisy.IMHO the long press can be used for hidden infrequent actions like bulk actions.
We have the same behavior in messaging app and I guess it's OK this way.
So long press on any line will add a checkbox on each line and allow a single action to be perform for all selected apps.
We have to choose one because too many options will be confusing.
I suggest using the sorting option to either clean data, config or cache.
At the bottom we'll have a cancel button and an action button explicitly stating the action.Individual actions can be implemented using the swipe left or right quick actions. That's a common way to do it on UT.
-
@AppLee said in Improve system settings disk usage analyzer:
I see we are both lost because it starts to be too complex.
Let summarize things a bit.Yeah, great!
Actions evoked:
- [..]
If I missed some, please complete the list.
Do we want a bulk removing app too?
IMHO the long press can be used for hidden infrequent actions like bulk actions.
We have the same behavior in messaging app and I guess it's OK this way.
So long press on any line will add a checkbox on each line and allow a single action to be perform for all selected apps.Ok, I agree long press can trigger bulk cleaning.
You don't think cleaning multiple data type at the same time could be useful?
I suggest using the sorting option to either clean data, config or cache.
I thought about it already but I don't feel it's the right choice: sorting option should only sort, not decide what you're going to clean...
At the bottom we'll have a cancel button and an action button explicitly stating the action.
ok
Individual actions can be implemented using the swipe left or right quick actions. That's a common way to do it on UT.
Yeah, but swiping is meant to put buttons and don't waste space in the list. If we already expand the list item, we don't have to worry to waste space.
-
@mymike said in Improve system settings disk usage analyzer:
Do we want a bulk removing app too?
I was just putting all ideas. Accepting or rejecting one is completely up to you.
The lists are for general purpose.You don't think cleaning multiple data type at the same time could be useful?
Here starts my personal opinion
Yes it can be useful, but my opinion is with combining multiple choices it makes it harder to perform a simple operation while the gain is not that important once in a while.I will more frequently delete cache for multiple apps.
Deleting config+cache on multiple apps doesn't require a specific feature. I can easily repeat the operation for config and then for cache... and it's less probable that I'll have to do it.I thought about it already but I don't feel it's the right choice: sorting option should only sort, not decide what you're going to clean...
Then maybe we shouldn't have a "sorting" option. But a scope.
I want to see cache, data or config and maybe perform an action towards this kind of data.
We can always have total size for each app for convenience, but exit the details...That's the choice you'll have to make. What is the goal :
- Showing what space is used and where
- Cleaning such space
What should be the easiest and fastest? What is an additional feature that can be less easily accessed ?
-
What do you think about the first picture vs the second one?
-
- For me second is cleaner.
- Also for the buttons: Remember, only main action colored the one at the right
-
@CiberSheep said in Improve system settings disk usage analyzer:
- For me second is cleaner.
ok
- Also for the buttons: Remember, only main action colored the one at the right
But how should I decide which one is the main? The other one will be grey even if negative?
-
I'm getting lost in this super table sigh, to many thing to show and to many actions the user can perform, and they need to match perfectly each other... But maybe something cool can came out of this
Sorry for making you pulling your hair out by suggesting this. As @AppLee said, just gathering ideas. Even if dropping them is all we do with it, it brings us a step further.
-
@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...
-
-
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?
-
@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...