-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Make ArchiveTrace button auto-configurable #4913
Make ArchiveTrace button auto-configurable #4913
Conversation
I am still working on the feature but would appreciate any feedback on the design choices. Thank you in advance. |
2cf6213
to
0c9cd06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as I can see you're not actually using the capability flag in generating the UI config.
I suggest following the pattern already used in index.html and defining another function getStorageCapabilities
to be substituted by the query-service's static handler. I just added a bit of documentation how this is currently done: jaegertracing/jaeger-ui#1926
0c9cd06
to
838981e
Compare
I've taken a look. Do you think we should include the |
Yes, we can add it to |
4dcfc50
to
6e441f0
Compare
6e441f0
to
e5c3b7d
Compare
- Resolves jaegertracing#4874 The button to archive a trace is now configured based on the state of the QueryService in addition to the UI configuration. It is now possible to request features from the QueryService to inject them into the UI. All corresponding tests have been updated. - [X] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [X] I have signed all commits - [X] I have added unit tests for the new functionality - [X] I have run lint and test steps successfully --------- Signed-off-by: Barthelemy Antonin <antobarth@gmail.com>
e5c3b7d
to
74f60a4
Compare
I always have problems integrating the feature, can you confirm that in its current state the feature is not functional? |
Signed-off-by: Yuri Shkuro <github@ysh.us>
Codecov ReportAll modified and coverable lines are covered by tests ✅
📢 Thoughts on this report? Let us know! |
Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thank you for the help; I'll try to be more independent with the upcoming features on Jaeger. |
Which problem is this PR solving?
Description of the changes
The button to archive a trace is now configured based on the state of
the QueryService in addition to the UI configuration. It is now
possible to request features from the QueryService to inject them
into the UI.
Related UI change jaegertracing/jaeger-ui#1944
How was this change tested?
All corresponding tests have been updated.
Checklist
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
Signed-off-by: Antonin Barthelemy antobarth@gmail.com