Skip to content

fix: 🐛 IOSSDKBUG-430 Fiori FilterFeedbackBar enhancement #853

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 4 commits into from
Nov 1, 2024

Conversation

xiaoqinggrace
Copy link
Collaborator

@xiaoqinggrace xiaoqinggrace commented Oct 31, 2024

Feature change request for showing the label when there is a single item selected.
Based on the requirement, change the showsValueForSingleSelected to singleSelectedMode. This will allow the Filter Feedback Bar label to show the name, value, or name and value when a single item is selected.
In the following screenshot, the 2nd, 3rd, and 4th cells are set as show name, show value, and show name and value.
fixedFilterFeedbackBar

Feature change request for showing the label when there is a single item
selected.
@xiaoqinggrace xiaoqinggrace requested a review from a team as a code owner October 31, 2024 18:41
@xiaoqinggrace xiaoqinggrace requested review from billzhou0223 and removed request for a team October 31, 2024 18:41
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.

  1. Comments inlined
  2. May need to add some doc what is the default behavior regarding single value selection mode. I assume the default is "NameAndValue", sth like "To-Do(1)

/// Enum for display mode of the FilterFeedbackBar item when only one value is selected for that item.
/// This is effective, regardless of that item allowing multiple selection or not
/// The default value is `.name`.
public enum BarItemDisplayMode {
Copy link

Choose a reason for hiding this comment

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

Nesting Violation: Types should be nested at most 1 level deep (nesting)

@xiaoqinggrace xiaoqinggrace merged commit 1efd5d8 into SAP:main Nov 1, 2024
12 checks passed
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.

4 participants