• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Improve system settings disk usage analyzer

Scheduled Pinned Locked Moved Design
settingsanalyzermemorydiskspace
98 Posts 17 Posters 27.0k Views 8 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      potet
      last edited by potet 24 Oct 2020, 20:53

      Just a quick comment on the problem of short bars on relative graphs: Is this really a problem? When opening this setting I guess most users are interested in what is taking up space on their system, and the very short relative graphs is a great indication that "it's not this".

      At least for me, that's much more valuable than the technical details about each app. And the graphs are a great way of making it clear, while the difference between 100 mb and 100 kb when written out is hard to grasp for most (non-tech) people. πŸ™‚

      M 1 Reply Last reply 25 Oct 2020, 22:35 Reply Quote 3
      • D Offline
        danfro
        last edited by 25 Oct 2020, 22:26

        Cool. Just came across this thread. I do love to see that this part of system settings is being thougth of. I do very much like the ideas.

        Just a quick comment on the last design: As @mymike already said, I too think it does not need to be a two step action. The clear button could be set inactive if no check box is checked.

        And I guess the numbers only do not match because it is a mockup? Otherwise I would expect app size + cache size + data size + config size = total size.

        M 1 Reply Last reply 25 Oct 2020, 22:38 Reply Quote 0
        • M Offline
          mymike @potet
          last edited by 25 Oct 2020, 22:35

          @potet said in Improve system settings disk usage analyzer:

          Just a quick comment on the problem of short bars on relative graphs: Is this really a problem?

          No, it isn't, you're right. Just a minor thing I noticed that 95% of the users won't...

          When opening this setting I guess most users are interested in what is taking up space on their system, and the very short relative graphs is a great indication that "it's not this".

          At least for me, that's much more valuable than the technical details about each app. And the graphs are a great way of making it clear, while the difference between 100 mb and 100 kb when written out is hard to grasp for most (non-tech) people. πŸ™‚

          Keep things simple! - Sometimes I forget about it lol...

          1 Reply Last reply Reply Quote 1
          • M Offline
            mymike @danfro
            last edited by 25 Oct 2020, 22:38

            @danfro said in Improve system settings disk usage analyzer:

            Cool. Just came across this thread. I do love to see that this part of system settings is being thought of. I do very much like the ideas.

            Thanks! I am glad people appreciate my work πŸŽ‰

            Just a quick comment on the last design: As @mymike already said, I too think it does not need to be a two step action. The clear button could be set inactive if no check box is checked.

            Sure

            And I guess the numbers only do not match because it is a mockup? Otherwise I would expect app size + cache size + data size + config size = total size.

            Yeah, that one is just a mockup with random values :beaming_face_with_smiling_eyes: Maybe I should make it more clear whether it's a mockup or running code...

            D 1 Reply Last reply 25 Oct 2020, 22:42 Reply Quote 0
            • D Offline
              danfro @mymike
              last edited by 25 Oct 2020, 22:42

              @mymike It is not only the fresh new design. But being able to delete those items from system settings I would call a breakthrough. Definitely worth appreciation. πŸ‘

              1 Reply Last reply Reply Quote 3
              • M Offline
                mymike
                last edited by 29 Oct 2020, 17:33

                I managed to place correctly all the GUI bits to clear the app data. The actual erase will come next!

                1444cc31-ac97-4664-bcb4-e338a58f9c5d-immagine.png

                M D 2 Replies Last reply 30 Oct 2020, 06:42 Reply Quote 3
                • M Offline
                  matteo @mymike
                  last edited by matteo 30 Oct 2020, 06:42

                  @mymike I'm late to the party but I wish only to say: great job Michele! I like very much how you designed the breakdown of stored data for each app; the idea of proportional bars and the data characterization by different colors is just brilliant. Thank you and keep up the good work πŸ˜‰

                  M 1 Reply Last reply 30 Oct 2020, 15:03 Reply Quote 2
                  • M Offline
                    mymike @matteo
                    last edited by 30 Oct 2020, 15:03

                    @matteo said in Improve system settings disk usage analyzer:

                    @mymike I'm late to the party

                    It's never too late :winking_face_with_tongue:

                    but I wish only to say: great job Michele! I like very much how you designed the breakdown of stored data for each app; the idea of proportional bars and the data characterization by different colors is just brilliant.

                    Well, tbh proportional bars are common in disk analyzer apps but I'm glad you like these features!

                    Thank you and keep up the good work πŸ˜‰

                    Sure :smiling_face_with_smiling_eyes:

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mymike
                      last edited by 3 Nov 2020, 17:32

                      Confirmation dialog: the bullet list doesn't look that good, any idea to make it cooler? a single label is more complicated because I need to dynamically add the folders the user selected to remove, considering translation and commas too...

                      7e3bf425-5484-496a-9464-6fd7ede5cc07-immagine.png

                      I also wanted to let the user uninstall an app. Do you think it make sense or there are already enough way to do it (Drawer and OpenStore)?

                      I was thinking that if the user selects the checkbox near app size, then the red button would change from "Clear" to "Uninstall". Eventually if other checkboxes are selected to it could be "Uninstall & Clear". But the checkbox way isn't very user-friendly, I guess... What about another button next to the clear one?

                      In the confirmation dialog I'd ask if the user wants to keep app data even if uninstalling it, remove every data or select which data need to be cleaned.

                      K D 2 Replies Last reply 3 Nov 2020, 17:54 Reply Quote 0
                      • K Offline
                        kugiigi @mymike
                        last edited by 3 Nov 2020, 17:54

                        @mymike In my opinion, those features would be great. These are the things I've been planning to implement but never actually done them because I'm afraid of the C++ parts of settings app πŸ˜†, Anyway, in my opinion with these features, it'll qualify for a standalone section in the setting app since it's already an app management page. I'm not sure though where to put it exactly but I'm thinking a separate page where you can also navigate to from the storage page. Then you can maybe also add app updates, although I think it's already planned to remove this feature from the update page so maybe it's not a good idea after all. But of course these entails a lot more effort πŸ˜„

                        M 1 Reply Last reply 3 Nov 2020, 18:03 Reply Quote 0
                        • M Offline
                          mymike @kugiigi
                          last edited by 3 Nov 2020, 18:03

                          @kugiigi said in Improve system settings disk usage analyzer:

                          These are the things I've been planning to implement but never actually done them because I'm afraid of the C++ parts of settings app πŸ˜†,

                          Yeah, I was scared too at the beginning and it took me a while to understand more or less how it works...

                          Anyway, in my opinion with these features, it'll qualify for a standalone section in the setting app since it's already an app management page. I'm not sure though where to put it exactly but I'm thinking a separate page where you can also navigate to from the storage page.

                          Yeah, I was thinking about that too but I haven't done anything yet because first I want to implement all the features. moving the page can always be done later...

                          I think the best thing would be to put an icon in the main page (where?) and a link in the memory page.
                          In that page I'd put a similar header to the memory page with the bar showing installed, cache, config and data sizes so that you know what takes up more spaces. Putting these categories in the main bar in memory page is too much imho, as segments in the bar would be too little to see them clearly.

                          Then you can maybe also add app updates, although I think it's already planned to remove this feature from the update page so maybe it's not a good idea after all. But of course these entails a lot more effort πŸ˜„

                          Yeah, as the future of app updates in settings is unclear I wouldn't make work on that :winking_face_with_tongue:

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            danfro @mymike
                            last edited by 3 Nov 2020, 19:18

                            @mymike UI ideas regarding uninstalling of app:

                            1. option: use a list view's swipe action on the apps name to provide delete/uninstall [not obvious as with all list views, but standard list view behaviour]
                            2. option: move the "clear" button to the left unterneath the tick boxes and have another uninstall button at the right hand side

                            Uninstall should always ask the user to clear all three folders. We do not wish this to happen per default, because sometimes you only want to remove the app to reinstall it but keep the data.

                            I would like to see an uninstall here together with the clear data options. OpenStore does not provide this and I think there should be one core place (that is not UTTT) where users can do this. I would rather reduce the other options if it does get too much.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              danfro @mymike
                              last edited by danfro 11 Mar 2020, 19:31 3 Nov 2020, 19:29

                              @mymike Could you use a Column(Layout) with four labels? Then set visibility of the three labels depending on the users selection. Or a label and a column with the three options. Even a grid could be used for the dot/number column and the words column. Although then setting visibility is more difficult.

                              Maybe use "... clear the following files?" instead of "folders"? Files is more general and maybe less scary ;-).

                              With "app" being a common word, maybe use that instead of the full "application"?

                              "Are you sure you wish to clear the following files:
                              x app configuration
                              x app data
                              x app cache

                              Edit: There was a "rule" about how to phrase questions. Wasn't it better instructing the user what to do? @CiberSheep

                              Press "proceed" to delete the following files:
                              x app configuration
                              x app data
                              x app cache
                              "Proceed"
                              "Cancel"

                              A M 2 Replies Last reply 3 Nov 2020, 20:32 Reply Quote 0
                              • A Offline
                                arubislander @danfro
                                last edited by 3 Nov 2020, 20:32

                                @danfro said in Improve system settings disk usage analyzer:

                                Edit: There was a "rule" about how to phrase questions. Wasn't it better instructing the user what to do? @CiberSheep
                                Press "proceed" to delete the following files:
                                x app configuration
                                x app data
                                x app cache
                                "Proceed"
                                "Cancel"

                                I think the idea is that the label on the button should reflect the action being taken. So in this case "Clear" instead of "OK", or "Proceed", as the latter two are too generic.

                                πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                Happily running Ubuntu Touch
                                Google Pixel 3a (20.04 DEV)
                                JingPad (24.04 preview)
                                Meizu Pro 5 (16.04 DEV)

                                1 Reply Last reply Reply Quote 1
                                • M Offline
                                  mymike @danfro
                                  last edited by mymike 11 Apr 2020, 11:47 4 Nov 2020, 11:46

                                  @danfro said in Improve system settings disk usage analyzer:

                                  Maybe use "... clear the following files?" instead of "folders"? Files is more general and maybe less scary ;-).

                                  With "app" being a common word, maybe use that instead of the full "application"?

                                  done!

                                  @mymike Could you use a Column(Layout) with four labels? Then set visibility of the three labels depending on the users selection. Or a label and a column with the three options. Even a grid could be used for the dot/number column and the words column. Although then setting visibility is more difficult.

                                  I did this when uninstalling an app, what about using checkboxes too when clearing only?

                                  1ab82817-ff33-494a-bb9a-45f8272bdd1b-immagine.png

                                  1 Reply Last reply Reply Quote 2
                                  • M Offline
                                    mymike
                                    last edited by 4 Nov 2020, 11:57

                                    Also what do you think about this?

                                    The idea is: if you order by app data size, then you can select app data from multiple app and clear them with one tap (I thought this could be useful when clearing the cache)

                                    The user is still allowed to tap on an app, expand it and clear/uninstall only files relative to that app.

                                    The global clear button at the bottom can be made visible only when at least one app is selected (through the checkbox on the right, obviously) and list next to the button the apps selected and a sum of the space that would be freed...

                                    This is a mockup, I'd wait your feedback to implement this because you may say this isn't that useful and then we can skip this feature

                                    4fb60f45-75ea-49a4-a3c5-3c26a7238113-immagine.png

                                    A D 2 Replies Last reply 4 Nov 2020, 13:17 Reply Quote 1
                                    • A Offline
                                      AppLee @mymike
                                      last edited by 4 Nov 2020, 13:17

                                      @mymike
                                      Not sure I understand your last idea.
                                      You mean the user can select multiple apps, then tap the global "clear" button.
                                      Now a popup shows which kind of data the user want to batch clear ?

                                      M 1 Reply Last reply 4 Nov 2020, 13:29 Reply Quote 0
                                      • M Offline
                                        mymike @AppLee
                                        last edited by 4 Nov 2020, 13:29

                                        @AppLee said in Improve system settings disk usage analyzer:

                                        You mean the user can select multiple apps, then tap the global "clear" button.

                                        Yeah

                                        Now a popup shows which kind of data the user want to batch clear ?

                                        My idea was that the kind of data to clear correspond to the sorting the user chose, idk if an option to change it later make much sense: the user chose the app with in mind a precise kind of data, why should change it later? because he thought to select e.g. cache wile he was selecting config? Mmh, could be...

                                        Instead of clearing kind of data depending on the sorting, we can add an additional selector at the top (maybe tabs, before the option selector for sorting) and let the user choose there what kind of data he's going to clear: a global tab where you expand apps and select only for that app what to clear and then a data tab, cache tab and config tab where you can't expand apps and there's only the checkbox on the right.
                                        For this I think it's better to move everything related to apps in a dedicated page.

                                        A 1 Reply Last reply 4 Nov 2020, 13:35 Reply Quote 0
                                        • A Offline
                                          AppLee @mymike
                                          last edited by 4 Nov 2020, 13:35

                                          @mymike said in Improve system settings disk usage analyzer:

                                          My idea was that the kind of data to clear correspond to the sorting the user chose

                                          Ok, I get it now.
                                          Then I find it very interesting. But just to clarify the button needs to repeat the sorting info : "clear apps data", "clear cache" or "clear config"

                                          So the user has all the required information when acting on it.

                                          1 Reply Last reply Reply Quote 1
                                          • D Offline
                                            danfro @mymike
                                            last edited by 4 Nov 2020, 15:44

                                            @mymike I like the idea of a global/batch clear option. How about the following:

                                            Longpresshold to enter multiselect state of list view. Then add a second "header" with the three clear options (cache, config, data) as checkboxes. Maybe have cache preselected when apps where sorted by cache.

                                            Have an select all button (for the apps) in that header too as in other list views. The clear button then clears the selected data types for all selected apps.

                                            So this is a global clear with intelligent preselection, rather than an single clear based on sorting.

                                            M 1 Reply Last reply 4 Nov 2020, 15:55 Reply Quote 0
                                            42 out of 98
                                            • First post
                                              42/98
                                              Last post