patternfly / patternfly/react-data-view

Enhancement: DataViewTreeViewFilter

未关闭
#643 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
4
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

We've recently started using the DataViewTreeViewFilter in our app and it would be great if the following enhancements could be made to the filter:

  • Include the option (a prop) for the tree menu not to close immediately after user selection. For example, the DataViewCheckboxFilter stays open after user selection

  • Include the option to pass a custom aria-label prop into DataViewTreeViewFilter

  • Include the option to provide placeholder prop, similarly as it can be provided for the DataViewCheckboxFilter

Many thanks!


Jira Issue: PF-4066

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 DataViewTreeViewFilter,并将其行为和 props 与 DataViewCheckboxFilter 进行比较。实现以下选项:选择后保持树形菜单打开、传入自定义 aria-label,以及提供 placeholder;当这三个选项都按描述正常工作时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
accessibility, frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。