Skip to content

refactor(date-time-picker): 重构 TDateTimePicker#942

Draft
RSS1102 wants to merge 23 commits into
developfrom
rss1102/refactor/date-time-picker
Draft

refactor(date-time-picker): 重构 TDateTimePicker#942
RSS1102 wants to merge 23 commits into
developfrom
rss1102/refactor/date-time-picker

Conversation

@RSS1102
Copy link
Copy Markdown
Collaborator

@RSS1102 RSS1102 commented May 17, 2026

以 DateTimePickerSnapshot 为单一真相源,基于现有 TPicker 实现 mode 驱动列生成、showWeek 与范围钳制,并补充示例与单测。

🤔 这个 PR 的性质是?

勾选规则:
1.只要有新增参数,就勾选”新特性提交“
2.只修改内部bug,未新增参数,才勾选”日常 bug 修复“
3.其他选项视具体改动判断

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • pr目标分支为develop分支,请勿直接往main分支合并
  • 标题格式为:组件类名: 修改描述(示例:TBottomTabBar: 修复iconText模式,底部溢出2.5像素)
  • ”相关issue“处带上修复的issue链接
  • 相关文档已补充或无须补充

RSS1102 and others added 2 commits May 17, 2026 19:36
以 DateTimePickerSnapshot 为单一真相源,基于现有 TPicker 实现 mode 驱动列生成、showWeek 与范围钳制,并补充示例与单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
@RSS1102 RSS1102 changed the title refactor(date-time-picker): 重构 TDateTimePicker 对齐 mobile-vue mode API refactor(date-time-picker): 重构 TDateTimePicker May 17, 2026
@tencent-adm
Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ RSS1102
❌ autofix-ci[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 17, 2026

完成

📱 APK 下载

tdesign-flutter-0.2.7-612.apk

RSS1102 and others added 17 commits May 28, 2026 15:59
…tialValue handling and expanding available parameters
@RSS1102 RSS1102 force-pushed the rss1102/refactor/date-time-picker branch from 4b7d6c7 to 21d0ba2 Compare May 30, 2026 08:16
移除 fromDateTime/hasAllFields/isCompleteFor,补全文档与测试,修复 filterItems Legacy data 初始化 bug。
@RSS1102 RSS1102 force-pushed the rss1102/refactor/date-time-picker branch from 21d0ba2 to 3d6f71a Compare May 30, 2026 08:16
@RSS1102 RSS1102 marked this pull request as draft May 30, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants