laws-africa / peachjam

Project Peach Jam
https://agp.africanlii.org
GNU General Public License v3.0
2 stars 0 forks source link

AfricanLII: subject-area case indexes / collections #497

Closed longhotsummer closed 1 year ago

longhotsummer commented 2 years ago

Examples:

longhotsummer commented 1 year ago

These are taxonomy-driven listing pages.

Effectively, each subject area is the top-level entry of a multi-level taxonomy. For example, "Environment" has "Air and climate" and "Fauna and flora" as child entries (and they too have children). Fundamentally, the user is doing a faceted listing of documents within the taxonomy. They can choose additional taxonomy entries (under the primary one) to facet by, as well as other facets like country and year.

The top level of the taxonomy becomes a detail page for that collection. It may have a rich description of what the collection is about, an image, external links, funders, etc (ref #584).

If the user is reading a document that is part of a collection (particularly if it's part of only a single collection), it should be obvious to the user and we should help them explore other documents in the taxonomy.

longhotsummer commented 1 year ago

Proposal

We have a single taxonomy space, so effectively the top-level must anchor separate logical taxonomies. eg:

"Collections" and "Topics" are two independent taxonomies.

We create detail pages for taxonomies. The pages for the first levels provide an entry point to their children, and don't list documents. Subsequent levels do list documents.

Taxonomy overview pages

Taxonomy detail pages

Taxonomy tree

The taxonomy tree above the facet list is the primary navigation through the current taxonomy. If we're at /taxonomy/collections/human-rights, then the top-level heading in the taxonomy tree is 'Human Rights', and we're showing everything beneath that.

The taxonomy is shown as a nested list. The user can expand/collapse as necessary (we could use our la-table-of-contents widget). When the user clicks on an entry, it loads a new page which is the detail page for that entry.

In other words, it's not a facet like the filters, but just a collapsible list of links.

rough mockup:

image

Document detail pages

Example: image