Skip to content

Add DocC and docs tooling support#4

Merged
andywkff merged 7 commits into
mainfrom
codex/docc-tooling-support
Apr 15, 2026
Merged

Add DocC and docs tooling support#4
andywkff merged 7 commits into
mainfrom
codex/docc-tooling-support

Conversation

@andywkff
Copy link
Copy Markdown
Contributor

Summary

  • add a first-party SimpleChart.docc catalog and an editor support guide for Xcode/sourcekit-lsp users
  • expand Quick Help on the zoom/navigation surface and link the new docs from the main onboarding docs
  • add a macOS GitHub Actions docbuild workflow so package documentation stays healthy in CI

Verification

  • swift build
  • swift test
  • xcodebuild docbuild -scheme SimpleChart -destination 'platform=macOS' -derivedDataPath .build/DerivedData CODE_SIGNING_ALLOWED=NO

Pull request created by Codex.

Expand IDE-native package documentation with a SimpleChart DocC catalog, editor support guidance, and richer Quick Help on the zoom/navigation surface.

Verification: swift build; swift test; xcodebuild docbuild -scheme SimpleChart -destination 'platform=macOS' -derivedDataPath .build/DerivedData CODE_SIGNING_ALLOWED=NO

Committed by Codex.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 01fad0e330

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/SimpleChart/Native/Charts/SCScrollableCharts.swift
Comment thread Sources/SimpleChart/Native/Charts/SCScrollableCharts.swift Outdated
Skip the Chart3D-only wrapper layer when the compiler is older than the toolchain that ships those APIs, so GitHub Actions docbuild on Xcode 16.4 can compile the package.

Verification: swift build; swift test; xcodebuild docbuild -scheme SimpleChart -destination 'platform=macOS' -derivedDataPath .build/DerivedData CODE_SIGNING_ALLOWED=NO

Committed by Codex.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 228884e1ff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/SimpleChart/Native/Charts/SCNative3DCharts.swift Outdated
Comment thread Sources/SimpleChart/Native/Core/SCChartInteraction.swift
@andywkff
Copy link
Copy Markdown
Contributor Author

@codex review

@andywkff andywkff merged commit 73fb1d1 into main Apr 15, 2026
1 check passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6432d7d28c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

allowsSelection: Bool = true,
allowsScrolling: Bool = true
allowsScrolling: Bool = true,
allowsZooming: Bool = true
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve legacy gesture defaults in two-argument initializer

SCChartGestureConfiguration previously had only allowsSelection and allowsScrolling, so existing call sites like SCChartGestureConfiguration(allowsSelection: true, allowsScrolling: false) now compile but silently set allowsZooming to true because of this default. That changes runtime behavior for pre-existing code by enabling pinch handling where zoom was never requested, and it conflicts with the new decoder logic that explicitly infers missing allowsZooming from allowsScrolling for backward compatibility. Consider making the source-level default follow allowsScrolling (or adding a compatibility overload) to avoid this regression.

Useful? React with 👍 / 👎.

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.

1 participant