hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

Feature/custom define help link

Open XimfengYao opened this issue 1 year ago • 2 comments

What's changed?

feature: 通过配置yaml文件中的help参数自定义监控页面右上角帮助链接,

Checklist

  • [ ] I have read the Contributing Guide
  • [ ] I have written the necessary doc or comment.
  • [ ] I have added the necessary unit tests and all cases have passed.

XimfengYao avatar Aug 11 '23 10:08 XimfengYao

hi 感谢PR👍 不过监控模版里面的help字段已经被设计占用了,我们是设计把它用来做帮助文档提示 https://github.com/dromara/hertzbeat/pull/1160/files#diff-7d814e7f3f605ee47c316d1416ba0e408f70b828a0b64fe3d912f0584ad1221a

image image

感觉我们可以等那个PR merge之后 在它的基础上再加上link,如下。前端就兼容下如果没有对应link就默认原来写死的那个咋样

name:
  zh-CN: 模拟应用
  en-US: EXAMPLE APP
# The description and help of this monitoring type
# 监控类型的帮助描述信息
help:
  zh-CN: PING连通性 - Hertzbeat 支持您使用在线配置对端服务的IP或域名地址,监控本机网络与对端网络的PING可连通性。
  en-US: PING CONNECT - You can use the IP address or domain address of the peer service to monitor the PING connectivity between the local network and the peer network.
  link: https://hertzbeat.com/docs/help/guide

👍

tomsun28 avatar Aug 12 '23 07:08 tomsun28

后续进行调整

Reference in new

XimfengYao avatar Aug 15 '23 02:08 XimfengYao