Skip to content

feat: 🎸 [HCPSDKFIORIUIKIT-2999] tool bar buttons update #1229

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xiaoyu0722
Copy link
Contributor

Update to fixed size for buttons in navigation bar.

feedback sort & filter W.A.
Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 25 45 Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 25 45 Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 26 17
Welcome EULA User Consent
Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 26 32 Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 26 40 Simulator Screenshot - iPhone 16 Pro Max - 2025-08-22 at 16 26 48

Update to fixed size for buttons in navigation bar.
@xiaoyu0722 xiaoyu0722 requested a review from a team as a code owner August 22, 2025 08:50
@xiaoyu0722 xiaoyu0722 requested review from billzhou0223 and removed request for a team August 22, 2025 08:50
let config = FioriButtonConfiguration(foregroundColor: foregroundColor,
backgroundColor: Color.clear,
font: .fiori(forTextStyle: .body, weight: .semibold),
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

let config = FioriButtonConfiguration(foregroundColor: foregroundColor,
backgroundColor: Color.clear,
font: .fiori(forTextStyle: .body, weight: .semibold),
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

let config = FioriButtonConfiguration(foregroundColor: foregroundColor,
backgroundColor: Color.clear,
font: .fiori(forTextStyle: .body, weight: .semibold),
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma Spacing Violation: There should be no space before and one after any comma. (comma)

let config = FioriButtonConfiguration(foregroundColor: foregroundColor,
backgroundColor: Color.clear,
font: .fiori(forTextStyle: .body, weight: .semibold),
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0))

Copy link
Contributor

@dyongxu dyongxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build failed with error msg:
❌ /Users/runner/work/cloud-sdk-ios-fiori/cloud-sdk-ios-fiori/Sources/FioriSwiftUICore/FioriButton/FioriButtonStyle.swift:262:111: unexpected ',' separator
padding: EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0),)
^
Testing failed:
Unexpected ',' separator
Command SwiftCompile failed with a nonzero exit code
Testing cancelled because the build failed.
** TEST FAILED **

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