{"action":"created","issue":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/1168","repository_url":"https://api.github.com/repos/zotonic/zotonic","labels_url":"https://api.github.com/repos/zotonic/zotonic/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/zotonic/zotonic/issues/1168/comments","events_url":"https://api.github.com/repos/zotonic/zotonic/issues/1168/events","html_url":"https://github.com/zotonic/zotonic/issues/1168","id":129962470,"number":1168,"title":"Add connection: Unified object search","user":{"login":"ddeboer","id":89267,"avatar_url":"https://avatars.githubusercontent.com/u/89267?v=3","gravatar_id":"","url":"https://api.github.com/users/ddeboer","html_url":"https://github.com/ddeboer","followers_url":"https://api.github.com/users/ddeboer/followers","following_url":"https://api.github.com/users/ddeboer/following{/other_user}","gists_url":"https://api.github.com/users/ddeboer/gists{/gist_id}","starred_url":"https://api.github.com/users/ddeboer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddeboer/subscriptions","organizations_url":"https://api.github.com/users/ddeboer/orgs","repos_url":"https://api.github.com/users/ddeboer/repos","events_url":"https://api.github.com/users/ddeboer/events{/privacy}","received_events_url":"https://api.github.com/users/ddeboer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zotonic/zotonic/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-30T09:11:21Z","updated_at":"2016-02-17T08:10:17Z","closed_at":null,"body":"We can make the ‘add connection’ dialog in the admin, shown when you add connections such as media to a page, more user-friendly. Currently it has several tabs:\r\n\r\n* search page\r\n* new page\r\n* upload file\r\n* upload from URL\r\n* embed URL\r\n\r\nAnd when I implementing linked data search functionality, I had to add yet another tab.\r\n\r\nLet’s do it like this:\r\n\r\n1. Reduce those tabs to two: search and create.\r\n2. On the search tab, show:\r\n  * search text input\r\n  * source filter checkbox list: ‘in Zotonic’, ‘linked data source X’, ‘Flickr’ etc.\r\n  * large drop area for uploads\r\n3. When a search query is entered, recognise its type:\r\n  * search string? Do a regular search in the selected sources\r\n  * URL? Show ‘Embed’ and ‘Upload’ buttons.\r\n4. Extend source filters with Flickr and other popular data/media sources. Quickly searching through these sources is a killer feature that users will love.\r\n5. Try to create non-authoritative resources where possible. For instance, when some media is added from Flickr, do we really need to upload it into Zotonic or does linking to it suffice?\r\n6. Optionally, add source-dependent search facets. Our linked data source, for instance, returns a set of facets based on the search query. Can Flickr do something similar? At the very least, we can have hard-coded facets that are relevant to the source, such as ‘publication date’, ‘license type’.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zotonic/zotonic/issues/comments/185088528","html_url":"https://github.com/zotonic/zotonic/issues/1168#issuecomment-185088528","issue_url":"https://api.github.com/repos/zotonic/zotonic/issues/1168","id":185088528,"user":{"login":"mworrell","id":38268,"avatar_url":"https://avatars.githubusercontent.com/u/38268?v=3","gravatar_id":"","url":"https://api.github.com/users/mworrell","html_url":"https://github.com/mworrell","followers_url":"https://api.github.com/users/mworrell/followers","following_url":"https://api.github.com/users/mworrell/following{/other_user}","gists_url":"https://api.github.com/users/mworrell/gists{/gist_id}","starred_url":"https://api.github.com/users/mworrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mworrell/subscriptions","organizations_url":"https://api.github.com/users/mworrell/orgs","repos_url":"https://api.github.com/users/mworrell/repos","events_url":"https://api.github.com/users/mworrell/events{/privacy}","received_events_url":"https://api.github.com/users/mworrell/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T08:10:17Z","updated_at":"2016-02-17T08:10:17Z","body":"I've added a simple overlay with `overlay_open` and `overlay_close` actions in 42678a951d0f79cc3340d1eb9b72f92c1496ec3c"}}