Change the behaviour of MonthField range selection
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- frontend
调研方向
首先定位 MonthField 的实现及其范围选择行为。将建议的点击顺序与使用两个 MonthFields 的替代方案进行比较,并验证以四月结束的范围表示的是四月的最后一天,而不是四月 1 日。
由索引模型根据 Issue 内容生成。
描述
Currently, you have to click and hold the mouse down if you want to select the month range.
It confuses the users because they think they should click once for the start of the range, and one more time to select the end of the range.
Would be nice if you could -
- click the first time to select the start of the month range =>
- keep the monthpicker open =>
- click another month to select the end of the range =>
- close the monthpicker.
The other solution is that we create two MonthFields that would act as the beginning and the ending of the month range.
The issue here is that MonthField always selects the beginning of the month. There is no option/property for selecting the last day of the month.
So we end up with the range that shows January-April but actually starts with 1 January and ends with 1 April, instead of 30 April.
- 主要语言
- TypeScript
- 星标
- 492
- 派生
- 71
- 平均合并
- 8 小时 27 分钟
- 30 天内合并 PR
- 6
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codaxy/cxjs 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
feature request
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
polarsource/polar#15580 ·
维护者通常 1 天内回复
-
accepted bug via-triage
难度 2/5 1-3 小时 新手友好度 69/100
pingdotgg/t3code#20931 · 1 条评论 ·
维护者通常 1 天内回复
-
bug/1-unconfirmed kind/bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
-
难度 2/5 1-3 小时 新手友好度 72/100
ranxianglei/billion-context#3583 ·
维护者通常 1 天内回复