-
Notifications
You must be signed in to change notification settings - Fork 60
refactor: 💡 [HCPSDKFIORIUIKIT-2679] InfoViewModel #1060
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
Conversation
/// ``` | ||
// sourcery: CompositeComponent | ||
protocol _InfoViewComponent: _TitleComponent, _DescriptionTextComponent, _ActionComponent, _SecondaryActionComponent { | ||
var loadingIndicator: LoadingIndicator? { get set } |
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.
Should this property be a view builder so that developers can customize it?
I think we should provide a default indicator as well.
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.
I have updated the code based on all the suggestions and added UT. Thank you all @billzhou0223 @dyongxu @janhuachu
Sources/FioriSwiftUICore/_ComponentProtocols/CompositeComponentProtocols.swift
Outdated
Show resolved
Hide resolved
Sources/FioriSwiftUICore/_ComponentProtocols/CompositeComponentProtocols.swift
Show resolved
Hide resolved
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.
API doc update
@leoxiao-sap Pls add unit test as well |
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.
Need to resolve conflict to merge latest main codeline
Done, thanks |
refactor: 💡 [HCPSDKFIORIUIKIT-2679] InfoViewModel #
@billzhou0223 Pls review again if your comments are addressed |
dev results:


