{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/QGIS/issues/7003","repository_url":"https://api.github.com/repos/qgis/QGIS","labels_url":"https://api.github.com/repos/qgis/QGIS/issues/7003/labels{/name}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/7003/comments","events_url":"https://api.github.com/repos/qgis/QGIS/issues/7003/events","html_url":"https://github.com/qgis/QGIS/pull/7003","id":323410627,"number":7003,"title":"Add title case conversion to QgsStringUtils, use to fix processing HIG violations","user":{"login":"nyalldawson","id":1829991,"avatar_url":"https://avatars1.githubusercontent.com/u/1829991?v=4","gravatar_id":"","url":"https://api.github.com/users/nyalldawson","html_url":"https://github.com/nyalldawson","followers_url":"https://api.github.com/users/nyalldawson/followers","following_url":"https://api.github.com/users/nyalldawson/following{/other_user}","gists_url":"https://api.github.com/users/nyalldawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nyalldawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyalldawson/subscriptions","organizations_url":"https://api.github.com/users/nyalldawson/orgs","repos_url":"https://api.github.com/users/nyalldawson/repos","events_url":"https://api.github.com/users/nyalldawson/events{/privacy}","received_events_url":"https://api.github.com/users/nyalldawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-15T22:50:30Z","updated_at":"2018-05-16T03:42:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/7003","html_url":"https://github.com/qgis/QGIS/pull/7003","diff_url":"https://github.com/qgis/QGIS/pull/7003.diff","patch_url":"https://github.com/qgis/QGIS/pull/7003.patch"},"body":"This adds a super-basic title case conversion method to QgsStringUtils. It's not a full grammar parser (which is needed if you want real title case conversion!), but good enough for simple use cases.\r\n\r\nHere I've used it to fix some HIG violations in Processing menus. Since algorithm display names are sentence case, we need to convert them to title case when they are shown in menus and for dialog titles (or risk the wrath of the HIG gods).\r\n\r\nI've also taken the opportunity to fix another plugin HIG issue with the menu - which is that many core plugins create single-item submenus. E.g. Raster -> Georeferencer -> Georeferencer. This is a HIG violation, and these items should be top-level instead (e.g. just Raster -> Georeferencer). "},"comment":{"url":"https://api.github.com/repos/qgis/QGIS/issues/comments/389385122","html_url":"https://github.com/qgis/QGIS/pull/7003#issuecomment-389385122","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/7003","id":389385122,"user":{"login":"nirvn","id":1728657,"avatar_url":"https://avatars0.githubusercontent.com/u/1728657?v=4","gravatar_id":"","url":"https://api.github.com/users/nirvn","html_url":"https://github.com/nirvn","followers_url":"https://api.github.com/users/nirvn/followers","following_url":"https://api.github.com/users/nirvn/following{/other_user}","gists_url":"https://api.github.com/users/nirvn/gists{/gist_id}","starred_url":"https://api.github.com/users/nirvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirvn/subscriptions","organizations_url":"https://api.github.com/users/nirvn/orgs","repos_url":"https://api.github.com/users/nirvn/repos","events_url":"https://api.github.com/users/nirvn/events{/privacy}","received_events_url":"https://api.github.com/users/nirvn/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T03:42:51Z","updated_at":"2018-05-16T03:42:51Z","author_association":"CONTRIBUTOR","body":"@nyalldawson , just compiled this branch, it's a very nice improvement. One more part of processing which just ended feeling foreign to QGIS' UI/UX :wink: "}}
{"actor":{"display_login":"nirvn"}}