-
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
[Core deprecations service] Markdown support #111068
Comments
Pinging @elastic/kibana-core (Team:Core) |
Don't know about the manual steps, but at least the A option would be to add optional Wonder if it's worth the complexity though? |
@pgayvallet I'm afraid if we add Creating subfields might be a more flexible here as maybe not all steps need to be in markdown hence we dont need to duplicate steps between fields:
My personal suggestion is to think about introducing a markdown function that takes a text and allows only a subset of markdown to be used (bold, underline, hyperlinks, italic). Basic markdown can be easily stripped back into plain text if needed.
Just psuedo code but i'm sure there are some functions that already exist in the wild for this that we can adopt or just introducing our own. This tool might get adoption by other services (notification center comes to mind) |
It would be great if Links to other apps within Kibana would be supported in the manual instructions. APM is planning on registering a deprecation pointing to a UI flow within the APM app for fixing the deprecation. |
fyi: This is needed for #113567 scheduled for 7.16 |
What if the deprecation owner uses markdown syntax outside of this subset? We keep it unchanged? We strip it to plain text?
Yea, I think most markdown libraries supports passing an allowlist of syntax nodes.
If this markdown subset officially becomes a supported feature of the deprecations api, we'll probably want something integrated in a more elegant way. We'd probably want the deprecation client's e.g const [deprecation] = await client.getAllDeprecations();
deprecation.title // error - private
deprecation.getTitle('plainText');
deprecation.getTitle('markdown'); |
@cjcenizal As we were not able to get this enhancement in for 7.16 FF, do you think we should still keep it open as a future enhancement for Upgrade Assistant? Or do you think we will want to solve the problem differently for the next release? |
@lukeelmers Can we keep this open for now, until we've had a cycle to think through the functionality we need for UA post-7.16? I expect we'll reconsider this proposed functionality and decide whether or not we need it. |
Just wanted to check in, is this something that might be done for 8.0 FF? |
|
No activity on the issue for years, and knowing that this was initially meant for 8.0, I'll assume we don't need it anymore and will close. |
It'd be helpful if the core deprecations service supported markdown when defining a deprecation's message and manual steps. This would improve the UX in Upgrade Assistant, by allowing deprecations to render with bold and code formatting, as well as active links.
Example:
The text was updated successfully, but these errors were encountered: