Skip to content

As an OC user I want clear badges in my list of files so that they are easy to understand #1218

Closed

Description

@davivel

UPDATE 2016/05/18: Remaining tasks to finish implementation of this topic are in comment #1218 (comment)


As seen in #1136, we need to find a new icon to mark files as "to-be-kept-in-sync" (1). The current icon, the star, is the same icon used in the recent versions of the web UI to bookmark files (favorites). In some moment we will probably want to read the favorite property in the mobile apps, so we should reserve the star icon for that purpose.

In the former issue @MTRichards suggests an icon with two arrows in a circle to replace the star icon. Some contributors pointed that may be confused with an icon meaning "synchronizing", this is, an sync state of the file instead of a sync modifier set by the user. This seems reasonable, since this kind of icon is often used by synchronization clients with this meaning.

We need to choose an icon as clear as possible. To do so, I think we should review globally what sync states and sync modifier we want to consider to draw as badges in the list of files, and be sure that they all combine clearly.

Check the next table with sync states we could consider. States show how is the file now, in terms of synchronization. I'm trying to match similar states in files and folders.

file folder
not down nothing down
down & sync'ed all down & sync'ed
down & not sync'ed (remote changes) something down (maybe all) & not sync'ed (remote changes)
down & not sync'ed (local changes) something down (maybe all) & not sync'ed (local changes)
down & in conflict some conflicts inside
checking sync checking sync
downloading transfer inside
uploading transfer inside

About sync modifier, right now we only handle "kept-in-sync" on or off, and we don't expect to add new ones, as far as I know.

Right now the Android app already shows separated icons for sync states (top badge) and sync modifiers (bottom badge - star shown or not shown). The iOS app in some cases mixes state and modifier in a single badge (colored stars). My bet is continuing with the approach in the Android app, but the discussion is open.

In the next comment I'll summarize what icons the Android app currently uses, placed in the table.

(1) Please, let's not discuss here what should be the naming convention for file "kept-in-sync", "synchronized", or "favorites". Icons may be complex enough for an issue. We all should understand that, whatever the naming is, these files receive a more aggresive synchronization policy - the app tries to push any local change automatically to the server and dowload any remote change as soon as detects it, without a user request to sync.

