GitHub user yunfan24 added a comment to the discussion: Discussion on 
displaying navigation bar categories

> I think a new function could be written to push the monitor type to the left 
> menu when the user adds the first monitor of some kind. I don't think this 
> would consume a lot of time for the user, as there is no bulk import involved 
> that would trigger this function. And I think when the user is adding some 
> kind of monitor, he must want to show the category of this monitor directly 
> on the left side, otherwise the user's action is unnecessary. Manually hiding 
> it is something that can be done as part of the tutorial if the user wants to 
> hide 
> it.我认为可以编写一个新功能,当用户添加某种类型的第一个显示器时,将显示器类型推送到左侧菜单。我认为这不会占用用户太多时间,因为没有涉及触发此功能的批量导入。而且我认为当用户添加某种显示器时,他肯定希望直接在左侧显示该显示器的类别,否则用户的行为就变得没有必要了。如果用户想要隐藏它,可以在教程中作为一部�
 ��动隐藏。

How about this solution:  

Add a form item in the new monitoring interface to allow users to choose 
whether to add this type to the left-side navigation for quick access when 
creating a new entry. Also, provide a prompt indicating that this can be 
enabled or disabled in the monitoring template definition interface.  

Then, implement the logic to check when a user adds the first monitor of a 
certain type—at that point, push the monitor type to the left-side menu.  

Just like the example below (ignore the misaligned styling).

![image](https://github.com/user-attachments/assets/fdd2072b-2707-4248-bb04-73c419868a44)


GitHub link: 
https://github.com/apache/hertzbeat/discussions/3074#discussioncomment-12189889

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to