I currently have dashboard showing health of production as whole and all specific services. But it takes a lot of unnecessary time to get to specific service.
I tried to solve this issue by adding Markdown Tile with html text that includes javascript function to scroll to specific spot on dashboard (on top of page in example):
<html>
<body>
<button onclick="scrollToTop()">
Click to scroll to top
</button>
<script>
function scrollToTop() {
window.scrollTo(0, 0);
}
</script>
</body>
</html>
But this seems to only scroll in this specific tile not whole window.
Only other solution I can think of is creating single dashboard for specific service and travel to them using link option in markdown(but this would create quite lot dashboards...)
My question is if my javascript solution is possible and I used it wrongly or there is different approach how to achieve it.