-
Notifications
You must be signed in to change notification settings - Fork 57
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: 🎸 [JIRA: HCPSDKFIORIUIKIT-1940] profile header #731
Conversation
xiaoyu0722
commented
Jul 1, 2024
static | animatable |
---|---|
Apps/Examples/Examples/FioriSwiftUICore/ProfileHeader/ProfileHeaderAnimatableExample.swift
Outdated
Show resolved
Hide resolved
// sourcery: @Binding | ||
// sourcery: defaultValue = .constant(0) | ||
/// A binding float for transition of profile header. Value should be in range of 0 to 1. Default value is 0. | ||
var transitionProgress: CGFloat { get } |
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.
Is it possible to not expose progress and handle it internally in SDK? It adds additional effort to developers of using this component.
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.
Like swiftui-introspect to get the offset of its superview to calculate the progress?
Apps/Examples/Examples/FioriSwiftUICore/ProfileHeader/ProfileHeaderAnimatableExample.swift
Outdated
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.
"right to left" layout to be supported
accessibility voice over support to be added
@xiaoyu0722 Looks like some other PR has checked in some generated files, causing your merge conflict. Need to pull latest main to resolve conflict. |
8d84870
to
cec4453
Compare
Hi @billzhou0223 , need review again. |