Skip to content

feat(#4253): render html content that is returned in info / health endpoint#4708

Merged
SteKoe merged 2 commits into
masterfrom
feat/4253-render-safe-html-from-backend
Oct 10, 2025
Merged

feat(#4253): render html content that is returned in info / health endpoint#4708
SteKoe merged 2 commits into
masterfrom
feat/4253-render-safe-html-from-backend

Conversation

@SteKoe

@SteKoe SteKoe commented Sep 30, 2025

Copy link
Copy Markdown
Contributor
Bildschirmfoto 2025-09-30 um 16 21 22

@SteKoe SteKoe requested a review from a team as a code owner September 30, 2025 14:22
@SteKoe SteKoe force-pushed the feat/4253-render-safe-html-from-backend branch 3 times, most recently from f54a1eb to 9766301 Compare September 30, 2025 14:40
@cdprete

cdprete commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

Nice @SteKoe.

Is the JSON returned by an info indicator scanned fully for it or are there some sort of depth or structure limits?
For example:

  • links are searched only up to 2 nested levels
  • links are only searched in objects and not arrays

Also, the links are updated any time the info are fetched, right?
I'm asking this to avoid potential caching issues that may show the old links when the info changed.

In my use case, I've an info contributor that renders a link to a daily and monthly file.
Of course, the daily file changes every day while the monthly one only once a month when it gets generated.

@SteKoe SteKoe force-pushed the feat/4253-render-safe-html-from-backend branch from 9766301 to b7f2bf0 Compare October 10, 2025 05:54
@SteKoe

SteKoe commented Oct 10, 2025

Copy link
Copy Markdown
Contributor Author

Hi!

some sort of depth or structure limits?
No limits.

Also, the links are updated any time the info are fetched, right?
SBA does not cache on its own. So whenever the info changes, the links should update, too.

@cdprete

cdprete commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Hi!

some sort of depth or structure limits?
No limits.

Also, the links are updated any time the info are fetched, right?
SBA does not cache on its own. So whenever the info changes, the links should update, too.

Thanks for confirming these.

@SteKoe SteKoe merged commit 7a15223 into master Oct 10, 2025
2 checks passed
@SteKoe SteKoe deleted the feat/4253-render-safe-html-from-backend branch October 10, 2025 08:13
@cdprete

cdprete commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Hello @SteKoe.
I updated my DEV and QA environments to 3.5.6, but it seems like the autolink feature is not working, at least for the health indicators. For example:
image
is rendered as plain text, but now the service-url overwrite that comes from the metadata gets rendered as a link automatically:
image
So, I wonder how the feature should then really work...

@cdprete

cdprete commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Hi @SteKoe.
For some reason, it seems to not be working in the health part. See below:
image
The <a> tag gets rendered as it is instead of being rendered as a link.

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.

2 participants