allejo / allejo/WebBZEdit

Add filter to our Inventory panel

Đang mở
#36 0 bình luận 0 reaction 1 người được giao Được @Adwitiya-Singh nhận Xem trên GitHub
component/inventory enhancement
Ngôn ngữ chính
TypeScript
Star
11
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Using the `TextField` component add a filter field at the top of the Inventory Panel that will allow users to search and filter objects.

![image](https://user-images.githubusercontent.com/1246453/133726778-c3e0a19f-c417-4994-b864-f20748017d95.png)

## Search Specification

- If you use `type:`, it will filter the obstacles based on the `_objectType` (e.g. `box`, `pyramid`, `teleporter`, etc.)
- There must be no space after `:`
- Any other keywords should be a "fuzzy" search. If I search for `red team` it should search for obstacle names (not IDs) for either `red` or `team`.
- Whenever there is a query in the search, the list of obstacles should only display the obstacles that match the query

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.