-
Notifications
You must be signed in to change notification settings - Fork 59
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
refactor: 💡 [HCPSDKFIORIUIKIT-2891]FilterFeedbackBar refactor #986
Merged
dyongxu
merged 4 commits into
SAP:main
from
restaurantt:main-HCPSDKFIORIUIKIT-2891-FilterFeedbackBarModel
Feb 20, 2025
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
9a2143c
refactor: 💡 [HCPSDKFIORIUIKIT-2891]FilterFeedbackBar refactor
restaurantt 3393d44
Merge branch 'main' of https://github.com/restaurantt/cloud-sdk-ios-f…
restaurantt 52ddffd
refactor: 💡 [HCPSDKFIORIUIKIT-2891]FilterFeedbackBar refactor
restaurantt ca86712
Merge branch 'main' into main-HCPSDKFIORIUIKIT-2891-FilterFeedbackBar…
restaurantt 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -516,7 +516,7 @@ public protocol _StepProgressIndicatorModel: AnyObject { | |
public protocol StepProgressIndicatorModel {} | ||
|
||
// sourcery: generated_component_composite | ||
public protocol FilterFeedbackBarModel: AnyObject { | ||
public protocol _FilterFeedbackBarModel: AnyObject { | ||
// sourcery: bindingProperty | ||
// sourcery: backingComponent=_SortFilterMenuItemContainer | ||
var items: [[SortFilterItem]] { get set } | ||
|
@@ -526,6 +526,9 @@ public protocol FilterFeedbackBarModel: AnyObject { | |
var onUpdate: (() -> Void)? { get set } | ||
} | ||
|
||
@available(*, unavailable, renamed: "_FilterFeedbackBarModel", message: "Will be removed in the future release. Please use FilterFeedbackBar instead.") | ||
public protocol FilterFeedbackBarModel {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing Docs Violation: public declarations should be documented. (missing_docs) |
||
|
||
// sourcery: virtualPropActionHelper = "@StateObject var context: SortFilterContext = SortFilterContext()" | ||
// sourcery: add_env_props = "dismiss" | ||
// sourcery: generated_component_composite | ||
|
@@ -556,7 +559,7 @@ public protocol _SortFilterViewModel: AnyObject, TitleComponent { | |
@available(*, unavailable, renamed: "_SortFilterViewModel", message: "Will be removed in the future release. Please use SortFilterView instead.") | ||
public protocol SortFilterViewModel {} | ||
|
||
// sourcery: add_env_props = "filterFeedbackBarStyle" | ||
// sourcery: add_env_props = "_filterFeedbackBarStyle" | ||
// sourcery: virtualPropActionHelper = "@StateObject var context: SortFilterContext = SortFilterContext()" | ||
// sourcery: generated_component_composite | ||
public protocol _FilterFeedbackBarItemModel: LeftIconComponent, TitleComponent, RightIconComponent { | ||
|
@@ -577,7 +580,7 @@ public protocol _FilterFeedbackBarButtonModel: LeftIconComponent, TitleComponent | |
@available(*, unavailable, renamed: "_FilterFeedbackBarButtonModel", message: "Will be removed in the future release. Please use FilterFeedbackBarButton instead.") | ||
public protocol FilterFeedbackBarButtonModel {} | ||
|
||
// sourcery: add_env_props = "filterFeedbackBarStyle" | ||
// sourcery: add_env_props = "_filterFeedbackBarStyle" | ||
// sourcery: generated_component_not_configurable | ||
// sourcery: virtualPropHeight = "@State var _height: CGFloat = 0" | ||
// sourcery: virtualPropUpdateSearchListPickerHeight = "var updateSearchListPickerHeight: ((CGFloat) -> ())? = nil" | ||
|
@@ -592,7 +595,7 @@ public protocol OptionListPickerItemModel: OptionListPickerComponent { | |
var onTap: ((_ index: Int) -> Void)? { get } | ||
} | ||
|
||
// sourcery: add_env_props = "filterFeedbackBarStyle" | ||
// sourcery: add_env_props = "_filterFeedbackBarStyle" | ||
// sourcery: generated_component_not_configurable | ||
// sourcery: virtualPropHeight = "@State var _height: CGFloat = 44" | ||
// sourcery: virtualPropSearchText = "@State var _searchText: String = """ | ||
|
@@ -614,14 +617,14 @@ public protocol SearchListPickerItemModel: OptionListPickerComponent { | |
var onTap: ((_ index: Int) -> Void)? { get } | ||
} | ||
|
||
// sourcery: add_env_props = "filterFeedbackBarStyle" | ||
// sourcery: add_env_props = "_filterFeedbackBarStyle" | ||
// sourcery: generated_component_not_configurable | ||
// sourcery: add_env_props = "fioriToggleStyle" | ||
public protocol _SwitchPickerItemModel: SwitchPickerComponent {} | ||
|
||
@available(*, unavailable, renamed: "_SwitchPickerItemModel", message: "Will be removed in the future release. Please create SwitchView with other initializers instead.") | ||
public protocol SwitchPickerItemModel {} | ||
|
||
// sourcery: add_env_props = "filterFeedbackBarStyle" | ||
// sourcery: add_env_props = "_filterFeedbackBarStyle" | ||
// sourcery: generated_component_not_configurable | ||
public protocol SliderPickerItemModel: SliderPickerComponent {} |
This file contains 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 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 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 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.
Missing Docs Violation: public declarations should be documented. (missing_docs)