{"action":"created","issue":{"url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/40","repository_url":"https://api.github.com/repos/RepreZen/SwagEdit","labels_url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/40/comments","events_url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/40/events","html_url":"https://github.com/RepreZen/SwagEdit/issues/40","id":122822986,"number":40,"title":"Implement Quick Outline","user":{"login":"tedepstein","id":692813,"avatar_url":"https://avatars.githubusercontent.com/u/692813?v=3","gravatar_id":"","url":"https://api.github.com/users/tedepstein","html_url":"https://github.com/tedepstein","followers_url":"https://api.github.com/users/tedepstein/followers","following_url":"https://api.github.com/users/tedepstein/following{/other_user}","gists_url":"https://api.github.com/users/tedepstein/gists{/gist_id}","starred_url":"https://api.github.com/users/tedepstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedepstein/subscriptions","organizations_url":"https://api.github.com/users/tedepstein/orgs","repos_url":"https://api.github.com/users/tedepstein/repos","events_url":"https://api.github.com/users/tedepstein/events{/privacy}","received_events_url":"https://api.github.com/users/tedepstein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RepreZen/SwagEdit/labels/High%20Priority","name":"High Priority","color":"eb6420"},{"url":"https://api.github.com/repos/RepreZen/SwagEdit/labels/In%20Progress","name":"In Progress","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/RepreZen/SwagEdit/milestones/3","html_url":"https://github.com/RepreZen/SwagEdit/milestones/SwagEdit%20Open%20Source%20Release","labels_url":"https://api.github.com/repos/RepreZen/SwagEdit/milestones/3/labels","id":1494062,"number":3,"title":"SwagEdit Open Source Release","description":"","creator":{"login":"tedepstein","id":692813,"avatar_url":"https://avatars.githubusercontent.com/u/692813?v=3","gravatar_id":"","url":"https://api.github.com/users/tedepstein","html_url":"https://github.com/tedepstein","followers_url":"https://api.github.com/users/tedepstein/followers","following_url":"https://api.github.com/users/tedepstein/following{/other_user}","gists_url":"https://api.github.com/users/tedepstein/gists{/gist_id}","starred_url":"https://api.github.com/users/tedepstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedepstein/subscriptions","organizations_url":"https://api.github.com/users/tedepstein/orgs","repos_url":"https://api.github.com/users/tedepstein/repos","events_url":"https://api.github.com/users/tedepstein/events{/privacy}","received_events_url":"https://api.github.com/users/tedepstein/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":8,"state":"open","created_at":"2016-01-08T22:01:21Z","updated_at":"2016-07-28T19:35:10Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-12-17T21:05:51Z","updated_at":"2016-07-30T14:20:47Z","closed_at":null,"body":"It would be nice to have QuickOutline view implemented, so you press Ctrl+o (on Windows), type in a few characters, and find the definition you're looking for."},"comment":{"url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/comments/236367773","html_url":"https://github.com/RepreZen/SwagEdit/issues/40#issuecomment-236367773","issue_url":"https://api.github.com/repos/RepreZen/SwagEdit/issues/40","id":236367773,"user":{"login":"tedepstein","id":692813,"avatar_url":"https://avatars.githubusercontent.com/u/692813?v=3","gravatar_id":"","url":"https://api.github.com/users/tedepstein","html_url":"https://github.com/tedepstein","followers_url":"https://api.github.com/users/tedepstein/followers","following_url":"https://api.github.com/users/tedepstein/following{/other_user}","gists_url":"https://api.github.com/users/tedepstein/gists{/gist_id}","starred_url":"https://api.github.com/users/tedepstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedepstein/subscriptions","organizations_url":"https://api.github.com/users/tedepstein/orgs","repos_url":"https://api.github.com/users/tedepstein/repos","events_url":"https://api.github.com/users/tedepstein/events{/privacy}","received_events_url":"https://api.github.com/users/tedepstein/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T14:20:47Z","updated_at":"2016-07-30T14:20:47Z","body":"@ghillairet , @tfesenko, About the naming of elements: \r\n\r\nFirst, as soon as this has passed code review and QA, I think we should merge it.  Even without optimal names and icons, Quick Outline is an important and useful feature.\r\n\r\nThen, to optimize the node labels:\r\n\r\n* For single-valued primitive properties, the current `[name]: [value]` label is fine, and I think we can remove the type annotation that follows (in brown text).  I agree with Tanya, it's not helpful in this case.\r\n* For primitive array properties, the current quick outline implementation shows a hierarchy like this: \r\n![image](https://cloud.githubusercontent.com/assets/692813/17270957/cc45120c-563c-11e6-9924-9ba7cf030ac0.png) <br/> I think this is fine, but again I think we can remove the \"sequence\" and \"scalar\" annotations.\r\n* For single-valued object properties, I think the most useful convention is `[name] [type]`, where `[name]` is presented as the primary label (in black) and `[type]` is presented as an annotation (in brown font color).\r\n    * Type should be taken from the schema; specifically the schema the matched the object during validation.  If a Title property is provided on the object schema, we should use that.  Otherwise, if the schema appears in the top-level definitions object, we should take the property name assigned to the schema.\r\n    * If the schema is anonymous, i.e. declared inline without a title property, we should omit the type annotation.  We should try to avoid this by making sure all inline object schemas have titles.\r\n    * If the object is not valid against the schema (and therefore should be marked with a validation error), we should omit the type annotation. \r\n* For a property whose value is an object array, the label should be the property name without a type annotation.\r\n* For an object array element, we should also use the `[name]` label with a  `[type]` annotation.\r\n    * The type annotation should be derived from the schema in the same manner as with a single-valued object property, described above.\r\n    * The name label should be taken from the name property, if there is one.  For example, each parameter object in the parameters array (within a method object) has a required name property.  In this case, the name will appear twice: once as the primary label of the object, and again as the value of the name property within the object.\r\n    * If no name property is provided, use \"(unnamed object)\" as the label.  We will try to avoid these situations, and possibly implement other rules for these cases.\r\n* Search\r\n\r\n\r\n"}}
{"actor":{"display_login":"tedepstein"}}