{"action":"opened","issue":{"url":"https://api.github.com/repos/plotly/react-chart-editor/issues/484","repository_url":"https://api.github.com/repos/plotly/react-chart-editor","labels_url":"https://api.github.com/repos/plotly/react-chart-editor/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/plotly/react-chart-editor/issues/484/comments","events_url":"https://api.github.com/repos/plotly/react-chart-editor/issues/484/events","html_url":"https://github.com/plotly/react-chart-editor/issues/484","id":331763997,"node_id":"MDU6SXNzdWUzMzE3NjM5OTc=","number":484,"title":"Indicating and resetting to default values","user":{"login":"nicolaskruchten","id":203523,"node_id":"MDQ6VXNlcjIwMzUyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/203523?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolaskruchten","html_url":"https://github.com/nicolaskruchten","followers_url":"https://api.github.com/users/nicolaskruchten/followers","following_url":"https://api.github.com/users/nicolaskruchten/following{/other_user}","gists_url":"https://api.github.com/users/nicolaskruchten/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaskruchten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaskruchten/subscriptions","organizations_url":"https://api.github.com/users/nicolaskruchten/orgs","repos_url":"https://api.github.com/users/nicolaskruchten/repos","events_url":"https://api.github.com/users/nicolaskruchten/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaskruchten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T21:40:13Z","updated_at":"2018-06-12T21:40:13Z","closed_at":null,"author_association":"MEMBER","body":"I promised @alexcjohnson that this editor would somehow indicate to the user when the value of an attribute has been explicitly set or is currently just following the underlying default, and that there would be a way to 'clear' the current setting. For example, if the color of a marker is blue, is it blue because the user set it to blue, or is blue the default? If it's the former, then we should be able to reset it to the default, even if the default is the same blue.\r\n\r\nMy current best-guess around what this could look like is this, with some more careful thought paid to the colours:\r\n\r\n![image](https://user-images.githubusercontent.com/203523/41318801-86845bf2-6e67-11e8-810e-24a2ca0abc89.png)\r\n\r\nThe dynamic UX would involve a tooltip on hover with a bit of explanatory text and the option to double-click to reset to defaults.\r\n\r\nThoughts @VeraZab ?"}}
{"actor":{"display_login":"nicolaskruchten"}}