Repository navigation
feat: Add ai/python federated content and data - #48043
jeremenichelli merged 1 commit into
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughAdds Python federated documentation source configuration and serves its content through a catch-all AI/Python guide route with shared markdown fetching, metadata, and static parameter generation. ChangesPython federated guides
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant GuideRoute
participant getGuidesMarkdown
participant GuideTemplate
GuideRoute->>getGuidesMarkdown: fetch AI/Python markdown
getGuidesMarkdown-->>GuideRoute: return guide content and metadata
GuideRoute->>GuideTemplate: render guide content
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
czenko
left a comment
There was a problem hiding this comment.
Followed the testing instructions but found that it's not accurate and probably copied from another PR.
This PR actually touches the following routes, which I will test:
- /guides/ai/python-clients
- /guides/ai/python/api
- /guides/ai/python/collections
- /guides/ai/python/indexes
- /guides/ai/python/metadata
- /guides/ai/vecs-python-client
There was a problem hiding this comment.
Tested this and found the content of the Markdown exactly matches.
Notes about the Copy button not directly related to this PR:
- I think the button should have
cursor-pointerapplied when I hover. - On first use, there is a significant pause between clicking the button and 'Copied' appears
- On screenreader, there isn't an indicator of copied after copying. There should be an aria-live. Gildas has been implementing that on other copy elements. You can see the our Code block for an example.
| @@ -0,0 +1,43 @@ | |||
| import type { FederatedContentSource } from '../types' | |||
| @@ -0,0 +1,43 @@ | |||
| import type { FederatedContentSource } from '../types' | |||
|
|
|||
| // We fetch these docs at build time from an external repo | |||
592f482 to
5711964
Compare
Braintrust eval report
|
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale * origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits) chore: simplify CPU messaging for compute sizes (#48109) chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037) feat: Add ai/python federated content and data (#48043) feat: Add ai-skills federated content and data (#48045) feat: Add deployment/ci federated content and data (#48041) fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126) fix(studio): stop stacking overlaid area series in report charts (#48034) Update Dev toolbar to support filtering feature flags (#48137) Update dev toolbar to support mocking org restrictions (#48136) feat: Add terraform federated content and data (#48010) Chore/add sessions database connections (#48094) fix(studio): guard panel collapse/resize on narrow viewports (#48098) Landing page agent focus (#47989) fix(studio): chip away explicit-tabindex ratchet debt (#48040) fix(studio): untangle nested buttons in editor tabs (#48101) fix(docs): broken link (#48117) docs: add VS Code to the AI coding agent plugin install picker (#48108) docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099) fix: preserve function responses (#47920) fix(assistant): SQL approval buttons do nothing (#48102) ...
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
Adds support for
docs/guides/ai/python/[...]routes to be fetched pre-build and provide markdown counterparts.How to test:
.mdto each route, the server should return a markdown version of each page.Summary by CodeRabbit