Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature: support custom folder icons in file-tree

Đang mở
#1,069 0 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by locating the file-tree implementation and reading how custom file icons are currently supported. Then trace how folder names and open/closed state are represented in the tree. Done means users can provide custom folder icons, including name-specific and open/closed variants.

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

Mô tả

enhancement
Prerequisites
Proposal

The ability to have custom folder icons the same way we can modify file icons in the file-tree. Including the ability to have custom folder icons based on folder names, as well as state between "open" and "closed" folders since some icon packs support different designs based on such.

Motivation and context

Many projects of mine which have used the file tree have custom file icons, and I've found that the default chevron style folder/directory doesn't match the style and design of the file tree very well at all.

To provide an example:

Image

I'm using material icons here, and it would look great if the chevrons were indevidual folder icons instead.

Here's an example if it did: (from better-hub.com)

Image
Ngôn ngữ chính
TypeScript
Star
6.2k
Fork
226
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
34

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 pierrecomputer/pierre

Tất cả issue của pierrecomputer/pierre

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.