[ 
https://issues.apache.org/jira/browse/COUCHDB-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988247#comment-13988247
 ] 

ASF GitHub Bot commented on COUCHDB-2153:
-----------------------------------------

GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb/pull/221

    Implement bulk deletion for all-docs-listing

    Introduce a collection which keeps track of documents that will
    deleted using the CouchDB Bulk-update API, backed by a Session-
    Storage.
    
    The collection fires events, so the view is noticed.
    
    Closes COUCHDB-2153

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertkowalski/couchdb 2153-bulk-deletion

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/221.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 #221
    
----
commit 31a033a55997a312a33996ae63702f2a9ee043bf
Author: Robert Kowalski <r...@kowalski.gd>
Date:   2014-05-02T19:33:46Z

    Fauxton: Inject database into view
    
    it's handled in the options and used, but was never passed

commit ed87c7046e8ceb31e6500757ed771bc20d99724d
Author: Robert Kowalski <r...@kowalski.gd>
Date:   2014-05-02T19:39:21Z

    Implement bulk deletion for all-docs-listing
    
    Introduce a collection which keeps track of documents that will
    deleted using the CouchDB Bulk-update API, backed by a Session-
    Storage.
    
    The collection fires events, so the view is noticed.
    
    Closes COUCHDB-2153

----


> Documents bulk deletion is broken
> ---------------------------------
>
>                 Key: COUCHDB-2153
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2153
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Alexander Shorin
>            Assignee: Robert Kowalski
>
> How it works in GMail and expected to be: you navigating though pages, 
> checking rows that you'd like to remove and when you've done - just click on 
> Remove button. 
> How it works in Fauxton: you cannot navigate to the next page since all your 
> checkboxes will be dropped. You have to remove docs first from the current 
> page. After that you have to revalidate this page again since order had 
> changed and documents from next page are now on current one (+ new documents 
> had arrived). And so you have to do again and again till current page will 
> contain no documents to delete. And only after than you can move to the next 
> page and repeat this validation madness.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to