You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/09/28 23:58:24 UTC

[GitHub] Antonio-Maranhao opened a new pull request #1128: Partitioned dbs partition key selector

Antonio-Maranhao opened a new pull request #1128: Partitioned dbs partition key selector
URL: https://github.com/apache/couchdb-fauxton/pull/1128
 
 
   ## Overview
   
   Second in a series of PRs that will be submitted in support of the new user-defined partitioned databases feature (https://github.com/apache/couchdb/pull/1605).
   
   Summary:
    - Add new PartitionKeySelector component that allows setting a partition key for filtering query results.
    - The selected partition key is represented in the application URL. E.g.: `/#/database/mydb/_partition/part1/_design/ddoc1/_view/new-view`
    - Although the URL is being updated by the Selector, the query results are not affected yet. This will come in a future PR
   
   ## Testing recommendations
   
    - Create a new partitioned database
    - Navigate to 'All Documents'. The Selector should be inactive (gray) and say 'No partition selected'
    - Click the Selector and type the value `part1` then press Enter
    - The URL should change to `/#/database/<DB>/_partition/part1/_all_docs`
    - Click the Selector's (filter) icon to switch back to 'global' mode. The URL should change to back to `/#/database/<DB>/_all_docs`
    - Navigate to a view and repeat the same steps as for 'All Documents'
   
   ## Related Pull Requests
   
   https://github.com/apache/couchdb/pull/1605
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [x] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   - [ ] Update [rebar.config.script](https://github.com/apache/couchdb/blob/master/rebar.config.script) with the correct tag once a new Fauxton release is made
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services