This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

set of ui components to ease data browsing

Project Description

Summary

Set of ui components to ease data browsing.

Setup the SearchUi component

Install the dependencies:

npm install

Then build the css and js files

npm run build

For the dev environment:

npm run watch

Custom facets

RelationSwitchFacet

This facet examines current rset and selected variable and displays a list of relations that can be traversed from the selected variable. When the user clicks on one of those relations, he gets redirected to the resulting page.

For instance, if the original RQL is:

Any X WHERE X is CWUser

then the facet displays (among other relations) in_group and in_state relations. The corresponding RQL for those relations is:

Any G WHERE X is CWUser, X in_group G
Any S WHERE X is CWUser, X in_state S

This facet therefore differs from other facets in that it chagnes the RQL selection (on the left of the WHERE).

NOTE:

while this original implementation is based on facets, it may not be the best choice, considering its behaviour differences:

  • it changes the left part of the WHERE,
  • the user gets redirected to another page,
  • the facet is not reloaded with standard add_rql_restrticions() and possible_values() API calls but is completely regenerated when the facets-content-loaded event is triggered.
Release History

Release History

This version
History Node

0.3.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cubicweb-searchui-0.3.0.tar.gz (99.7 kB) Copy SHA256 Checksum SHA256 Source Nov 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting