You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jason Davies (JIRA)" <ji...@apache.org> on 2008/12/30 19:01:44 UTC

[jira] Created: (COUCHDB-186) Bookmarkable URLs in Futon

Bookmarkable URLs in Futon
--------------------------

                 Key: COUCHDB-186
                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
             Project: CouchDB
          Issue Type: Improvement
          Components: Administration Console
    Affects Versions: 0.9
            Reporter: Jason Davies
            Priority: Minor


This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Luke Venediger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luke Venediger updated COUCHDB-186:
-----------------------------------

    Attachment: bookmarkable_futon.3.diff

Nice! I've tested your new patch and it works. I've added a feature to update the main window's document title based on the page you're on. It also includes the name of the database or document that you're viewing.

I've made a new svn diff patch that has your new changes included. 

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.2.diff, bookmarkable_futon.3.diff, bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Luke Venediger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660535#action_12660535 ] 

Luke Venediger commented on COUCHDB-186:
----------------------------------------

Wow that works nicely, well done Jason! I've clicked around a bit and the url bar is updating. Back and forward browser buttons are also working. So do we mark this as resolved, or does that get done by the couchdb committers?


> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Jason Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Davies updated COUCHDB-186:
---------------------------------

    Attachment: bookmarkable_futon.4.diff

Cool, nice feature addition.  I've updated your patch to include jquery.history.js, and I've also replaced some tabs with spaces for consistency.

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.2.diff, bookmarkable_futon.3.diff, bookmarkable_futon.4.diff, bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Luke Venediger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660404#action_12660404 ] 

Luke Venediger commented on COUCHDB-186:
----------------------------------------

This is possible using jquery.history.js. The site uses an iframe for the main content area, so any changes to the iframe would need to update the main window's hash location. 

A simple way to get around it is to attach the iframe's current path to the end of the main window's url. So, if the iframe's on /browse/index.html, the main window's url would be _utils/#/browse/index.html
 

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Luke Venediger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660606#action_12660606 ] 

Luke Venediger commented on COUCHDB-186:
----------------------------------------

Cool thanks Jason, I'll use spaces from here on.

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.2.diff, bookmarkable_futon.3.diff, bookmarkable_futon.4.diff, bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Jason Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Davies updated COUCHDB-186:
---------------------------------

    Attachment: bookmarkable_futon.2.diff

Thanks! I'm guessing it'll be marked as resolved when a committer applies the patch to trunk?

I just noticed that I'd inadvertently included my reduce pagination fix in the first patch above, so I'm attaching a simpler patch now with only the bookmarkable URLs fix.

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.2.diff, bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by Jason Davies <ja...@jasondavies.com>.
On 3 Jan 2009, at 12:51, Jason Davies (JIRA) wrote:

> Here's a working patch that uses jquery.history.js.
>
> I am happy for my patch to be included in CouchDB but  
> jquery.history.js is licensed under the MIT license (downloaded from http://www.mikage.to/jquery/jquery_history.html) 
>  so I'm not sure if it can be included in CouchDB without requesting  
> permission from the original author.


I just checked http://apache.org/legal/3party.html and it looks like  
MIT is fully compatible with ASF.  I've updated the ticket comment to  
reflect this.

Jason
--
Jason Davies

www.jasondavies.com


[jira] Updated: (COUCHDB-186) Bookmarkable URLs in Futon

Posted by "Jason Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Davies updated COUCHDB-186:
---------------------------------

    Attachment: bookmarkable_futon.diff

Here's a working patch that uses jquery.history.js.

I am happy for my patch to be included in CouchDB but jquery.history.js is licensed under the MIT license (downloaded from http://www.mikage.to/jquery/jquery_history.html) so I'm not sure if it can be included in CouchDB without requesting permission from the original author.

> Bookmarkable URLs in Futon
> --------------------------
>
>                 Key: COUCHDB-186
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-186
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Administration Console
>    Affects Versions: 0.9
>            Reporter: Jason Davies
>            Priority: Minor
>         Attachments: bookmarkable_futon.diff
>
>
> This is a nice-to-have: make Futon's URLs bookmarkable by putting various data about the current page in the URL fragment (after the '#' character).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.