cubicweb-searchui


Namecubicweb-searchui JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttp://www.cubicweb.org/project/cubicweb-searchui
Summaryset of ui components to ease data browsing
upload_time2023-07-26 13:51:30
maintainer
docs_urlNone
authorLOGILAB S.A. (Paris, FRANCE)
requires_python
licenseLGPL
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.

            

Raw data

            {
    "_id": null,
    "home_page": "http://www.cubicweb.org/project/cubicweb-searchui",
    "name": "cubicweb-searchui",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "LOGILAB S.A. (Paris, FRANCE)",
    "author_email": "contact@logilab.fr",
    "download_url": "https://files.pythonhosted.org/packages/21/fa/159bdd32be64f0811e1212cf6f655201cdbc0406df4da0e81783fdae50a3/cubicweb-searchui-1.0.0.tar.gz",
    "platform": null,
    "description": "Summary\n-------\n\nSet of ui components to ease data browsing.\n\nSetup the SearchUi component\n----------------------------\n\nInstall the dependencies:\n\n    npm install\n\nThen build the css and js files\n\n    npm run build\n\n\nFor the dev environment:\n\n    npm run watch\n\n\nCustom facets\n-------------\n\nRelationSwitchFacet\n~~~~~~~~~~~~~~~~~~~\n\nThis facet examines current rset and selected variable and displays a\nlist of relations that can be traversed from the selected\nvariable. When the user clicks on one of those relations, he gets\nredirected to the resulting page.\n\nFor instance, if the original RQL is::\n\n    Any X WHERE X is CWUser\n\nthen the facet displays (among other relations) in_group and in_state\nrelations. The corresponding RQL for those relations is::\n\n    Any G WHERE X is CWUser, X in_group G\n    Any S WHERE X is CWUser, X in_state S\n\n\nThis facet therefore differs from other facets in that it chagnes the\nRQL selection (on the left of the WHERE).\n\nNOTE:\n  while this original implementation is based on facets,\n  it may not be the best choice, considering its behaviour\n  differences:\n\n  - it changes the left part of the WHERE,\n  - the user gets redirected to another page,\n  - the facet is not reloaded with standard ``add_rql_restrticions()``\n    and ``possible_values()`` API calls but is completely regenerated\n    when the facets-content-loaded event is triggered.\n",
    "bugtrack_url": null,
    "license": "LGPL",
    "summary": "set of ui components to ease data browsing",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "http://www.cubicweb.org/project/cubicweb-searchui"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a3696a110497b2b34815dbbcdb4968eface210a439a63f94cd06cd7bdaaf433",
                "md5": "d5511f8be10b32cc579f90cbe6a3db90",
                "sha256": "79d848749b6529195eeca36f15e5514a8605cd107955b75948a706f4c0a093e7"
            },
            "downloads": -1,
            "filename": "cubicweb_searchui-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d5511f8be10b32cc579f90cbe6a3db90",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 100959,
            "upload_time": "2023-07-26T13:51:27",
            "upload_time_iso_8601": "2023-07-26T13:51:27.877280Z",
            "url": "https://files.pythonhosted.org/packages/1a/36/96a110497b2b34815dbbcdb4968eface210a439a63f94cd06cd7bdaaf433/cubicweb_searchui-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21fa159bdd32be64f0811e1212cf6f655201cdbc0406df4da0e81783fdae50a3",
                "md5": "8b89c72595604aa99a235468b673ca88",
                "sha256": "4a4a21a3abd0598ede5c253f0ab95df55d2d04fb5dc8f4cfb634cf2b85a37879"
            },
            "downloads": -1,
            "filename": "cubicweb-searchui-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8b89c72595604aa99a235468b673ca88",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 101111,
            "upload_time": "2023-07-26T13:51:30",
            "upload_time_iso_8601": "2023-07-26T13:51:30.099471Z",
            "url": "https://files.pythonhosted.org/packages/21/fa/159bdd32be64f0811e1212cf6f655201cdbc0406df4da0e81783fdae50a3/cubicweb-searchui-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-26 13:51:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "cubicweb-searchui"
}
        
Elapsed time: 0.10920s