{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/4103","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4103/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4103/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4103/events","html_url":"https://github.com/joomla/joomla-cms/pull/4103","id":40097507,"number":4103,"title":"Improve handling of \"Date of Birth\" (dob) infotext in user profile plugin","user":{"login":"Bakual","id":1018684,"avatar_url":"https://avatars.githubusercontent.com/u/1018684?v=3","gravatar_id":"","url":"https://api.github.com/users/Bakual","html_url":"https://github.com/Bakual","followers_url":"https://api.github.com/users/Bakual/followers","following_url":"https://api.github.com/users/Bakual/following{/other_user}","gists_url":"https://api.github.com/users/Bakual/gists{/gist_id}","starred_url":"https://api.github.com/users/Bakual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bakual/subscriptions","organizations_url":"https://api.github.com/users/Bakual/orgs","repos_url":"https://api.github.com/users/Bakual/repos","events_url":"https://api.github.com/users/Bakual/events{/privacy}","received_events_url":"https://api.github.com/users/Bakual/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/1","html_url":"https://github.com/joomla/joomla-cms/milestones/Joomla!%203.4.0","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/1/labels","id":798698,"number":1,"title":"Joomla! 3.4.0","description":"","creator":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":774,"state":"closed","created_at":"2014-09-22T19:29:17Z","updated_at":"2015-04-09T21:42:52Z","due_on":null,"closed_at":"2015-03-15T16:41:43Z"},"comments":8,"created_at":"2014-08-12T20:48:56Z","updated_at":"2015-07-04T06:15:12Z","closed_at":"2014-10-28T07:04:26Z","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/4103","html_url":"https://github.com/joomla/joomla-cms/pull/4103","diff_url":"https://github.com/joomla/joomla-cms/pull/4103.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/4103.patch"},"body":"### Issue\r\nCurrently, the user - profile plugin uses a separate spacer field to display an info text for the \"date of birth\" (dob) field.\r\nThis makes it necessary to add some specific codechecks for when that spacer field should be shown or hidden. Like done in #4043.\r\n\r\n### Proposal\r\nThis PR moves the dob field and the infotext into a custom formfield and removes the special code for the dob_spacer field.\r\n\r\n### Questions\r\nWhile trying this solution I wondered why we even have this info text separated. I think best place would actually be the tooltip, which is exactly meant for that kind of information.\r\nThe plugin currently overrides the description set in the profile.xml with a hardcoded and quite useless text. I'm not sure why that is but I guess it's for historical reasons, maybe before there was a separate profile.xml file?\r\n\r\nDoes anyone know why this was done like this?"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/118467925","html_url":"https://github.com/joomla/joomla-cms/pull/4103#issuecomment-118467925","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/4103","id":118467925,"user":{"login":"infograf768","id":869724,"avatar_url":"https://avatars.githubusercontent.com/u/869724?v=3","gravatar_id":"","url":"https://api.github.com/users/infograf768","html_url":"https://github.com/infograf768","followers_url":"https://api.github.com/users/infograf768/followers","following_url":"https://api.github.com/users/infograf768/following{/other_user}","gists_url":"https://api.github.com/users/infograf768/gists{/gist_id}","starred_url":"https://api.github.com/users/infograf768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infograf768/subscriptions","organizations_url":"https://api.github.com/users/infograf768/orgs","repos_url":"https://api.github.com/users/infograf768/repos","events_url":"https://api.github.com/users/infograf768/events{/privacy}","received_events_url":"https://api.github.com/users/infograf768/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T06:15:12Z","updated_at":"2015-07-04T06:15:12Z","body":"@Bakual\r\nPlease see https://github.com/joomla/joomla-cms/issues/7332"}}