[
https://issues.apache.org/jira/browse/COUCHDB-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Keen updated COUCHDB-2512:
------------------------------
Description:
The way we're getting the "<" image to appear in the Breadcrumbs section is by
specifying the breadcrumb details like so:
{code:javascript}
{ "name": "", "className": "fonticon-left-open", "link": "/_all_dbs" },
{code}
The generated markup for that segment is the same as the other breadcrumb items.
For COUCHDB-2507, it requires a subtle difference in the way that item is
styled. In that ticket we have the first "<" followed by a line, followed by
the ID of the document. The problem is that with the given markup, I can't
differentiate that from the Database -> Permissions page - or other pages that
have [breadcrumb text 1] > [breadcrumb text 2]. For that page, we don't want
the line to appear after the first breadcrumb.
This ticket is to offer a prefab solution to adding the "<" into the
breadcrumbs, like so:
{code:javascript}
{ "type": "back", "link": "/_all_dbs" },
{code}
This will output a particular class on the "<" <div> element so that it can be
styled appropriately, thus differentiating it from other pages.
It's backward compatible.
was:
The way we're getting the "<" image to appear in the Breadcrumbs section is by
specifying the breadcrumb details like so:
{code:javascript}
{ "name": "", "className": "fonticon-left-open", "link": "/_all_dbs" },
{code}
The generated markup for that segment is the same as the other breadcrumb items.
For COUCHDB-2507, it requires a subtle difference in the way that item is
styled. In that ticket we have the first "<" followed by a line, followed by
the ID of the document. The problem is that with the given markup, I can't
differentiate that from the Database -> Permissions page. For that page, we
don't want the line to appear.
This ticket is to offer a prefab solution to adding the "<" into the
breadcrumbs, like so:
{code:javascript}
{ "type": "back", "link": "/_all_dbs" },
{code}
This will output a particular class on the "<" <div> element so that it can be
styled appropriately, thus differentiating it from other pages.
It's backward compatible.
> Provide prefab way to get "<" into Breadcrumbs
> ----------------------------------------------
>
> Key: COUCHDB-2512
> URL: https://issues.apache.org/jira/browse/COUCHDB-2512
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Ben Keen
> Assignee: Ben Keen
>
> The way we're getting the "<" image to appear in the Breadcrumbs section is
> by specifying the breadcrumb details like so:
> {code:javascript}
> { "name": "", "className": "fonticon-left-open", "link": "/_all_dbs" },
> {code}
> The generated markup for that segment is the same as the other breadcrumb
> items.
> For COUCHDB-2507, it requires a subtle difference in the way that item is
> styled. In that ticket we have the first "<" followed by a line, followed by
> the ID of the document. The problem is that with the given markup, I can't
> differentiate that from the Database -> Permissions page - or other pages
> that have [breadcrumb text 1] > [breadcrumb text 2]. For that page, we don't
> want the line to appear after the first breadcrumb.
> This ticket is to offer a prefab solution to adding the "<" into the
> breadcrumbs, like so:
> {code:javascript}
> { "type": "back", "link": "/_all_dbs" },
> {code}
> This will output a particular class on the "<" <div> element so that it can
> be styled appropriately, thus differentiating it from other pages.
> It's backward compatible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)