-
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
Add _xpack endpoint options in the Console UI #17907
Comments
Original comment by @ycombinator: At the moment there is no good way for plugins to, well, plug in additional API endpoints into Console. So some changes will need to be made to the Console core code first. |
Original comment by @skearns64: When we do this, we should include Watcher API stuff, too. I wonder if there would be any issues simply adding these to the OSS knowledge base (the database of typeahead things)? I agree that pluggability is probably best, so x-pack and other things in the future can add their own items to the KB, but I would imagine it makes things a bit more complex. |
Original comment by @ycombinator:
I think it would result in a (mildly) bad UX if a user could typeahead an API call but then get an error back because that API endpoint doesn't actually exist. Also, since anyone can create plugins, where would we draw the line on which plugins' APIs are included in Console autocomplete vs. not? It would appear that we are drawing the line at plugins authored by Elastic; could this be perceived negatively by the OSS community? |
Original comment by @skearns64: Both are good points! I revoke my question :) |
Original comment by @skearns64: I'd like to revisit this, now that we're building the Watcher UI, which would really benefit from this kind of typeahead support. There is a PR that was opened against Sense (elastic/sense#95) to add this support. cc @epixa @kevinkluge @jbudz @tylersmalley - Do we still feel that the Console knowledge base should not contain typeahead support for Watcher, and that we would need to build in extensibility to Console before adding this sort of capability? |
Original comment by @epixa: Yeah, we really need to make console pluginable in order to support plugin APIs like those provided by xpack. |
Original comment by @elasticmachine:
Blocked by LINK REDACTED
Original comment by @bohyun-e:
from discuss: https://discuss.elastic.co/t/add-xpack-endpoint-options-in-console/57877
The text was updated successfully, but these errors were encountered: