{"push_id":825401301,"size":1,"distinct_size":1,"ref":"refs/heads/api-bar-refactor","head":"2265dbf2669ec043bea624a65ffcc2b955381f04","before":"c19c3af2a9abde11d58cdb6237ab8a2a682a2598","commits":[{"sha":"2265dbf2669ec043bea624a65ffcc2b955381f04","author":{"email":"3e66e8841d2ec9e6067d8d313dccb27f5f6bb2e9@gmail.com","name":"Ben Keen"},"message":"Update to pass updates to API Bar via actions\n\nThe previous code used props on page load to set the API Bar\nvalues (endpoint + doc URL). The problem was that because there\nwas no way to reference the APIBarController, it prohibited\non-the-fly updates to change the values without a route change.\n\nThis just tweaks it to store the API Bar data in a store that\ncan be updated by publishing an action. This will ultimately\nallow us to do away with hacks like this:\nhttps://github.com/apache/couchdb-fauxton/blob/master/app/addons/documents/header/header.react.jsx#L174\n\ne.g. we could expand on this ticket and publish an\nAPIBAR_FADE_OUT” msg and the component would handle its own\nfading out, rather than relying on other components directly\nmanipulating its DOM.","distinct":true,"url":"https://api.github.com/repos/benkeen/couchdb-fauxton/commits/2265dbf2669ec043bea624a65ffcc2b955381f04"}]}