Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure search.maxLimit #511

Merged
merged 5 commits into from
Feb 20, 2020
Merged

Conversation

GabrielDyck
Copy link
Contributor

Signed-off-by: Gabriel Fernando Dyck gabrielfernandodyck@gmail.com

Which problem is this PR solving?

@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #511 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #511      +/-   ##
==========================================
+ Coverage   92.87%   92.89%   +0.02%     
==========================================
  Files         197      197              
  Lines        4814     4814              
  Branches     1162     1162              
==========================================
+ Hits         4471     4472       +1     
+ Misses        302      301       -1     
  Partials       41       41
Impacted Files Coverage Δ
...eViewer/TimelineHeaderRow/TimelineViewingLayer.tsx 91.52% <0%> (+1.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 002a71a...2c34203. Read the comment docs.

Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>
Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff LGTM 👍

@yurishkuro can you advise on how to contribute to the ui-config.json documentation?

@yurishkuro
Copy link
Member

@GabrielDyck
Copy link
Contributor Author

Hello!

I've added documentation for this in the PR jaegertracing/documentation#348

Let me know if it's ok.
Thank you!

@@ -443,7 +443,7 @@ export class SearchFormImpl extends React.PureComponent {
type="number"
component={AdaptedInput}
placeholder="Limit Results"
props={{ disabled, min: 1, max: 1500 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the default-config below provide defaults per value, or only as a whole configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes default per value.
If we configure maxLimit as 500, It will take 500. If the value "maxLimit" isn't configure, it will take the default value, in this case, 1500.
@everett980 could you tell me if I am wrong?
Thank you!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GabrielDyck you are correct. default-config is consumed per value.

yurishkuro pushed a commit to jaegertracing/documentation that referenced this pull request Feb 16, 2020
* Add jaeger-ui search input documentation
Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>

* Add search input config detail
Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>

* Improve documentation for search configuration.

Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>

* Improve search input limit doc.

Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>
@everett980
Copy link
Collaborator

Documentation was merged, so this LGTM. Thanks for your patience!

@everett980 everett980 merged commit c6cb7ad into jaegertracing:master Feb 20, 2020
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
Signed-off-by: Gabriel Fernando Dyck <gabriel.dyck@despegar.com>
Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure max limit result in SearchForm.js
3 participants