Skip to content

Commit

Permalink
Improve search input limit doc.
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fernando Dyck <[email protected]>
  • Loading branch information
GabrielDyck committed Feb 16, 2020
1 parent aaac19d commit 4e1ac90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/next-release/frontend-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Several aspects of the UI can be configured:
* The Dependencies section can be enabled / configured
* Google Analytics tracking can be enabled / configured
* Additional menu options can be added to the global nav
* Search input can be configured
* Search input limits can be configured

These options can be configured by a JSON configuration file. The `--query.ui-config` command line parameter of the query service must then be set to the path to the JSON file when the query service is started.

Expand Down Expand Up @@ -100,16 +100,16 @@ Links can either be members of the `menu` Array, directly, or they can be groupe

The `items` Array should contain one or more link configurations.

### Search Input
### Search Input Limit

The `search.maxLimit` configures the maximum results that the input let you search.

The `search.maxLookback` configures the maximum time before the present users can query for traces.
The `search.maxLookback` configures the maximum time before the present users can query for traces. The options in the Lookback dropdown greater than this value will not be shown.

Field | Description
------|------------
label | The text displayed in the search form dropdown
value | The limit used to truncate the `lookbackOptions` in `SearchForm.js`, and the value submitted in the search query if the label is selected
value | The value submitted in the search query if the label is selected

### Link Patterns

Expand Down

0 comments on commit 4e1ac90

Please sign in to comment.