-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show favourites [$250] #230
Comments
@joephein - I closed your other issue a bit too quickly as it was a subset of this issue, but since you're already sponsoring this one, I'm going to modify it to make it match your original request and split the rest in another ticket about a global search for favourites, which requires a working search engine. Do you agree with the following scope? It's OK if you don't, it's just so that we can meet your expectations. Specifications (rejected)
|
That is a good start. Ideally it should also show only those albums (folders in the Files section) that contain photo's that have been marked as favorite including the thumbnails of those photo's that were marked as favorite. If this would require more work I can try to get some more backers :-) Can this be based on the same functionality that already exist in the Files view? |
@joephein The way Files is doing it is different from my understanding of the filtering idea you've described earlier. Files just shows all Favourites on one page, it's not a filter, more a search engine with a locked query. Would you prefer it if it worked just like in Files? In that case, I don't think the favourite button should be part of the sorting section as that acts only on the current album. That leaves a new button on the right... |
It gets to the point where a sidebar for Gallery makes sense. Although unlike Files, I would say it should be collapsed by default as it is on mobile & tablets to focus on the content. (Similar to what we should do for Calendar and Maps.) What do you think @oparoz @owncloud/designers |
I agree, but it has to be built from scratch as there are no re-usable GUI components in ownCloud and it's not part of the base template. |
The sidebar might indeed give more ways to show more options. I agree that it should be collapsed by default. I have made a word document with more screenshots and an explanation how I think it should work. However it should not work the same as in Files. It would be good though if the favorite flag is shared between the Files and Gallery+. I really like the option to work with the photo's in both views depending on what is needed. With regards to the UI, for me it does not really matter where the favorite filtering option is. It can be next to the current sorting icons until the sidebar has been sorted out. Currently the AZ and Date filtering are not working for me. |
@oparoz sure – just use For hiding the sidebar by default we can introduce an additional class which will trigger the mobile CSS (where the sidebar is hidden and a toggle is inserted) also on desktop. |
@joephein you use Sugarsync to share a docx document here? Smells like treason. ;) |
@jancborchardt - Ah yes, I forgot about the navigation template. I wanted to get the exact same side-bar as Files though, but there is too much to rewrite. We can start with favourites and add the rest as needed.
@joephein Favourite is a special tag and all tags are stores in the DB, so we're not creating our own tagging engine.
@joephein Do you mean there is a bug or is it that it doesn't fit your workflow? I've looked at the document. I'm thinking:
|
@jancborchardt I use at least 6 cloud services and was very happy to discover owncloud recently when searching for a picturelife / trovebox solution that I can fully host on my own server. I have updated the link in my original post. I think you like this more :-) |
It is strange but I just tried it again and it does work as expected. So please ignore.
We can make a compromise here based on API limitations and the need to build code from scratch. However for me it is crucial to keep the photo's organized. If I have 15 folders each corresponding to a different event (for example: Birthday party of our son, Trip to Prague, Team building with my colleagues, etc.) I do not want to have those photo's all mixed up in one single level view. The only reason to have a single level view would be to create some kind of timeline of my favorite photo's but to me this is a separate feature. |
@joephein yeah, I was kidding a bit. ;) But it’s good to both dogfood, and also evaluate other services – so welcome to the ownCloud community! Your knowledge of the different services can be very helpful to improve ownCloud Gallery. :) |
SpecificationsMoved to the OP |
@joephein - I've given it some thoughts and I think one folder depth is achievable. Anything above that will be complex to render because you then need to show some images in a top album as well as in a sub-album or have more levels, etc. |
Also, bear in mind that if there are a thousand tagged images, they will all need to be referenced in memory. In other words, it won't scale. |
I don't really do mobile development so I can't be much help here, but perhaps I can make a suggestion? Say a user wants to view their favorites. Upon requesting viewing favorites, "loading, loading, loading, etc." during this period the server side will be gathering all the favorited images from the user. Then, say maybe for every 25 images you can compile them into a single bitmap, compress it way down, and place it in a cache (i.e. Redis) for later referencing. Provide the user with the compressed 25 image bitmap, decompress and explode into individual images again on the client side. Either repeat this process until all images are loaded, or include some kind of trigger (scrolling, "show more", etc) to request additional images from the server. Just going out on a limb here; I've personally never used owncloud. |
Specs have been moved to the OP. @jospoortvliet @jancborchardt @karlitschek @LukasReschke I need your feedback. I think that putting favourites in their folder is going to be a problem. Let's look at this example Flat view Works, but everything is mixed up 1 folder view User will have no idea which 2015 is which
I think the flat view, like in Files, offers the least problems, but there may be a better alternative. |
I'd say if in doubt, let's do it like in Files. Flat view is the simplest and quickest way to actually access favorites too. |
OK, I've updated the OP. Flat view to begin with and a future plan to introduce a way to let users alter that presentation by setting the number of levels they need for their favourites organisation. |
Is anyone working on this issue ? One more thing i want to suggest taking the same example given by @oparoz Son -> 2015-> first_glasses Here Son, Daughter, 2015 and July are folders/directories and first_glasses, graduation and g are files. And we have marked first_glasses and g as favourites. Flat view Gallery favourites View The folders/directories displays only the files which are marked as favourites. |
@manishbisht as said, it should work like in files. A flat list, the same as in the Files app. If there are conflicts, then in parentheses behind them the parent folder can be shown (up to the folder where the conflict ends) – and only for those folders/files where there are conflicts. |
@manishbisht - #401 is blocking this. Once that's solved I'll let you know if I need help with this. There are other items which work the same way and require #401, like #532 |
ownCloud 9.1 beta is out but I am not sure that #22347 will be implemented. Instead a fork of ownCloud was made by ownCloud contributors as nextCloud. What are the plans to get this implemented? |
There is still time for #22347 to be implemented in 9.1 as fixes are still being commited, so the plan is to currently wait for the fix. |
This issue was moved to nextcloud/gallery#61 |
It would be nice to also be able to only see one's favourites in Gallery.
screenshot by joephein
What to expect
Pre-requirements
Specifications
Future plans
New issues need to be created for these suggestions:
Caveats
Code to steal
There is a $250 open bounty on this issue. Add to the bounty at Bountysource.
The text was updated successfully, but these errors were encountered: