[GH-ISSUE #660] 关于注释伸展面板的一点小建议 #7452

Closed
opened 2026-03-12 20:44:09 +03:00 by kerem · 2 comments
Owner

Originally created by @loocao on GitHub (Oct 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/660

并不是每个配置都需要添加注释,但每次点击任何配置,都会伸展一下,个人觉得有点影响使用体验,特别是指令那里~

建议改为按钮点击才展示,可以参考cloudflare的DNS解析注释,没有注释时就显示空,有注释会显示一个注释图标。

Originally created by @loocao on GitHub (Oct 26, 2024). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/660 并不是每个配置都需要添加注释,但每次点击任何配置,都会伸展一下,个人觉得有点影响使用体验,特别是指令那里~ 建议改为按钮点击才展示,可以参考cloudflare的DNS解析注释,没有注释时就显示空,有注释会显示一个注释图标。
kerem 2026-03-12 20:44:09 +03:00
Author
Owner

@0xJacky commented on GitHub (Oct 26, 2024):

确实

<!-- gh-comment-id:2439332214 --> @0xJacky commented on GitHub (Oct 26, 2024): 确实
Author
Owner

@0xJacky commented on GitHub (Jan 9, 2025):

一直没有想到合适的方案,直到今天。599aaf49

Hover / non-Hover

image

Click to open or close the expanded panel of comments

image

You can open more than one panel at a time
image

<!-- gh-comment-id:2579111536 --> @0xJacky commented on GitHub (Jan 9, 2025): 一直没有想到合适的方案,直到今天。599aaf49 Hover / non-Hover <img width="829" alt="image" src="https://github.com/user-attachments/assets/8d695b76-2e86-4783-b4ed-3bb80363efce" /> Click to open or close the expanded panel of comments <img width="805" alt="image" src="https://github.com/user-attachments/assets/4064958b-8b82-4d8f-8883-fd73146ff225" /> You can open more than one panel at a time <img width="805" alt="image" src="https://github.com/user-attachments/assets/88905fd3-6f70-46c6-af5d-a725dbaf1a69" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#7452
No description provided.