{"action":"closed","issue":{"url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/issues/494","repository_url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app","labels_url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/issues/494/comments","events_url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/issues/494/events","html_url":"https://github.com/ucam-cl-dtg/isaac-app/issues/494","id":103522117,"number":494,"title":"Numeric Units Dropdown Improvments","user":{"login":"jsharkey13","id":8060558,"avatar_url":"https://avatars.githubusercontent.com/u/8060558?v=3","gravatar_id":"","url":"https://api.github.com/users/jsharkey13","html_url":"https://github.com/jsharkey13","followers_url":"https://api.github.com/users/jsharkey13/followers","following_url":"https://api.github.com/users/jsharkey13/following{/other_user}","gists_url":"https://api.github.com/users/jsharkey13/gists{/gist_id}","starred_url":"https://api.github.com/users/jsharkey13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsharkey13/subscriptions","organizations_url":"https://api.github.com/users/jsharkey13/orgs","repos_url":"https://api.github.com/users/jsharkey13/repos","events_url":"https://api.github.com/users/jsharkey13/events{/privacy}","received_events_url":"https://api.github.com/users/jsharkey13/received_events","type":"User","site_admin":false},"labels":[{"id":121052986,"url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/labels/discusson%20required","name":"discusson required","color":"006b75","default":false},{"id":100665910,"url":"https://api.github.com/repos/ucam-cl-dtg/isaac-app/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-08-27T14:22:38Z","updated_at":"2017-01-18T11:02:02Z","closed_at":"2017-01-18T11:02:02Z","body":"The units dropdown is becoming increasingly unreliable as we add more and more units to the site; the choice of units becomes more and more silly as such a diverse range of questions are added (for instance, it would be possible to have a drop down for Field Strength containing \"pence\", \"days\", \"years\", \"%\" and \"V m^{-1}\", or one containing 5 different length units where we've only entered an answer in terms of one - thus making all the rest wrong when they may well be completely correct).\n\nThe best short-term fix would be to stop randomly selecting units from _all units_ on the site, and use a whitelist (I have one we can choose from) of a select but sensible diverse set.\n\nThe best long-term fix would be the ability for content editors to manually specify in the editor which other four units would show up in the drop down.\n\nTo really improve things, the ability to inter-convert between units of the same dimensions (so from `m` to `km` to `pm` to `Mpc` etc) which would solve the second problem I mention. Recognising SI standard prefixes like `k`, `M`, `G`, `\\mu`, `n`, `p` would be a great start.\n"}}
{"actor":{"display_login":"jsharkey13"}}