{"push_id":1279514383,"size":20,"distinct_size":20,"ref":"refs/heads/master","head":"2fe7f0f1d623c663646b4657dda6b272834555b1","before":"f7c72cdd8bbb4ba1654d3c42b3273b24c28dc9c7","commits":[{"sha":"1898cf594f973013ae8e67819012e656db7200df","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(paste): Allow inserting multiple markup sections onto a list item (#459)\n\nThe first section is merged, subsequent sections form new list items.\r\n\r\nFixes #456","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/1898cf594f973013ae8e67819012e656db7200df"},{"sha":"2884ebf6132bf64ba7c2fa042c8e7cdacca74728","author":{"name":"Dale Ma","email":"b00462e5fd1f61f96b742fd745d1f49cf9b489b5@gmail.com"},"message":"feat(delete): add range, direction and unit to delete hook (#455)","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/2884ebf6132bf64ba7c2fa042c8e7cdacca74728"},{"sha":"c3aed98504965b63df692ee138b9955138b409d9","author":{"name":"Cory","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"0.10.6","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/c3aed98504965b63df692ee138b9955138b409d9"},{"sha":"c9d406764dedc99e47a57b6836c0618b4a0a3ee3","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"feat(post): Refactor rendering of editor element (#460)\n\nAdding a new class name (\"__has-no-content\") to the editor element when\r\nthe post has no content will simplify rendering of the placeholder text\r\nlater.\r\n\r\n * Add `Post#hasContent` (fixes #335)\r\n * Add `editor#focus()`\r\n * Move EDITOR_ELEMENT_CLASS_NAME to renderers/editor-dom\r\n * Make the editor-dom renderer responsible for adding EDITOR_ELEMENT_CLASS_NAME\r\n * Make the editor-dom renderer responsible for adding EDITOR_HAS_NO_CONTENT_CLASS_NAME if post has no content","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/c9d406764dedc99e47a57b6836c0618b4a0a3ee3"},{"sha":"843f38156da4faa4dbb5fc8f42ab32cbe6c8ef63","author":{"name":"Yoran Brondsema","email":"4420c2ec7247872670c0539a56573f172aaa77b1@gmail.com"},"message":"doc(jsdoc): Fix JSDocs violations and typo (#463)\n\n* Fix typo.\r\n\r\n* Fix JSDocs error.","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/843f38156da4faa4dbb5fc8f42ab32cbe6c8ef63"},{"sha":"039fd040a8803b8d9c0162fdd68cb38ba45dc179","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"doc(jsdoc): Make building docs part of testing, to avoid jsdocs errors (#464)","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/039fd040a8803b8d9c0162fdd68cb38ba45dc179"},{"sha":"a3d274d70ca9c5b07b3a950b222d259c8a162755","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(paste): Fix insertion into blank section (#466)\n\n* Refactor #insertPost tests to use builder and editor DSL.\r\n* Add test helper editor DSL `Helpers.editor.buildFromText(dsl, editorOptions)`\r\n* Add test helper `retargetRange` to retarget a range from one post to\r\n  another. Helps with asserting that the editor's range matches the one\r\n  from the DSL\r\n\r\nFixes #462","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/a3d274d70ca9c5b07b3a950b222d259c8a162755"},{"sha":"939a541fdb51adcff8e7d0f1ada05775980069db","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(paste): Handle paste card at start of middle list item (#468)\n\nChange postEditor#_splitListAtPosition to ensure that it partitions the\r\nlist items correctly if the cursor position is at the start of a\r\nmiddle-list item.\r\n\r\nFixes #467","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/939a541fdb51adcff8e7d0f1ada05775980069db"},{"sha":"919600c60ec0babccda7ad008aeaa94ce7c95933","author":{"name":"Cory","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"0.10.7","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/919600c60ec0babccda7ad008aeaa94ce7c95933"},{"sha":"eeb9e1954148cb96dd7db53d1784e1976d5cfb27","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"refactor(tests): Refactor deletion tests to be terser (#469)","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/eeb9e1954148cb96dd7db53d1784e1976d5cfb27"},{"sha":"11452fe592f8e8489c0f7b7bd88716a6aabdd014","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(placeholder): Use '__has-no-content' class name to display placeholder text (#461)\n\nThis causes the placeholder to appear even when the editor div is not\r\nwholly devoid of elements.\r\n\r\nPossible BREAKING CHANGE: The placeholder text is now absolutely\r\npositioned (at `top: 0`) of the editor div. If a user has applied their\r\nown padding to the editor div the placeholder may not show up in the\r\ncorrect location. The solution is to add a CSS rule that overrides the\r\n`top` to match the value of the `padding-top`:\r\n```\r\n.__mobiledoc-editor.__has-no-content:after {\r\n  top: <value of padding-top>;\r\n}\r\n```\r\n\r\nAlso: The editor now has a `min-height: 1em;`\r\nto ensure that the placeholder has a space in which to be displayed.\r\n\r\nFixes #407 #171","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/11452fe592f8e8489c0f7b7bd88716a6aabdd014"},{"sha":"e3efb98ac298adcc8f7cbe58e06709d9820cd40e","author":{"name":"Cory","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"0.10.8-beta.1","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/e3efb98ac298adcc8f7cbe58e06709d9820cd40e"},{"sha":"a59ae740fa63b63b6293b25973ee641591f62093","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(atoms): Avoid rerendering atoms when section content changes. (#471)\n\nfixes #421","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/a59ae740fa63b63b6293b25973ee641591f62093"},{"sha":"3ef3bc365fd2925b988786af9bc6826d7ea3ed59","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"feat(atom): Implement Atom `save` hook (#472)\n\nSave hook is on the atom's `env` and accepts arguments: `(value, payload)`.\r\nCalling the save hook rerenders the atom.\r\n\r\nExample:\r\n```\r\nlet atom = {\r\n  name: 'my-atom',\r\n  type: 'dom',\r\n  render({env, value, payload}) {\r\n    let el = document.createElement('button');\r\n    let clicks = payload.clicks || 0;\r\n    el.appendChild(document.createTextNode('Clicks: ' + clicks));\r\n    el.onclick = () => {\r\n      payload.clicks = payload.clicks || 0;\r\n      payload.clicks++;\r\n      env.save(value, payload);\r\n    };\r\n    return el;\r\n  }\r\n};\r\n```\r\n\r\nAlso: improve postAbstract buildFromText to accept data for an atom,\r\ni.e. \"abc@(...jsondata...)\", e.g.:\r\n```\r\nbuildFromText('abc@(\"name\": \"my-atom\", \"value\": \"bob\", \"payload\": {\"foo\": \"bar\"})def');\r\n// -> \"abc\" + atom with name \"my-atom\", value \"bob\", payload {foo: 'bar'} + \"def\"\r\n```\r\n\r\nFixes #399","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/3ef3bc365fd2925b988786af9bc6826d7ea3ed59"},{"sha":"1cef3707325c5e2058063bc9dbf14e7b4cff5f7b","author":{"name":"Cory","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"0.10.8","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/1cef3707325c5e2058063bc9dbf14e7b4cff5f7b"},{"sha":"235f7a329a1df68e0325fd5d311bbe3acb628d39","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"refactor(cleanup) Remove unused methods from `Post`, `Markerable` (#474)\n\n* Remove unused `Post#markersFrom`\r\n  * Remove unused `Post#cutMarkers`\r\n  * Remove `Post#_nextMarkerableSection`\r\n  * Remove unused `Markerable#splitMarker`\r\n  * Remove FIXME from `Post#_nextLeafSection`\r\n  * Remove FIXME from dom-utils `addClassName`","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/235f7a329a1df68e0325fd5d311bbe3acb628d39"},{"sha":"6969f5c6dc13934444caafd53bfaceedac4e9e88","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(range) Allow reading range from DOM when editor is disabled (#476)\n\nBecause `_readRangeFromDOM` doesn't do anything\r\nif the editor is non-editable, the editor may get stuck with a range\r\nthat is pointing at a section that has been removed from the post.\r\nThis causes the error seen when doing the `post.walkAllLeafSections`\r\nlater in the snapshot code. The post is undefined because it is read off\r\nthe card, but the card that the range points at has been removed.\r\n\r\nFixes #475","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/6969f5c6dc13934444caafd53bfaceedac4e9e88"},{"sha":"6036b902ded95d45a7c5bfac92115a1062df38a6","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(newlines). Remove newline chars in text nodes (`\\n`) when parsing HTML (#478)\n\nFixes #333","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/6036b902ded95d45a7c5bfac92115a1062df38a6"},{"sha":"a0aaa3aa5de7df993ccf031166b717896ff84c28","author":{"name":"Cory Forsyth","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"fix(onTextInput): Ensure `onTextInput` is triggered by tab character (#479)\n\nChange the event manager to delegate insertion of tab key to the input\r\nhandler rather than simply inserting the string.\r\n\r\nAlso: Lot of cleanup to tests.\r\n\r\nFixes #400","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/a0aaa3aa5de7df993ccf031166b717896ff84c28"},{"sha":"2fe7f0f1d623c663646b4657dda6b272834555b1","author":{"name":"Cory","email":"e88e4c6cf541f4c619759468a5a4b17141c731fb@gmail.com"},"message":"0.10.9","distinct":true,"url":"https://api.github.com/repos/eguitarz/mobiledoc-kit/commits/2fe7f0f1d623c663646b4657dda6b272834555b1"}]}
{"actor":{"display_login":"eguitarz"}}