chore(docs): TDF page cleanup — Setup rename, example placement, DEK link - #279
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 16 minutes and 51 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 WalkthroughWalkthroughChanges standardize JavaScript tab labels across code sample documentation files (changing "TypeScript" to "JavaScript"), reorganize SDK documentation sidebar ordering, and restructure the TDF documentation by relocating Returns/Errors sections and updating introductory content. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request focuses on documentation consistency and structural improvements. Key changes include renaming "TypeScript" tab labels to "JavaScript" across various code samples, reordering sidebar positions for SDK documentation, and restructuring the TDF documentation to move return and error specifications after the code examples. Feedback identifies a terminology error in the Go error documentation and suggests populating an empty JavaScript code block for entitlements to improve documentation completeness.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/sdks/tdf.mdx`:
- Line 1217: The link target "/spec/protocol" in the sentence "Every assertion
is bound to the TDF's [data encryption key (DEK)](/spec/protocol) by default..."
is broken; locate that exact link text and either replace the href with the
external Trusted Data Format spec URL (https://github.com/opentdf/spec) or
remove the markdown link markup so "data encryption key (DEK)" remains plain
text; ensure the surrounding sentence remains unchanged and that the updated
link points to a valid resource.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a459e92b-61aa-4ab5-8bac-0746609a9d96
📒 Files selected for processing (16)
code_samples/authorization/get_decision.mdxcode_samples/authorization/get_entitlements.mdxcode_samples/policy_code/create_attribute.mdxcode_samples/policy_code/create_namespace.mdxcode_samples/policy_code/create_subject_condition_set.mdxcode_samples/policy_code/create_subject_mapping.mdxcode_samples/policy_code/list_attributes.mdxcode_samples/policy_code/list_namespaces.mdxcode_samples/policy_code/list_subject_mapping.mdxdocs/sdks/authentication.mdxdocs/sdks/authorization.mdxdocs/sdks/discovery.mdxdocs/sdks/platform-client.mdxdocs/sdks/quickstart/_category_.jsondocs/sdks/tdf.mdxdocs/sdks/troubleshooting.mdx
|
📄 Preview deployed to https://opentdf-docs-pr-279.surge.sh |
76903eb to
d20adb8
Compare
…link (#274) - Rename Quick Start to Setup for consistency with other SDK pages - Move usage examples after Parameters (before Returns/Errors) for CreateTDF, LoadTDF, IsValidTdf, and BulkDecrypt - Link DEK reference to protocol spec on assertions page Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d20adb8 to
fe46687
Compare
Gemini review caught that the Go error table referenced Java's `out` parameter instead of Go's `writer`. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TDF operations use the core SDK client, not the PlatformClient. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Part of #274 (task 2)
preview: https://opentdf-docs-pr-279.surge.sh/sdks/tdf
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit