-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Telemetry] Telemetry Advanced settings section should use the regular UI registration API #56498
Comments
Pinging @elastic/pulse (Team:Pulse) |
We should also look if we can register it in the same way other Advanced Settings are registered (so users can use the Filter by type option as well). |
Pinging @elastic/kibana-core (Team:Core) |
Tentatively marking this issue as a bug |
Q: Is there a way to register UI Settings that are applied globally instead of per-space? |
No, the kibana/src/core/server/ui_settings/saved_objects/ui_settings.ts Lines 12 to 15 in 4584a8b
This is an improvement that is probably going to be required for the user profile feature though, as the concept of 'global' versus 'space-aware' settings will probably need to be introduced. cc @TinaHeiligers |
Cool! Good to know! I'm going to mark this issue as blocked then, while we get there. |
@pgayvallet thanks for the ping! I've added that request to the every-growing list of We need to tackle that list as a team soon (before 8.0.0 gets too close) and organize it in terms of what's still valid & prioritize the enhancements |
@TinaHeiligers As 8.0 is really close now, is there any update on this? This is causing some weirdness in the advanced settings ui: #56566 #88345 |
@flash1293 this issue isn't on our priority list for 8.0. Since this is already classified as a bug, maybe we can squeeze it in post FF during the testing spike. Would that work for you? |
No pressure from our side, just wanted to raise awareness this is causing some additional downstream problems - I basically stumbled over the 8.0 mention above by accident |
@flash1293 we have custom logic when the switch handler changes. we hit a route in the telemetry plugin to trigger a few things on kibana server. I just want to make sure we are still able to do this if we go ahead with this change |
Hum, I'm not sure everyone is aware of the implications of the requested change/fix.
These two points are (probably) the very reason why we went with this 'foot component' hack in the first place. Registering the telemetry section as we do with the real settings (
Let's be realistic here, this is not something that will be done in a matter of hours, of even days.
This question is probably on us. Even if still not reflected in EDIT: This is, if we want to answer this issue's title, But this wouldn't solve the accessibility issue (#56566) @flash1293 linked in #56498 (comment) |
FWIW, this is not a hard requirement in the I'm more concerned about the |
Yea, global-scoped uiSettings and on-change server-side hooks are both features that would make sense. May be hard to justify implementing them just for 'some tech debt' though 😞 . If on update hooks should be fairly simple, global-scoped uiSettings are a whole other story, given we need to change all the uiSettings client to aggregate the scoped and unscoped settings (that will have to be 2 distinct SO types and objects by nature) |
We could probably create an internal Shared SO across spaces for those global-scoped uiSettings 😇 |
Or just use a namespace-agnostic SO type, seems more appropriate tbh! |
Given global settings support is now available, any chance of moving this to be a "regular" uiSetting? |
Having global UI settings moved us forward, as we have a way to store the telemetry settings. However it's not sufficient, as we still need some kind of hook to react to the change of the setting (see this comment and that one) |
The translation issue was fixed in #158669. However, the accessibility issue and the fact that we show "No results" but show the section when searching any of the terms is still there. Last night, I had a quick look at potentially fixing those while keeping the component as a footer, and I don't think we can fix it that way: it works when the Global settings tab is open but not on the Space-aware settings (simply because on the latter, the component is not mounted yet, so the hooks to claim that the search term was found are not evaluated). I think a UI-hook to react to the change should be enough (no need for a server-side hook). IMO, that's simpler to implement, and we could achieve a similar effect. I may try this approach during my spare time later today. |
Not ideal, but if it's easier, it's probably sufficient for this specific case |
We should also look if we can register it in the same way other Advanced Settings are registered (so users can use the Filter by type option as well).
Original content
Describe the feature:
Searching for "telemetry" terms in the advanced settings searchbox are not localized.
When searching advanced settings while using other languages, users must search for the terms in english.
Current searchable terms:
Maybe it is worth implementing this for all advanced settings cc @mattkime @LeeDr
The text was updated successfully, but these errors were encountered: