Skip to content

Implements some simple LabeledContent showcases#98

Merged
marcprux merged 2 commits into
skiptools:mainfrom
chbeer:labeledcontent
May 14, 2026
Merged

Implements some simple LabeledContent showcases#98
marcprux merged 2 commits into
skiptools:mainfrom
chbeer:labeledcontent

Conversation

@chbeer
Copy link
Copy Markdown
Contributor

@chbeer chbeer commented May 8, 2026

Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 8, 2026

Thank you for your pull request and welcome to the Skip community. We require contributors to sign our contributor license agreement (CLA), and we don't seem to have the user(s) @chbeer on file. In order for us to review and merge your code, for each noted user please add your GitHub username to Skip's .clabot file

Copy link
Copy Markdown
Member

@marcprux marcprux left a comment

Choose a reason for hiding this comment

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

Looks good! Just a couple minor changes needed.


struct LabeledContentPlayground: View {
#if os(macOS)
let placement: ToolbarItemPlacement = .automatic
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It doesn't look like placement is used, so you can remove this whole block.

ScrollView {
VStack(spacing: 16) {
LabeledContent("Label", value: "Value")
// LabeledContent("Label", value: 12, format: IntegerFormatStyle.number)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe add a comment that this is unsupported currently, but would make for a good future improvement.

@cla-bot cla-bot Bot added the cla-signed label May 9, 2026
@marcprux marcprux merged commit c42b1dc into skiptools:main May 14, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants