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.
Metadata
Release files for cubicweb-searchui 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cubicweb_searchui-1.1.0.tar.gz | 101.2 kB | Without provenance | Details for cubicweb_searchui-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cubicweb_searchui-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for cubicweb_searchui-1.1.0-py3-none-any.whl |
Total release size: 202.3 kB
Release files / cubicweb_searchui-1.1.0.tar.gz
| Download URL | cubicweb_searchui-1.1.0.tar.gz |
|---|---|
| Size | 101.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
763249b4a4c6c3332f1f39f7852e6d453a6be8f8450a9ee45cca689be74ffc04
|
|
BLAKE2b-256 checksum How to use checksums |
b336955cd1c4f0fcd28c056cce287b17885650cca8c863b99631f261523ab4aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / cubicweb_searchui-1.1.0-py3-none-any.whl
| Download URL | cubicweb_searchui-1.1.0-py3-none-any.whl |
|---|---|
| Size | 101.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef6bf08732a2f67b05a93fa1408412c36c666b1e01244a7d1f3f25c7bb86a6a1
|
|
BLAKE2b-256 checksum How to use checksums |
37cbcc787e120485614295b2f68dbb1bd524666483e26859b61321316333a9ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for cubicweb-searchui 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.