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 Request]: Full support for custom operators in PropertyFilter component

Đang mở
#3,603 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 2 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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reading the PropertyFilter API and the component's operator-dropdown implementation and tests to understand how built-in operators are supplied and rendered. Identify how custom operators are represented in the API and what UI behavior is expected for displaying and selecting them. Done means custom operators defined through the API can be viewed and selected in the UI, with tests covering that behavior.

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

Mô tả

enhancement
Description

Description:
While the PropertyFilter component allows specifying a custom operator in the API, there is currently no proper support for displaying custom operators in the UI. Only the built-in operators (<, <=, >, >=, :, !:, =, !=, ^) are shown in the operator dropdown, and custom operators are not visible or selectable by users.

Use case:
We have a requirement to use custom filter operators (for example, "contains any", "matches regex", or domain-specific operators) in the PropertyFilter. Although the API technically allows specifying a custom operator, it is not possible for users to select or view these custom operators in the UI, which limits the usefulness of this feature.

Benefit:
Adding full UI support for custom operators would make the PropertyFilter component much more flexible and allow developers to provide a better filtering experience tailored to their application's needs.

Request:
Please add support for displaying and selecting custom operators in the PropertyFilter UI, so that any operator defined in the API can be used seamlessly by end users.

Code of Conduct
Ngôn ngữ chính
TypeScript
Star
2.7k
Fork
248
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
83

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 cloudscape-design/components

Tất cả issue của cloudscape-design/components

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.