Allow users to customize sidebar visibility

Đang mở
#5,987 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
nextjs, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

This is a design proposal, and the payload names no files, tests or entry points for the sidebar. Start by reading the linked discussions #5946, #5280 and #5650 and the one existing comment to see what maintainers have already said about scope. The first step is a maintainer agreement on whether a browser-local, opt-out sidebar preference is wanted, not a patch. Done means that scope is confirmed in the thread.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
What problem will this feature address?

The sidebar contains many entries that are useful to some users but rarely or never used by others. On a personal self-hosted instance, this adds visual clutter and makes everyday navigation harder to scan.

For example, I would like to hide Monitoring from my sidebar because I do not use it, without disabling the feature for everyone or changing permissions.

Describe the solution you'd like

Add an optional, per-user sidebar customization control:

  • Keep all currently available entries visible by default.
  • Provide a "Customize sidebar" action with checkboxes to show or hide optional navigation entries.
  • Keep hidden pages accessible through global search and direct URLs, subject to the existing permissions.
  • Provide an easy-to-find "Restore defaults" action and keep the customization control accessible even after entries have been hidden.
  • Remember the preference between visits. A browser-local preference would be a reasonable minimal first implementation; account-level synchronization could be discussed separately.

This is strictly a navigation preference: hiding an entry must not disable its feature, stop monitoring collection, change permissions, or hide it from other users. It should be available to community self-hosted users, not only as an Enterprise whitelabeling control.

Describe alternatives you've considered
  • Grouping or collapsing sidebar sections, as discussed in #5946. This improves organization but does not let users remove entries they never use from their everyday navigation.
  • Using permissions to hide entries. Permissions should control access, not personal navigation preferences, particularly for the instance owner.
  • Custom CSS or a browser userscript, which is fragile and not discoverable.
Additional context

Related discussions:

  • #5946: grouping Settings into categories.
  • #5280: hiding Enterprise features by default, which raised concerns about discoverability.
  • #5650: Enterprise visibility controls for specific links and sign-in options.

This proposal differs from hiding features by default: visibility would be unchanged until a user explicitly opts out of individual sidebar entries. Global search, direct URLs and a restore action would preserve access and make the choice reversible.

Will you send a PR to implement it?

Yes — I'd like to confirm whether maintainers welcome this direction and agree on the scope before starting implementation.

Ngôn ngữ chính
TypeScript
Star
38.8k
Fork
3.2k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
110

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dokploy/dokploy

Tất cả issue của Dokploy/dokploy

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.