Giter Site home page Giter Site logo

Comments (2)

dirkroorda avatar dirkroorda commented on May 13, 2024

This can be realized by a app specific value for new parameters

BROWSE_NAV_LEVEL = 1 or 2
BROWSE_CONTENT_PRETTY = True or False

This is the meaning: the browser shows a hierarchical tree of sections up to level BROWSE_CUTOFF_LEVEL.
The result list either shows the list of sections at BROWSE_NAV_LEVEL + 1
if BROWSE_CONTENT_PRETTY is false
or else shows the pretty display of the thing selected at BROWSE_NAV_LEVEL

For Hebrew, the BROWSE_NAV_LEVEL = 2 and BROWSE_PRETTY = False:

  • a hierarchical list of books and chapters is shown
  • the selection of a chapter opens the list of verses of that chapter in the results area.

For Uruk, the BROWSE_CUTOFF_LEVEL = 1 and BROWSE_PRETTY = True:

  • a list of tablets is shown
  • the selection of a tablet opens it in pretty view in the results area

from text-fabric.

dirkroorda avatar dirkroorda commented on May 13, 2024

Both things in this issue have been dealt with generically: filtering of top-level section items is on for all corpora.

And BROWSE_NAV_LEVEL and BROWSE_CONTENT_PRETTY work for all apps.

from text-fabric.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.