Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-webui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-webui
Commits
95bffbb5
Verified
Commit
95bffbb5
authored
2 years ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Formatting for the shortcuts document.
parent
9843a309
No related branches found
No related tags found
2 merge requests
!103
Quick main-release of documentation
,
!85
DOC: F find query
Pipeline
#30877
passed
2 years ago
Stage: linting
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/extension/query_templates.rst
+12
-5
12 additions, 5 deletions
src/doc/extension/query_templates.rst
with
12 additions
and
5 deletions
src/doc/extension/query_templates.rst
+
12
−
5
View file @
95bffbb5
===============
Query shortcuts
===============
Introduction
============
...
...
@@ -7,11 +11,10 @@ data as query strings which are used frequently. They can be stored and
reused.
.. figure:: images/shortcut_toolbox.png
:alt:
The
Shortcuts in the
Q
uery
P
anel
; Note the Toolbox for in the
top right
:alt: Shortcuts in the
q
uery
p
anel
. There is a
toolbox for editing shortcuts in the
top right
.
The Shortcuts in the Query Panel; Note the Toolbox for in the top
right
Shortcuts in the query panel. Note the toolbox for editing shortcuts in the top right
There are two ways to integrate query templates into the WebUI:
...
...
@@ -47,7 +50,7 @@ It now opens a form with two input fields, ``Description`` and
The view to create a new shortcut
See `
2.4 <#b
asic
-s
hortcut
>`_
_ and `
2.5 <#a
dvanced
-s
hortcut
>`_
_ for
See `
B
asic
S
hortcut
`
_ and `
A
dvanced
S
hortcut
`
_ for
further explanation of the components of a Query Shortcut.
Edit the fields and click ``Submit`` for the creation of the new
...
...
@@ -177,6 +180,10 @@ Each placeholder *id* must occur only once in both components – if you
need to use two years in your shortcut you have to use ``{year1}`` and
``{year2}`` or any other combinations of placeholder *ids*.
Global Shortcuts
================
Example for global_query_shortcuts.json
---------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment