Repository navigation
feat: 剪贴板写入、BottomSheet、Divider、按时区格式化日期(0.10.0) #32
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6b6cdda
feat: 剪贴板写入、BottomSheet、按时区格式化日期
HarlonWang 00f7e9c
feat(compose): 内置 Divider,对应 M3 HorizontalDivider
HarlonWang 3834989
fix: 系统时区在页面回到前台时重读,formatDate 拒绝超出 Date 范围的时间
HarlonWang a95350e
chore: 版本号 0.10.0
HarlonWang 5ca577d
fix(native): formatDate 先校验是数字,再校验 Date 范围
HarlonWang dd38d6f
docs: 能力来源改为中性描述,示例单号不带业务前缀
HarlonWang a89a56a
docs(updates-plan): 外部用户改为中性描述
HarlonWang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[建议]
timeZone被插入到locale与session之间,删除了旧的TinyUIHost构造函数签名。已有宿主若使用位置参数会把SessionSource传到StateFlow<String>?位置而无法编译;已编译的客户端也找不到旧 ABI 对应的构造函数。应保留一个参数顺序完全一致的旧构造函数(委托给新构造函数并传入timeZone = null),或至少将新参数追加到末尾并保留旧 ABI 重载。There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
保持现状,不加旧签名重载、也不挪到末尾:
components/sink之后全部是具名参数;locale之后的参数全有默认值且类型各异,按位置传到第五个以上的写法本就不推荐,文档(native-api §1)的示例也是具名HostServices先例),本 PR 发版时走 minor;timeZone放在locale旁边是为了 i18n 两个参数相邻🤖 Generated with Claude Code