{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/gallery/issues/230","repository_url":"https://api.github.com/repos/owncloud/gallery","labels_url":"https://api.github.com/repos/owncloud/gallery/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/230/comments","events_url":"https://api.github.com/repos/owncloud/gallery/issues/230/events","html_url":"https://github.com/owncloud/gallery/issues/230","id":97270419,"number":230,"title":"Show favourites [$250]","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/gallery/labels/bounty","name":"bounty","color":"9e9012"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/feature:photowall","name":"feature:photowall","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/On%20hold","name":"On hold","color":"FF3399"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/priority","name":"priority","color":"ff00ff"}],"state":"open","locked":false,"assignee":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/gallery/milestones/10","html_url":"https://github.com/owncloud/gallery/milestones/backlog","labels_url":"https://api.github.com/repos/owncloud/gallery/milestones/10/labels","id":1173687,"number":10,"title":"backlog","description":null,"creator":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":12,"state":"open","created_at":"2015-06-20T21:18:41Z","updated_at":"2016-05-30T16:39:46Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2015-07-26T00:37:21Z","updated_at":"2016-06-03T10:51:52Z","closed_at":null,"body":"It would be nice to also be able to only see one's favourites in Gallery.\r\n\r\n![capture_favorites](https://cloud.githubusercontent.com/assets/12627719/10767280/abfb693c-7cdb-11e5-87dd-694db12a9c5e.PNG)\r\n<sub>screenshot by joephein</sub>\r\n\r\n## What to expect\r\n* A button somewhere which will let the user have access to his favourites\r\n* A star on pictures which are favourites\r\n\r\n### Specifications\r\n\r\n* Creation of a new left side-bar https://github.com/owncloud/gallery/issues/401\r\n* Each favourite image is shown at the root of the favourites view\r\n* Each favourite folder is shown at the root of the favourites view\r\n* A special breadcrumbs needs to be built: :house: > :star: > folder\r\n* A special favourites ephemeral cache has to be designed. It will only be rebuilt every time the user clicks on Favourites unless the API gives us an etag for favourites. It will be destroyed when the session is closed\r\n* Since there is no equivalent in the Files app, it won't be possible to switch back to a precise location in the Files app. We can keep the switch to Files icon, but we will land in the favourites tab, showing all favourites\r\n\r\n#### Future plans\r\n\r\nNew issues need to be created for these suggestions: \r\n* If activated via settings, each favourite image is shown in its parent album unless it's located in the root folder. The user should be able to select the depth at which an image is to be found. 1,2 folders deep per example or even in its original location, even if it's 10 folders deep\r\n* Implement a way to star pictures and albums.\r\n\r\n### Caveats\r\n\r\n* Will take forever if we don't set a limit and will be incomplete if we do\r\n* The Fileinfo object doesn't seem to contain the tags, so separate requests have to be made and the arrays have to be merged. It will slow things down\r\n\r\n## Code to steal\r\n\r\n* [Tag collector](https://github.com/owncloud/core/blob/c700f42b68f430e9c89ce97b92ea91323c9f6ed5/apps/files/lib/helper.php#L214)\r\n* [Favourites collector](https://github.com/owncloud/core/blob/c700f42b68f430e9c89ce97b92ea91323c9f6ed5/apps/files/lib/activityhelper.php#L48)\r\n\r\n<bountysource-plugin>\r\n---\r\nThere is a **[$250 open bounty](https://www.bountysource.com/issues/24956497-show-favourites?utm_campaign=plugin&utm_content=tracker%2F9328526&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9328526&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/owncloud/gallery/issues/comments/223549525","html_url":"https://github.com/owncloud/gallery/issues/230#issuecomment-223549525","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/230","id":223549525,"user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T10:51:52Z","updated_at":"2016-06-03T10:51:52Z","body":"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."}}
{"actor":{"display_login":"oparoz"}}