Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1998

Add hint for NXQL on code mirror integration

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 20
    • Component/s: Content Views

      Description

      On content view definitions, as well as on some other places where an NXQL query is expected (select2 Document suggest widgets, and parameters of operations that are named "query" (hardcoded)) we would like to have suggestion for NXQL, using code mirror.
      The suggestion should take into account:

      • the structure syntax (where, AND, OR, ...)
      • the property names (using Studio project registry)
      • the system property names (like ecm:currentLifeCycleState)
      • the list of types when previous keyword is ecm:primaryType
      • ideally, the lifecycle state names (that are also in the registries) when previous keyword is ecm:currentLifeCycleState

      In the future we would also like to add it to CAP. But in CAP, the method for getting the available property names, types etc would be different there, so there should be a pluggable way to initialize the values that are used for the suggestion.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 4 days
                  4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified