[PATCH 2 of 2] hgwebdir: add a "URL breadcrumb" to the index pages

Angel Ezquerra angel.ezquerra at gmail.com
Tue Aug 7 09:15:15 CDT 2012


On Tue, Aug 7, 2012 at 2:33 PM, Laurens Holst <laurens.nospam at grauw.nl> wrote:
> Op 06-08-12 21:20, Angel Ezquerra schreef:
>
>> # HG changeset patch
>> # User Angel Ezquerra <angel.ezquerra at gmail.com>
>> # Date 1343247675 -7200
>> # Branch stable
>> # Node ID 92442515d8bc5b7628a2c8f97f35c0b15a20c84f
>> # Parent  06d3090c691a0607ed1d08d0dfd7c3e850d1d383
>> hgwebdir: add a "URL breadcrumb" to the index pages
>>
>> A "URL breadcrumb" is a path where each of the path items can be clicked
>> to go
>> to the corresponding path page.
>>
>> This lets you go up the folder hierarchy very quickly. For example, when
>> showing
>> the list of repositories in http://myserver/myteams/myprojects, the
>> following
>> "breadcrumb" will be shown:
>>
>> /myteams/myprojects
>>
>> Clicking on "myprojects" reloads the page. Clicking on "myteams/" goes up
>> one
>> folder. Clicking on the leftmost "/" goes to the server root.
>
>
> That’s a very small click target. Perhaps better to put “root” or the
> repository name in front?
>
> ~Laurens

That is a good point. I'll see if adding the repository name feels right.

Thanks,

Angel


More information about the Mercurial-devel mailing list