Github user robertkowalski commented on a diff in the pull request: https://github.com/apache/couchdb-fauxton/pull/324#discussion_r27035294 --- Diff: app/addons/documents/index-results/index-results.components.react.jsx --- @@ -28,10 +36,118 @@ function (app, FauxtonAPI, React) { } }); + var ResultsScreen = React.createClass({ + + onDoubleClick: function (id, doc) { + FauxtonAPI.navigate(doc.url); + }, + + getUrlFragment: function (url) { + if (this.props.hasReduce) { + return null; + } + + + return ( + <a href={url}> + <i className="fonticon-pencil"></i> + </a>); + }, + + getDocumentList: function () { + return _.map(this.props.results, function (doc) { + return ( + <Components.Document + key={doc.id} + doc={doc} + onDoubleClick={this.onDoubleClick} + keylabel={doc.keylabel} + docContent={doc.content} + checked={this.props.isSelected(doc.id)} + docChecked={this.props.docChecked} + docIdentifier={doc.id} > + {this.getUrlFragment('#' + doc.url)} + </Components.Document> + ); + }, this); + }, + + render: function () { + var classNames = 'view'; + + if (this.props.isDeleteable) { + classNames += ' show-select'; + } + + return ( + <div className={classNames}> + <div id="doc-list"> + <ReactCSSTransitionGroup transitionName={'slow-fade'}> --- End diff -- can we make that a very fast fade? maybe 500ms it irritates a bit when i want to go two pages forward
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---