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

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

GitHub user benkeen opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/154

    Only render doc page breadcrumbs as needed

    All routes changes used to cause the breadcrumbs to be re-rendered,
    even though they often don't change. This small change checks to see
    if the crumbs have in fact changed, and only re-renders if so.
    
    Closes COUCHDB-2465

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

    $ git pull https://github.com/benkeen/couchdb-fauxton 
2465-doc-breadcrumbs-redraws

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

    https://github.com/apache/couchdb-fauxton/pull/154.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 #154
    
----
commit 666bb6bd57efe4f3f3641217f00fffa483da228f
Author: Benjamin Keen <[email protected]>
Date:   2014-11-17T23:52:32Z

    Only render doc page breadcrumbs as needed
    
    All routes changes used to cause the breadcrumbs to be re-rendered,
    even though they often don't change. This small change checks to see
    if the crumbs have in fact changed, and only re-renders if so.
    
    Closes COUCHDB-2465

----


> Update Documents page to prevent it from redrawing breadcrumbs each time
> ------------------------------------------------------------------------
>
>                 Key: COUCHDB-2465
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2465
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Ben Keen
>            Assignee: Ben Keen
>
> This was a result of investigating COUCHDB-2458. 
> The Documents page keeps redrawing the breadcrumbs on every route change, 
> causing a bit of unsightly flashing when doing searches / navigating around. 
> Patch this to only re-render the breadcrumbs when it's needed (i.e. when 
> something changes).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to