Skip to content

Don't remove nested option group titles#592

Merged
natecook1000 merged 1 commit into
apple:mainfrom
natecook1000:nested_optiongroup_titles
Nov 5, 2023
Merged

Don't remove nested option group titles#592
natecook1000 merged 1 commit into
apple:mainfrom
natecook1000:nested_optiongroup_titles

Conversation

@natecook1000
Copy link
Copy Markdown
Member

When option groups are nested, any titles of the nested groups are removed, even when the containing group doesn't have a title. This change preserves the nested groups' titles when grouped in an untitled option group. Nesting within a titled option group continues to override any nested option groups.

Fixes #585.

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

When option groups are nested, any titles of the nested groups are
removed, even when the containing group doesn't have a title. This
change preserves the nested groups' titles when grouped in an
untitled option group. Nesting within a titled option group continues
to override any nested option groups.

Fixes apple#585.
@natecook1000
Copy link
Copy Markdown
Member Author

@swift-ci Please test

Copy link
Copy Markdown
Collaborator

@rauhul rauhul left a comment

Choose a reason for hiding this comment

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

🥳

@natecook1000 natecook1000 merged commit c5967d4 into apple:main Nov 5, 2023
@natecook1000 natecook1000 deleted the nested_optiongroup_titles branch November 7, 2023 20:23
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.

Nested option groups don't show titles/organization in help text

2 participants