{"action":"created","issue":{"url":"https://api.github.com/repos/pyviz/panel/issues/21","repository_url":"https://api.github.com/repos/pyviz/panel","labels_url":"https://api.github.com/repos/pyviz/panel/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/pyviz/panel/issues/21/comments","events_url":"https://api.github.com/repos/pyviz/panel/issues/21/events","html_url":"https://github.com/pyviz/panel/pull/21","id":356905934,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMDQ5NjU5","number":21,"title":"Add String pane to support any representable object","user":{"login":"jbednar","id":1695496,"node_id":"MDQ6VXNlcjE2OTU0OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1695496?v=4","gravatar_id":"","url":"https://api.github.com/users/jbednar","html_url":"https://github.com/jbednar","followers_url":"https://api.github.com/users/jbednar/followers","following_url":"https://api.github.com/users/jbednar/following{/other_user}","gists_url":"https://api.github.com/users/jbednar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbednar/subscriptions","organizations_url":"https://api.github.com/users/jbednar/orgs","repos_url":"https://api.github.com/users/jbednar/repos","events_url":"https://api.github.com/users/jbednar/events{/privacy}","received_events_url":"https://api.github.com/users/jbednar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-09-04T17:27:54Z","updated_at":"2018-09-05T15:11:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pyviz/panel/pulls/21","html_url":"https://github.com/pyviz/panel/pull/21","diff_url":"https://github.com/pyviz/panel/pull/21.diff","patch_url":"https://github.com/pyviz/panel/pull/21.patch"},"body":"@jlstevens suggested we add support for a string-based representation for any Python object as a Pane.  About 20 minutes after his suggestion, I already realized that I needed that, so here it is.\r\n\r\nAdding the Repr class is the only change; the other diffs are just to reorganize the other classes to be in a more readable order.\r\n\r\nQuestions:\r\n- [x] What range are the priority values meant to have?  I chose 10 for this one to be higher than HTML's current value of 1 and as an indication that this class is really a last resort, but we could instead keep them all in [0.0,1.0] as is typical for Parameter precedences.  Up to @philippjfr.\r\n- [ ] Should we have an (optional?) character limit on the representation, to be useful for objects whose representation might be many pages of text?\r\n- [x] Should we escape the values in some way, or let HTML be interpreted as HTML if there is any HTML in the representation?"},"comment":{"url":"https://api.github.com/repos/pyviz/panel/issues/comments/418767362","html_url":"https://github.com/pyviz/panel/pull/21#issuecomment-418767362","issue_url":"https://api.github.com/repos/pyviz/panel/issues/21","id":418767362,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODc2NzM2Mg==","user":{"login":"jbednar","id":1695496,"node_id":"MDQ6VXNlcjE2OTU0OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1695496?v=4","gravatar_id":"","url":"https://api.github.com/users/jbednar","html_url":"https://github.com/jbednar","followers_url":"https://api.github.com/users/jbednar/followers","following_url":"https://api.github.com/users/jbednar/following{/other_user}","gists_url":"https://api.github.com/users/jbednar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbednar/subscriptions","organizations_url":"https://api.github.com/users/jbednar/orgs","repos_url":"https://api.github.com/users/jbednar/repos","events_url":"https://api.github.com/users/jbednar/events{/privacy}","received_events_url":"https://api.github.com/users/jbednar/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T15:11:02Z","updated_at":"2018-09-05T15:11:02Z","author_association":"CONTRIBUTOR","body":"Right; the vertical height issue applies to both HTML and Str, and presumably any Bokeh Div containing just text.  I can't tell if there would need to be one or two fixes for the horizontal and vertical issues, but I do know that adding spaces automatically seems hackish..."}}
{"actor":{"display_login":"jbednar"}}