Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new component calendar-card #2694

Merged
merged 28 commits into from
Jan 22, 2024
Merged

feat: new component calendar-card #2694

merged 28 commits into from
Jan 22, 2024

Conversation

eiinu
Copy link
Member

@eiinu eiinu commented Nov 27, 2023

这个 PR 做了什么? (简要描述所做更改)

新组件:CalendarCard
视觉:
image
功能:

  • 按月份切换日期面板
  • 选择单个日期
  • 选择多个日期
  • 选择日期范围
  • 选择周
  • 设置周起始日
  • 自定义日期范围
  • 自定义禁止选择日期
  • 插件:单个日期中、上、下
  • 事件:点击、修改、月份切换

TODO:

  • 选中区间样式
  • 切换面板图标
  • 单元测试
  • 完善文档
  • Taro 版本

这个 PR 是什么类型? (至少选择一个)

  • 新特性提交
  • 日常 bug 修复
  • 站点、文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • TypeScript 定义更新
  • 包体积优化
  • 性能优化
  • 功能增强
  • 国际化改进
  • 代码重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他改动(是关于什么的改动?)

这个 PR 涉及以下平台:

  • NutUI 4.0 H5
  • NutUI 4.0 小程序
  • NutUI 3.0 H5
  • NutUI 3.0 小程序

这个 PR 是否已自测:

@eiinu eiinu marked this pull request as draft November 27, 2023 15:43
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (8599b59) 85.03% compared to head (170c5a7) 85.39%.

Files Patch % Lines
src/packages/__VUE/calendarcard/calendar-card.vue 97.22% 10 Missing ⚠️
src/packages/__VUE/calendarcard/utils.ts 99.26% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v4    #2694      +/-   ##
==========================================
+ Coverage   85.03%   85.39%   +0.36%     
==========================================
  Files         169      173       +4     
  Lines       21265    21866     +601     
  Branches     2423     2536     +113     
==========================================
+ Hits        18082    18672     +590     
- Misses       3166     3177      +11     
  Partials       17       17              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eiinu eiinu added this to the v4.3.0 milestone Dec 14, 2023
@eiinu eiinu merged commit fb69d52 into jdf2e:v4 Jan 22, 2024
5 of 6 checks passed
@eiinu eiinu deleted the feat-calendar-card branch January 22, 2024 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant