GitHub user robertkowalski opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/151
Redesign Documents
This PR tries again to slice off small parts of 33 and my branch I created
from 33
The goal is a faster and better review and a mergeable state as
fauxton-master is a fast moving target. We merge parts of the branch
iteratively and additionally refactor which is easier with small pieces.
Smaller chunks also introduce less bugs as they can be tested more easy and the
review does not take hours.
The plan: after this branch the select buttons are moving to the header:

@seanbarclay one note from the changes I made with the help of your awesome
guide:
- it is currently not possible to style keys/values in the prettify-json
area with different colors, they both get the same class from the library
I did not add the ability to hide the checkboxes - this is part of the next
step where we have the toggle mechanism in the header. It is not a downgrade to
the current functionality. I prepared everything so we can just remove the
show-select class on a parent container to remove the checkboxes and to adjust
the padding.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertkowalski/couchdb-fauxton doc-design
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/151.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #151
----
commit 92a49d78c959e88a5d9b75f13ba82459ccd2f8bd
Author: Robert Kowalski <[email protected]>
Date: 2014-11-13T15:33:35Z
new design for docs
commit 444673f79467c0aed9b2148d044bb6588d628d58
Author: Robert Kowalski <[email protected]>
Date: 2014-11-13T16:45:50Z
wip
commit aa14008e0bce662d54728fd4cfa323353a20c8c6
Author: Robert Kowalski <[email protected]>
Date: 2014-11-13T17:03:15Z
easier customization
commit 6644436cd9feb8f89fbb52c69a23ec143f03eab0
Author: Robert Kowalski <[email protected]>
Date: 2014-11-13T21:33:47Z
styling: labels / checkboxes
commit 4b3d373c632f0d71b9ffcc01cb41cf8b58639417
Author: Robert Kowalski <[email protected]>
Date: 2014-11-14T13:17:53Z
fix change event
commit 25772c175013f6bfd1ba8b3ead34b7b882e9a389
Author: Robert Kowalski <[email protected]>
Date: 2014-11-14T14:29:45Z
show-select & select-all
commit e936cd76996040861924577c9b747473451d0407
Author: Robert Kowalski <[email protected]>
Date: 2014-11-14T14:57:04Z
whitespace
commit ba40f9b4536d3a5360f3fb678630ef9243090cb9
Author: Robert Kowalski <[email protected]>
Date: 2014-11-14T15:04:31Z
Fix bulk-delete on all-doc-page
On Couch 1.6 `/_bulk_docs` returned `ok: true` when the request was an
success. On 2.0 the ok property is missing:
Example success message on 2.0:
```
[{"id":"Brocket","rev":"6-b6fa9e703c3eb92aa9c3a49cedf1e8c2"}]
```
Example error message on 2.0:
```
[{"id":"Blaggie-System","error":"conflict",
"reason":"Document update conflict."}]
```
Steps to reproduce the error in Fauxton:
- select 1 document in the all_docs screen
- click the trash icon to delete it
- click ok to delete it
- you are able to click the trash icon again and if you do, you
get an error
Closes COUCHDB-2462
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---