Activity

  1. davivel commented on Oct 27, 2015

    @davivel
    ContributorAuthor

    Sync states

    file folder
    not down nothing down
    down & sync'ed all down & sync'ed
    down & not sync'ed (remote changes) something down (maybe all) & not sync'ed (remote changes)
    down & not sync'ed (local changes) something down (maybe all) & not sync'ed (local changes)
    down & in conflict some conflicts inside
    checking sync checking sync
    downloading transfer inside
    uploading transfer inside

    Sync modifiers

    file folder
    regular file regular folder
    kept-in-sync file star kept-in-sync folder [TODO] star

    The icons with [WIP] are not release yet, and may be changed if needed. They are in included in the branch sync_full_folder. The kept-in-sync folders are to be done.

    Maybe not all the states in the table need a separate icon. Maybe some states should be split even more. Maybe merging sync states and sync modifiers is a good idea. Maybe I forgot something. Feel free to complete incrementally or imagine a totally different approach.

    But let's try to make it really clear.

    Call for @MTRichards, @cmonteroluque, @rperezb, @jancborchardt, @masensio, @javiergonzper, @ggdiez, @nasli, @tobiasKaminsky, @AndyScherzinger, @LukeOwncloud , @Kernald, and anybody who wants to contribute.

  2. davivel commented on Oct 27, 2015

    @davivel
    ContributorAuthor

    Just to be clear: the former table is what we have now, not what we need to have. That's what we need to define in this issue, reusing part of what we have or not.

  3. davivel commented on Nov 4, 2015

    @davivel
    ContributorAuthor

    Updated reference to images after merging sync_full_folder in master. The icons shown will be in the next release.

    Any thought to improve them? Other icons to replace them (specially the stars)? Proposals to add icons to states currently without icon? Any other change?

  4. AndyScherzinger commented on Nov 4, 2015

    @AndyScherzinger
    Contributor

    Well, getting back to the discussion we had here with @jancborchardt the pinned icon (https://materialdesignicons.com/icon/pin) might be a good one to replace the star and could color code it as in:

    • green: pinned/synced
    • red: pinned/conflict
    • yellow: pinned/synchronizing right now (upload or/and download)
  5. jancborchardt commented on Nov 4, 2015

    @jancborchardt
    Contributor

    Currently there’s too many states. The circular vs the download arrow is a bit confusing. I would say the icons should be exactly the same as for the desktop client, no matter if file or folder:

    • if syncing: blue circular arrows
    • if finished: green checkmark
    • etc.

    If we try to get across a bunch of states via icons it will just result in confusion. The desktop client uses the tried and true set of icons which is also used by other apps, and we should do the same for the mobile apps. This will also ensure consistency.

  6. AndyScherzinger commented on Nov 4, 2015

    @AndyScherzinger
    Contributor

    Is there a complete list of all states and their respective icons used by the desktop client plus a list of theses icons in a vector format?

  7. jancborchardt commented on Nov 5, 2015

    @jancborchardt
    Contributor

    All the icons are in https://github.com/owncloud/client/tree/master/theme/colored (where are the vector versions though @danimo @guruz? Can we have the source files in the repo as well?)

  8. davivel commented on Nov 11, 2015

    @davivel
    ContributorAuthor

    there’s too many states

    No. There's the states the app needs. Maybe there are two many icons, but the states are there, and will keep there. A different issue is if we want to distingish them with different icons or not to the users eyes.

    Coordinating icons with the desktop client is nice to create a consistent experience, but we can't just copy the desktop because our sync model is not the same. In the mobile apps, having a file in the list but not its contents is a valid and not temporary state. That's not true in the desktop client.

  9. AndyScherzinger commented on Nov 11, 2015

    @AndyScherzinger
    Contributor

    @jancborchardt can someone provide the icons (whenever this implementation gets done) in the right sizes and probably also redesign them. I am aware that is is a CI/CD topic but the icons neather really fit a badge character (cloud+indicator and that then being on top of a folder icon or file(preview)) nor do they feel very material 😞

  10. jancborchardt commented on Nov 11, 2015

    @jancborchardt
    Contributor

    @davivel yeah, I meant to say there are too many icons. We do not need to differentiate all the states with individual icons.

    @AndyScherzinger yeah, I’ll take care of getting the icons. Only the badges, right? @davivel @AndyScherzinger which sizes are needed and which format?

  11. AndyScherzinger commented on Nov 11, 2015

    @AndyScherzinger
    Contributor

    @jancborchardt the format has to be png, the pixels keeping the same size as the ones we have right now would then be:

    • drawable-xxhdpi: 48x48
    • drawable-xhdpi: 32x32
    • drawable-hdpi: 24x24
    • drawable-mdpi: 16x16

    If you provide the badges in the sizes in folders with names as shown above (drawable-...) than @davivel cann just copy paste this to the code base and everything is in the right place. Each badge has a unique name (obviously) but has the same name in the respective size folder (this is where the naming theme differs from desktop, due to the way Android handles resolution depending images :)

  12. MTRichards commented on Nov 11, 2015

    @MTRichards

    While I agree with Jan, we should consolidate on the desktop for synced files. there is 1 different state on mobile that a user needs to know: if the file is selected to sync.

    On desktop the sync folder that is unselected disappears...this doesn't work on mobile. AND, won't work on desktop with whole filesystem view in the future...when we get there.

    Since desktop assumes all files will be synced, this is easy - no state needed they are all assumed. On Mobile you have to choose the files to sync. How do we represent that selection (I like pins)?

    If we use pins, then a file is pinned, and gets a pin icon and one of the following:

    • Syncing, downloading, uploading or waiting to sync (blue arrows)
    • Synced or downloaded or unchecked (Green check)
    • Not Synced (e.g. exclude list) or new file available on server or desktop (yellow check)
    • Sync or file transfer error (red x)
    • Offline (no icons at all)

    And the warning or error should boil up to the top folder

    Someday we may want a pause option too like on desktop...

    But that SHOULD cover it. thoughts?

  13. 17 remaining items

  14. davivel commented on May 24, 2016

    @davivel
    ContributorAuthor

    @AndyScherzinger , check it in #1685

  15. AndyScherzinger commented on May 24, 2016

    @AndyScherzinger
    Contributor

    Thanks! :)
    The white border would look something like this then:
    unbenannt

  16. AndyScherzinger commented on May 24, 2016

    @AndyScherzinger
    Contributor

    For now I just replaced the available offline icon with the standard 18dp sizes for all resolutions. It doesn't make a big difference but it is now using a standard material size and with the xxhdpi variant the top level resolution should be sharper.
    device-2016-05-24-151604

  17. AndyScherzinger commented on May 24, 2016

    @AndyScherzinger
    Contributor

    Grid view is bad without a white border I guess:
    device-2016-05-24-152028

  18. jabarros commented on May 24, 2016

    @jabarros
    Contributor

    Yes @AndyScherzinger, the available offline icon in grid view mode is slightly blurred in some of yours photos. We will add a white border to improve the appearance.

  19. AndyScherzinger commented on May 24, 2016

    @AndyScherzinger
    Contributor

    Sounds perfect @jabarros ! 👍

  20. jabarros commented on May 24, 2016

    @jabarros
    Contributor

    Added white border. It looks like this:

    List view mode
    device-2016-05-24-171456

    Grid view mode
    device-2016-05-24-171517

  21. rperezb commented on May 27, 2016

    @rperezb

    Very nice! looking forward to the iOS one

  22. AndyScherzinger commented on May 30, 2016

    @AndyScherzinger
    Contributor

    Looking good @jabarros 👍

  23. jesmrec commented on May 31, 2016

    @jesmrec
    Member

    Approved!!

    cc @jabarros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions